Skip to contentSkip to conversation

dma-buf: Deny copy-on-writes mmaps

PATCH In review Andi Shyti 4 participants 5 messages Oct 3, 2023 – Oct 4, 2023

Subsystems (2)
lore
Share & tools
lore

Andi Shyti

author
#0 lore raw

PATCH 1/1 dma-buf: Deny copy-on-writes mmaps

From: Chris Wilson <[email protected]>

Enforce that an mmap of a dmabuf is always using MAP_SHARED so that all access (both read and writes) using the device memory and not a local copy-on-write page in system memory.

---
 drivers/dma-buf/dma-buf.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
drivers/dma-buf/dma-buf.c +15 -0
index 21916bba77d5..1ec297241842 100644
@@ -25,6 +25,7 @@
 #include <linux/poll.h>
 #include <linux/dma-resv.h>
 #include <linux/mm.h>
+#include <linux/mman.h>
 #include <linux/mount.h>
 #include <linux/pseudo_fs.h>
 
@@ -128,6 +129,19 @@ static struct file_system_type dma_buf_fs_type = {
 	.kill_sb = kill_anon_super,
 };
 
+static unsigned long
+dma_buf_get_unmapped_area(struct file *file,
+			  unsigned long addr,
+			  unsigned long len,
+			  unsigned long pgoff,
+			  unsigned long flags)
+{
+	if ((flags & MAP_TYPE) == MAP_PRIVATE)
+		return -EINVAL;
+
+	return current->mm->get_unmapped_area(file, addr, len, pgoff, flags);
+}
+
 static int dma_buf_mmap_internal(struct file *file, struct vm_area_struct *vma)
 {
 	struct dma_buf *dmabuf;
@@ -508,6 +522,7 @@ static void dma_buf_show_fdinfo(struct seq_file *m, struct file *file)
 
 static const struct file_operations dma_buf_fops = {
 	.release	= dma_buf_file_release,
+	.get_unmapped_area = dma_buf_get_unmapped_area,
 	.mmap		= dma_buf_mmap_internal,
 	.llseek		= dma_buf_llseek,
 	.poll		= dma_buf_poll,
Signature · 1 line
2.40.1
#1 lore raw

[Intel-gfx] ✓ Fi.CI.BAT: success for dma-buf: Deny copy-on-writes mmaps

== Series Details ==

== Series Details ==

Series: dma-buf: Deny copy-on-writes mmaps
URL : https://patchwork.freedesktop.org/series/124580/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_13707 -> Patchwork_124580v1
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/index.html

Participating hosts (41 -> 39)
------------------------------

Missing (2): fi-snb-2520m fi-bsw-n3050

Known issues
------------

Here are the changes found in Patchwork_124580v1 that come from known issues:

### CI changes ###

#### Issues hit ####

* boot:
- fi-hsw-4770: [PASS][1] -> [FAIL][2] ([i915#8293])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/fi-hsw-4770/boot.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/fi-hsw-4770/boot.html

### IGT changes ###

#### Issues hit ####

* igt@gem_exec_suspend@basic-s0@smem:
- bat-dg2-9: [PASS][3] -> [INCOMPLETE][4] ([i915#9275])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/bat-dg2-9/igt@gem_exec_suspend@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/bat-dg2-9/igt@gem_exec_suspend@[email protected]

* igt@i915_selftest@live@hugepages:
- bat-mtlp-8: NOTRUN -> [ABORT][5] ([i915#9414])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/bat-mtlp-8/igt@i915_selftest@[email protected]

* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence:
- bat-dg2-11: NOTRUN -> [SKIP][6] ([i915#1845]) +3 other tests skip
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/bat-dg2-11/igt@[email protected]

#### Possible fixes ####

* igt@i915_selftest@live@mman:
- bat-rpls-1: [TIMEOUT][7] ([i915#6794] / [i915#7392]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/bat-rpls-1/igt@i915_selftest@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/bat-rpls-1/igt@i915_selftest@[email protected]

* igt@i915_selftest@live@requests:
- bat-mtlp-8: [ABORT][9] ([i915#9414]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/bat-mtlp-8/igt@i915_selftest@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/bat-mtlp-8/igt@i915_selftest@[email protected]

* igt@i915_suspend@basic-s2idle-without-i915:
- bat-rpls-1: [WARN][11] ([i915#8747]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/bat-rpls-1/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/bat-rpls-1/igt@[email protected]

* igt@kms_hdmi_inject@inject-audio:
- fi-kbl-guc: [FAIL][13] ([IGT#3]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/fi-kbl-guc/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/fi-kbl-guc/igt@[email protected]

[IGT#3]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/3
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#6794]: https://gitlab.freedesktop.org/drm/intel/issues/6794
[i915#7392]: https://gitlab.freedesktop.org/drm/intel/issues/7392
[i915#8293]: https://gitlab.freedesktop.org/drm/intel/issues/8293
[i915#8747]: https://gitlab.freedesktop.org/drm/intel/issues/8747
[i915#9275]: https://gitlab.freedesktop.org/drm/intel/issues/9275
[i915#9414]: https://gitlab.freedesktop.org/drm/intel/issues/9414

Build changes
-------------

* Linux: CI_DRM_13707 -> Patchwork_124580v1

CI-20190529: 20190529
CI_DRM_13707: 98ff3b34570d029d798a681667d9edf709be9697 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7510: a4b4a33d8312e4e30ca23d26bbd1758e56540e1d @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_124580v1: 98ff3b34570d029d798a681667d9edf709be9697 @ git://anongit.freedesktop.org/gfx-ci/linux

### Linux commits

c1832f94b9bb dma-buf: Deny copy-on-writes mmaps

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/index.html

#2 lore raw

[Intel-gfx] ✗ Fi.CI.IGT: failure for dma-buf: Deny copy-on-writes mmaps

In reply to Andi Shyti
== Series Details ==

== Series Details ==

Series: dma-buf: Deny copy-on-writes mmaps
URL : https://patchwork.freedesktop.org/series/124580/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_13707_full -> Patchwork_124580v1_full
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with Patchwork_124580v1_full absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes
introduced in Patchwork_124580v1_full, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/index.html

Participating hosts (9 -> 9)
------------------------------

No changes in participating hosts

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in Patchwork_124580v1_full:

### IGT changes ###

#### Possible regressions ####

* igt@i915_selftest@live@gt_pm:
- shard-rkl: [PASS][1] -> [DMESG-FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-rkl-4/igt@i915_selftest@live@gt_pm.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-rkl-4/igt@i915_selftest@live@gt_pm.html

* igt@kms_flip@flip-vs-expired-vblank@a-vga1:
- shard-snb: [PASS][3] -> [ABORT][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-snb6/igt@kms_flip@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-snb4/igt@kms_flip@[email protected]

* igt@kms_vblank@pipe-c-ts-continuation-suspend:
- shard-dg2: [PASS][5] -> [INCOMPLETE][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-dg2-2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@[email protected]

Known issues
------------

Here are the changes found in Patchwork_124580v1_full that come from known issues:

### CI changes ###

#### Possible fixes ####

* boot:
- shard-glk: ([PASS][7], [PASS][8], [PASS][9], [PASS][10], [PASS][11], [PASS][12], [PASS][13], [PASS][14], [FAIL][15], [PASS][16], [PASS][17], [PASS][18], [PASS][19], [PASS][20], [PASS][21], [PASS][22], [PASS][23], [PASS][24], [PASS][25], [PASS][26], [PASS][27], [PASS][28], [PASS][29], [PASS][30]) ([i915#8293]) -> ([PASS][31], [PASS][32], [PASS][33], [PASS][34], [PASS][35], [PASS][36], [PASS][37], [PASS][38], [PASS][39], [PASS][40], [PASS][41], [PASS][42], [PASS][43], [PASS][44], [PASS][45], [PASS][46], [PASS][47], [PASS][48], [PASS][49], [PASS][50], [PASS][51], [PASS][52], [PASS][53], [PASS][54], [PASS][55])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-glk9/boot.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-glk9/boot.html
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-glk9/boot.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-glk9/boot.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-glk8/boot.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-glk8/boot.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-glk8/boot.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-glk8/boot.html
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-glk5/boot.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-glk5/boot.html
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-glk4/boot.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-glk4/boot.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-glk4/boot.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-glk4/boot.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-glk3/boot.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-glk3/boot.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-glk3/boot.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-glk2/boot.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-glk2/boot.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-glk2/boot.html
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-glk2/boot.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-glk1/boot.html
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-glk1/boot.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-glk1/boot.html
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk5/boot.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk3/boot.html
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk3/boot.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk3/boot.html
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk4/boot.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk4/boot.html
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk4/boot.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk9/boot.html
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk9/boot.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk9/boot.html
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk9/boot.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk4/boot.html
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk8/boot.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk8/boot.html
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk8/boot.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk5/boot.html
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk5/boot.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk1/boot.html
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk1/boot.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk1/boot.html
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk1/boot.html
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk2/boot.html
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk2/boot.html
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk2/boot.html
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk3/boot.html

### IGT changes ###

#### Issues hit ####

* igt@device_reset@cold-reset-bound:
- shard-mtlp: NOTRUN -> [SKIP][56] ([i915#7701])
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-mtlp-5/igt@[email protected]

* igt@drm_fdinfo@virtual-busy-idle:
- shard-dg2: NOTRUN -> [SKIP][57] ([i915#8414])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@[email protected]

* igt@gem_caching@read-writes:
- shard-mtlp: NOTRUN -> [SKIP][58] ([i915#4873])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-mtlp-5/igt@[email protected]

* igt@gem_exec_fair@basic-pace@rcs0:
- shard-rkl: [PASS][59] -> [FAIL][60] ([i915#2842])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-rkl-6/igt@gem_exec_fair@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-rkl-2/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fence@submit67:
- shard-dg2: NOTRUN -> [SKIP][61] ([i915#4812])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@[email protected]

* igt@gem_exec_flush@basic-batch-kernel-default-uc:
- shard-mtlp: [PASS][62] -> [DMESG-FAIL][63] ([i915#8962])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-mtlp-5/igt@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-mtlp-4/igt@[email protected]

* igt@gem_exec_reloc@basic-gtt-read-noreloc:
- shard-dg2: NOTRUN -> [SKIP][64] ([i915#3281]) +4 other tests skip
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@[email protected]

* igt@gem_exec_reloc@basic-range:
- shard-mtlp: NOTRUN -> [SKIP][65] ([i915#3281])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-mtlp-5/igt@[email protected]

* igt@gem_exec_suspend@basic-s4-devices@lmem0:
- shard-dg2: NOTRUN -> [ABORT][66] ([i915#7975] / [i915#8213])
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-3/igt@gem_exec_suspend@[email protected]

* igt@gem_lmem_swapping@heavy-multi:
- shard-glk: NOTRUN -> [SKIP][67] ([fdo#109271] / [i915#4613]) +1 other test skip
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk2/igt@[email protected]

* igt@gem_mmap@bad-size:
- shard-dg2: NOTRUN -> [SKIP][68] ([i915#4083])
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-1/igt@[email protected]

* igt@gem_mmap@pf-nonblock:
- shard-mtlp: NOTRUN -> [SKIP][69] ([i915#4083])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-mtlp-5/igt@[email protected]

* igt@gem_mmap_gtt@zero-extend:
- shard-dg2: NOTRUN -> [SKIP][70] ([i915#4077]) +6 other tests skip
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@[email protected]

* igt@gem_partial_pwrite_pread@writes-after-reads-snoop:
- shard-dg2: NOTRUN -> [SKIP][71] ([i915#3282]) +4 other tests skip
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-3/igt@[email protected]

* igt@gem_readwrite@read-bad-handle:
- shard-mtlp: NOTRUN -> [SKIP][72] ([i915#3282])
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-mtlp-5/igt@[email protected]

* igt@gem_softpin@noreloc-s3:
- shard-dg2: NOTRUN -> [FAIL][73] ([fdo#103375]) +1 other test fail
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@[email protected]

* igt@gem_tiled_partial_pwrite_pread@reads:
- shard-mtlp: NOTRUN -> [SKIP][74] ([i915#4077])
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-mtlp-5/igt@[email protected]

* igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy:
- shard-dg2: NOTRUN -> [SKIP][75] ([i915#3297] / [i915#4880])
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@[email protected]

* igt@gen7_exec_parse@batch-without-end:
- shard-dg2: NOTRUN -> [SKIP][76] ([fdo#109289]) +1 other test skip
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@[email protected]

* igt@gen9_exec_parse@bb-start-out:
- shard-dg2: NOTRUN -> [SKIP][77] ([i915#2856])
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@[email protected]

* igt@gen9_exec_parse@unaligned-access:
- shard-mtlp: NOTRUN -> [SKIP][78] ([i915#2856])
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-mtlp-5/igt@[email protected]

* igt@i915_module_load@reload-with-fault-injection:
- shard-dg2: [PASS][79] -> [DMESG-WARN][80] ([i915#8617])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-dg2-5/igt@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@[email protected]
- shard-mtlp: [PASS][81] -> [ABORT][82] ([i915#8489] / [i915#8668])
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-mtlp-3/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-mtlp-6/igt@[email protected]

* igt@i915_pm_freq_api@freq-suspend@gt0:
- shard-dg2: NOTRUN -> [INCOMPLETE][83] ([i915#9407])
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-1/igt@i915_pm_freq_api@[email protected]

* igt@i915_pm_rpm@dpms-non-lpsp:
- shard-rkl: [PASS][84] -> [SKIP][85] ([i915#1397]) +4 other tests skip
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-rkl-2/igt@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-rkl-7/igt@[email protected]

* igt@i915_pm_rpm@modeset-lpsp-stress:
- shard-dg2: NOTRUN -> [SKIP][86] ([i915#1397])
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-1/igt@[email protected]

* igt@i915_pm_rps@thresholds-idle-park@gt0:
- shard-dg2: NOTRUN -> [SKIP][87] ([i915#8925])
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@i915_pm_rps@[email protected]

* igt@kms_async_flips@async-flip-with-page-flip-events@pipe-a-hdmi-a-3-4-mc_ccs:
- shard-dg2: NOTRUN -> [SKIP][88] ([i915#8502] / [i915#8709]) +11 other tests skip
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-1/igt@kms_async_flips@async-flip-with-page-flip-events@pipe-a-hdmi-a-3-4-mc_ccs.html

* igt@kms_async_flips@async-flip-with-page-flip-events@pipe-a-hdmi-a-3-y-rc_ccs:
- shard-dg1: NOTRUN -> [SKIP][89] ([i915#8502]) +7 other tests skip
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg1-12/igt@kms_async_flips@async-flip-with-page-flip-events@pipe-a-hdmi-a-3-y-rc_ccs.html

* igt@kms_async_flips@crc@pipe-c-hdmi-a-1:
- shard-dg1: NOTRUN -> [FAIL][90] ([i915#8247]) +3 other tests fail
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg1-19/igt@kms_async_flips@[email protected]

* igt@kms_big_fb@y-tiled-32bpp-rotate-0:
- shard-dg2: NOTRUN -> [SKIP][91] ([i915#5190]) +5 other tests skip
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@[email protected]

* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip:
- shard-tglu: [PASS][92] -> [FAIL][93] ([i915#3743]) +1 other test fail
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-tglu-7/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip.html
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-tglu-7/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip.html

* igt@kms_big_fb@yf-tiled-8bpp-rotate-90:
- shard-dg2: NOTRUN -> [SKIP][94] ([i915#4538] / [i915#5190]) +1 other test skip
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@[email protected]

* igt@kms_ccs@pipe-a-crc-primary-rotation-180-4_tiled_dg2_rc_ccs_cc:
- shard-mtlp: NOTRUN -> [SKIP][95] ([i915#5354] / [i915#6095])
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-mtlp-5/igt@kms_ccs@pipe-a-crc-primary-rotation-180-4_tiled_dg2_rc_ccs_cc.html

* igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs:
- shard-glk: NOTRUN -> [SKIP][96] ([fdo#109271] / [i915#3886]) +4 other tests skip
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk8/igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-c-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc:
- shard-dg2: NOTRUN -> [SKIP][97] ([i915#3689] / [i915#3886] / [i915#5354]) +1 other test skip
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@kms_ccs@pipe-c-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc.html

* igt@kms_ccs@pipe-d-bad-aux-stride-y_tiled_gen12_mc_ccs:
- shard-dg2: NOTRUN -> [SKIP][98] ([i915#3689] / [i915#5354]) +11 other tests skip
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-1/igt@kms_ccs@pipe-d-bad-aux-stride-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-d-missing-ccs-buffer-4_tiled_mtl_mc_ccs:
- shard-dg2: NOTRUN -> [SKIP][99] ([i915#5354]) +19 other tests skip
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-1/igt@kms_ccs@pipe-d-missing-ccs-buffer-4_tiled_mtl_mc_ccs.html

* igt@kms_cdclk@mode-transition:
- shard-glk: NOTRUN -> [SKIP][100] ([fdo#109271]) +98 other tests skip
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk8/igt@[email protected]

* igt@kms_cdclk@plane-scaling@pipe-c-hdmi-a-3:
- shard-dg2: NOTRUN -> [SKIP][101] ([i915#4087]) +3 other tests skip
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-7/igt@kms_cdclk@[email protected]

* igt@kms_chamelium_color@ctm-negative:
- shard-mtlp: NOTRUN -> [SKIP][102] ([fdo#111827])
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-mtlp-5/igt@[email protected]

* igt@kms_chamelium_hpd@hdmi-hpd:
- shard-dg2: NOTRUN -> [SKIP][103] ([i915#7828]) +4 other tests skip
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-3/igt@[email protected]

* igt@kms_chamelium_hpd@hdmi-hpd-with-enabled-mode:
- shard-mtlp: NOTRUN -> [SKIP][104] ([i915#7828]) +1 other test skip
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-mtlp-5/igt@[email protected]

* igt@kms_content_protection@atomic@pipe-a-dp-4:
- shard-dg2: NOTRUN -> [TIMEOUT][105] ([i915#7173]) +1 other test timeout
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@kms_content_protection@[email protected]

* igt@kms_content_protection@dp-mst-lic-type-0:
- shard-mtlp: NOTRUN -> [SKIP][106] ([i915#3299])
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-mtlp-5/igt@[email protected]

* igt@kms_content_protection@dp-mst-type-0:
- shard-dg2: NOTRUN -> [SKIP][107] ([i915#3299])
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@[email protected]

* igt@kms_content_protection@uevent:
- shard-dg2: NOTRUN -> [SKIP][108] ([i915#7118])
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-7/igt@[email protected]

* igt@kms_cursor_legacy@cursorb-vs-flipb-varying-size:
- shard-dg2: NOTRUN -> [SKIP][109] ([fdo#109274] / [i915#5354]) +4 other tests skip
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@[email protected]

* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size:
- shard-apl: [PASS][110] -> [FAIL][111] ([i915#2346])
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-apl1/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-apl4/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
- shard-glk: [PASS][112] -> [FAIL][113] ([i915#2346])
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-glk8/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk4/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html

* igt@kms_display_modes@mst-extended-mode-negative:
- shard-dg2: NOTRUN -> [SKIP][114] ([i915#8588])
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@[email protected]

* igt@kms_dither@fb-8bpc-vs-panel-6bpc@pipe-a-hdmi-a-2:
- shard-rkl: NOTRUN -> [SKIP][115] ([i915#3804])
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-rkl-2/igt@kms_dither@[email protected]

* igt@kms_dither@fb-8bpc-vs-panel-8bpc:
- shard-dg2: NOTRUN -> [SKIP][116] ([i915#3555]) +1 other test skip
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-6/igt@[email protected]

* igt@kms_flip@2x-absolute-wf_vblank:
- shard-dg2: NOTRUN -> [SKIP][117] ([fdo#109274]) +2 other tests skip
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@kms_flip@2x-absolute-wf_vblank.html

* igt@kms_flip@2x-flip-vs-rmfb:
- shard-mtlp: NOTRUN -> [SKIP][118] ([i915#3637]) +1 other test skip
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-mtlp-5/igt@[email protected]

* igt@kms_flip@flip-vs-suspend-interruptible@a-vga1:
- shard-snb: NOTRUN -> [DMESG-WARN][119] ([i915#8841]) +4 other tests dmesg-warn
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-snb4/igt@kms_flip@[email protected]

* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-downscaling@pipe-a-valid-mode:
- shard-dg2: NOTRUN -> [SKIP][120] ([i915#2672]) +2 other tests skip
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-1/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-downscaling@pipe-a-valid-mode.html

* igt@kms_flip_scaled_crc@flip-64bpp-xtile-to-32bpp-xtile-downscaling@pipe-a-default-mode:
- shard-mtlp: NOTRUN -> [SKIP][121] ([i915#3555] / [i915#8810])
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-mtlp-5/igt@kms_flip_scaled_crc@flip-64bpp-xtile-to-32bpp-xtile-downscaling@pipe-a-default-mode.html

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-pgflip-blt:
- shard-dg2: [PASS][122] -> [FAIL][123] ([i915#6880]) +1 other test fail
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-dg2-7/igt@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-shrfb-draw-mmap-wc:
- shard-dg2: NOTRUN -> [SKIP][124] ([i915#8708]) +12 other tests skip
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-3/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-shrfb-draw-mmap-wc.html

* igt@kms_frontbuffer_tracking@psr-indfb-scaledprimary:
- shard-dg2: NOTRUN -> [SKIP][125] ([i915#3458]) +5 other tests skip
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-1/igt@[email protected]

* igt@kms_hdr@bpc-switch:
- shard-rkl: NOTRUN -> [SKIP][126] ([i915#3555] / [i915#8228])
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-rkl-7/igt@[email protected]

* igt@kms_hdr@invalid-metadata-sizes:
- shard-dg2: NOTRUN -> [SKIP][127] ([i915#3555] / [i915#8228])
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-6/igt@[email protected]

* igt@kms_pipe_crc_basic@suspend-read-crc@pipe-a-dp-1:
- shard-apl: [PASS][128] -> [INCOMPLETE][129] ([i915#9392])
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-apl2/igt@kms_pipe_crc_basic@[email protected]
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-apl6/igt@kms_pipe_crc_basic@[email protected]

* igt@kms_plane_scaling@intel-max-src-size@pipe-a-dp-4:
- shard-dg2: NOTRUN -> [FAIL][130] ([i915#8292])
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@kms_plane_scaling@[email protected]

* igt@kms_plane_scaling@intel-max-src-size@pipe-a-hdmi-a-2:
- shard-rkl: NOTRUN -> [FAIL][131] ([i915#8292])
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-rkl-1/igt@kms_plane_scaling@[email protected]

* igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation@pipe-a-hdmi-a-1:
- shard-rkl: NOTRUN -> [SKIP][132] ([i915#5176]) +1 other test skip
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-rkl-7/igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation@pipe-a-hdmi-a-1.html

* igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation@pipe-a-hdmi-a-3:
- shard-dg1: NOTRUN -> [SKIP][133] ([i915#5176]) +3 other tests skip
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg1-12/igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation@pipe-a-hdmi-a-3.html

* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-factor-0-25@pipe-c-hdmi-a-2:
- shard-dg2: NOTRUN -> [SKIP][134] ([i915#5235]) +15 other tests skip
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-2/igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-factor-0-25@pipe-c-hdmi-a-2.html

* igt@kms_plane_scaling@planes-downscale-factor-0-5-unity-scaling@pipe-b-vga-1:
- shard-snb: NOTRUN -> [SKIP][135] ([fdo#109271]) +57 other tests skip
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-snb5/igt@kms_plane_scaling@[email protected]

* igt@kms_plane_scaling@planes-unity-scaling-downscale-factor-0-25@pipe-b-hdmi-a-2:
- shard-rkl: NOTRUN -> [SKIP][136] ([i915#5235]) +5 other tests skip
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-rkl-4/igt@kms_plane_scaling@[email protected]

* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-d-hdmi-a-1:
- shard-dg1: NOTRUN -> [SKIP][137] ([i915#5235]) +23 other tests skip
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg1-19/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-d-hdmi-a-1.html

* igt@kms_prime@d3hot:
- shard-dg2: NOTRUN -> [SKIP][138] ([i915#6524] / [i915#6805])
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@[email protected]

* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area:
- shard-glk: NOTRUN -> [SKIP][139] ([fdo#109271] / [i915#658]) +1 other test skip
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-glk2/igt@[email protected]

* igt@kms_psr@no_drrs:
- shard-dg2: NOTRUN -> [SKIP][140] ([i915#1072]) +2 other tests skip
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-1/igt@kms_psr@no_drrs.html

* igt@kms_rotation_crc@primary-y-tiled-reflect-x-270:
- shard-dg2: NOTRUN -> [SKIP][141] ([i915#4235] / [i915#5190])
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@[email protected]

* igt@kms_writeback@writeback-fb-id:
- shard-dg2: NOTRUN -> [SKIP][142] ([i915#2437])
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@[email protected]

* igt@perf_pmu@frequency@gt0:
- shard-dg2: NOTRUN -> [FAIL][143] ([i915#6806])
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@perf_pmu@[email protected]

* igt@prime_vgem@basic-read:
- shard-mtlp: NOTRUN -> [SKIP][144] ([i915#3708])
[144]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-mtlp-5/igt@[email protected]

* igt@v3d/v3d_create_bo@create-bo-0:
- shard-dg2: NOTRUN -> [SKIP][145] ([i915#2575]) +4 other tests skip
[145]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-1/igt@v3d/[email protected]

* igt@vc4/vc4_perfmon@create-two-perfmon:
- shard-mtlp: NOTRUN -> [SKIP][146] ([i915#7711])
[146]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-mtlp-5/igt@vc4/[email protected]

* igt@vc4/vc4_tiling@get-bad-flags:
- shard-dg2: NOTRUN -> [SKIP][147] ([i915#7711]) +2 other tests skip
[147]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@vc4/[email protected]

#### Possible fixes ####

* igt@drm_fdinfo@most-busy-idle-check-all@rcs0:
- shard-rkl: [FAIL][148] ([i915#7742]) -> [PASS][149]
[148]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-rkl-7/igt@drm_fdinfo@[email protected]
[149]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-rkl-4/igt@drm_fdinfo@[email protected]

* igt@gem_ctx_exec@basic-nohangcheck:
- shard-rkl: [FAIL][150] ([i915#6268]) -> [PASS][151]
[150]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-rkl-2/igt@[email protected]
[151]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-rkl-7/igt@[email protected]

* igt@gem_eio@kms:
- shard-dg1: [FAIL][152] ([i915#5784]) -> [PASS][153]
[152]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-dg1-15/igt@[email protected]
[153]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg1-16/igt@[email protected]

* igt@gem_exec_schedule@noreorder-corked@ccs0:
- shard-mtlp: [DMESG-WARN][154] ([i915#8962]) -> [PASS][155]
[154]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-mtlp-4/igt@gem_exec_schedule@[email protected]
[155]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-mtlp-5/igt@gem_exec_schedule@[email protected]

* igt@gem_exec_schedule@noreorder-corked@vcs0:
- shard-mtlp: [DMESG-FAIL][156] ([i915#8962]) -> [PASS][157] +1 other test pass
[156]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-mtlp-4/igt@gem_exec_schedule@[email protected]
[157]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-mtlp-5/igt@gem_exec_schedule@[email protected]

* igt@i915_pm_rc6_residency@rc6-idle@rcs0:
- shard-dg1: [FAIL][158] ([i915#3591]) -> [PASS][159]
[158]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-dg1-16/igt@i915_pm_rc6_residency@[email protected]
[159]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg1-12/igt@i915_pm_rc6_residency@[email protected]

* igt@i915_pm_rpm@dpms-mode-unset-non-lpsp:
- shard-rkl: [SKIP][160] ([i915#1397]) -> [PASS][161]
[160]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-rkl-7/igt@[email protected]
[161]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-rkl-1/igt@[email protected]

* igt@i915_pm_rpm@modeset-non-lpsp-stress:
- shard-dg1: [SKIP][162] ([i915#1397]) -> [PASS][163]
[162]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-dg1-19/igt@[email protected]
[163]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg1-18/igt@[email protected]

* igt@i915_pm_rps@reset:
- shard-snb: [INCOMPLETE][164] ([i915#7790]) -> [PASS][165]
[164]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-snb7/igt@[email protected]
[165]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-snb4/igt@[email protected]

* igt@i915_suspend@debugfs-reader:
- shard-dg2: [FAIL][166] ([fdo#103375]) -> [PASS][167] +2 other tests pass
[166]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-dg2-5/igt@[email protected]
[167]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-3/igt@[email protected]

* igt@i915_suspend@sysfs-reader:
- shard-dg2: [INCOMPLETE][168] ([i915#4817]) -> [PASS][169]
[168]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-dg2-7/igt@[email protected]
[169]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-11/igt@[email protected]

* igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip:
- shard-tglu: [FAIL][170] ([i915#3743]) -> [PASS][171] +1 other test pass
[170]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-tglu-3/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip.html
[171]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-tglu-6/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip.html

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-pwrite:
- shard-dg2: [FAIL][172] ([i915#6880]) -> [PASS][173] +1 other test pass
[172]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-dg2-7/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-pwrite.html
[173]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-3/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-pwrite.html

* {igt@kms_pm_dc@dc6-dpms}:
- shard-tglu: [FAIL][174] ([i915#9295]) -> [PASS][175]
[174]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-tglu-5/igt@[email protected]
[175]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-tglu-10/igt@[email protected]

* {igt@kms_pm_lpsp@kms-lpsp@kms-lpsp-hdmi-a}:
- shard-dg1: [SKIP][176] ([i915#1937]) -> [PASS][177]
[176]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-dg1-18/igt@kms_pm_lpsp@[email protected]
[177]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg1-19/igt@kms_pm_lpsp@[email protected]

* igt@kms_universal_plane@cursor-fb-leak-pipe-a:
- shard-apl: [FAIL][178] ([i915#9196]) -> [PASS][179]
[178]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-apl2/igt@[email protected]
[179]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-apl3/igt@[email protected]

* igt@kms_universal_plane@cursor-fb-leak-pipe-b:
- shard-rkl: [FAIL][180] ([i915#9196]) -> [PASS][181]
[180]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-rkl-6/igt@[email protected]
[181]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-rkl-1/igt@[email protected]

* igt@kms_universal_plane@cursor-fb-leak-pipe-c:
- shard-mtlp: [FAIL][182] ([i915#9196]) -> [PASS][183]
[182]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-mtlp-8/igt@[email protected]
[183]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-mtlp-6/igt@[email protected]

* igt@perf_pmu@render-node-busy@vcs0:
- shard-mtlp: [ABORT][184] ([i915#9262]) -> [PASS][185]
[184]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-mtlp-4/igt@perf_pmu@[email protected]
[185]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-mtlp-5/igt@perf_pmu@[email protected]

#### Warnings ####

* igt@i915_pm_rc6_residency@rc6-idle@bcs0:
- shard-tglu: [FAIL][186] ([i915#2681] / [i915#3591]) -> [WARN][187] ([i915#2681])
[186]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-tglu-8/igt@i915_pm_rc6_residency@[email protected]
[187]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-tglu-5/igt@i915_pm_rc6_residency@[email protected]

* igt@i915_pm_rc6_residency@rc6-idle@rcs0:
- shard-tglu: [WARN][188] ([i915#2681]) -> [FAIL][189] ([i915#2681] / [i915#3591])
[188]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-tglu-8/igt@i915_pm_rc6_residency@[email protected]
[189]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-tglu-5/igt@i915_pm_rc6_residency@[email protected]

* igt@kms_fbcon_fbt@psr-suspend:
- shard-rkl: [SKIP][190] ([fdo#110189] / [i915#3955]) -> [SKIP][191] ([i915#3955]) +1 other test skip
[190]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-rkl-1/igt@[email protected]
[191]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-rkl-4/igt@[email protected]

* igt@kms_force_connector_basic@force-load-detect:
- shard-rkl: [SKIP][192] ([fdo#109285] / [i915#4098]) -> [SKIP][193] ([fdo#109285])
[192]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-rkl-1/igt@[email protected]
[193]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-rkl-6/igt@[email protected]

* igt@kms_psr@sprite_plane_onoff:
- shard-dg1: [SKIP][194] ([i915#1072]) -> [SKIP][195] ([i915#1072] / [i915#4078]) +1 other test skip
[194]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-dg1-19/igt@kms_psr@sprite_plane_onoff.html
[195]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg1-18/igt@kms_psr@sprite_plane_onoff.html

* igt@prime_mmap@test_aperture_limit@test_aperture_limit-smem:
- shard-dg2: [CRASH][196] ([i915#9351]) -> [INCOMPLETE][197] ([i915#5493])
[196]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13707/shard-dg2-1/igt@prime_mmap@test_aperture_limit@test_aperture_limit-smem.html
[197]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/shard-dg2-6/igt@prime_mmap@test_aperture_limit@test_aperture_limit-smem.html

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1937]: https://gitlab.freedesktop.org/drm/intel/issues/1937
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3591]: https://gitlab.freedesktop.org/drm/intel/issues/3591
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3743]: https://gitlab.freedesktop.org/drm/intel/issues/3743
[i915#3804]: https://gitlab.freedesktop.org/drm/intel/issues/3804
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4087]: https://gitlab.freedesktop.org/drm/intel/issues/4087
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4235]: https://gitlab.freedesktop.org/drm/intel/issues/4235
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4817]: https://gitlab.freedesktop.org/drm/intel/issues/4817
[i915#4873]: https://gitlab.freedesktop.org/drm/intel/issues/4873
[i915#4880]: https://gitlab.freedesktop.org/drm/intel/issues/4880
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5190]: https://gitlab.freedesktop.org/drm/intel/issues/5190
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#5493]: https://gitlab.freedesktop.org/drm/intel/issues/5493
[i915#5784]: https://gitlab.freedesktop.org/drm/intel/issues/5784
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6805]: https://gitlab.freedesktop.org/drm/intel/issues/6805
[i915#6806]: https://gitlab.freedesktop.org/drm/intel/issues/6806
[i915#6880]: https://gitlab.freedesktop.org/drm/intel/issues/6880
[i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118
[i915#7173]: https://gitlab.freedesktop.org/drm/intel/issues/7173
[i915#7701]: https://gitlab.freedesktop.org/drm/intel/issues/7701
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7742]: https://gitlab.freedesktop.org/drm/intel/issues/7742
[i915#7790]: https://gitlab.freedesktop.org/drm/intel/issues/7790
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7975]: https://gitlab.freedesktop.org/drm/intel/issues/7975
[i915#8213]: https://gitlab.freedesktop.org/drm/intel/issues/8213
[i915#8228]: https://gitlab.freedesktop.org/drm/intel/issues/8228
[i915#8247]: https://gitlab.freedesktop.org/drm/intel/issues/8247
[i915#8292]: https://gitlab.freedesktop.org/drm/intel/issues/8292
[i915#8293]: https://gitlab.freedesktop.org/drm/intel/issues/8293
[i915#8414]: https://gitlab.freedesktop.org/drm/intel/issues/8414
[i915#8489]: https://gitlab.freedesktop.org/drm/intel/issues/8489
[i915#8502]: https://gitlab.freedesktop.org/drm/intel/issues/8502
[i915#8588]: https://gitlab.freedesktop.org/drm/intel/issues/8588
[i915#8617]: https://gitlab.freedesktop.org/drm/intel/issues/8617
[i915#8668]: https://gitlab.freedesktop.org/drm/intel/issues/8668
[i915#8708]: https://gitlab.freedesktop.org/drm/intel/issues/8708
[i915#8709]: https://gitlab.freedesktop.org/drm/intel/issues/8709
[i915#8810]: https://gitlab.freedesktop.org/drm/intel/issues/8810
[i915#8841]: https://gitlab.freedesktop.org/drm/intel/issues/8841
[i915#8925]: https://gitlab.freedesktop.org/drm/intel/issues/8925
[i915#8962]: https://gitlab.freedesktop.org/drm/intel/issues/8962
[i915#9196]: https://gitlab.freedesktop.org/drm/intel/issues/9196
[i915#9226]: https://gitlab.freedesktop.org/drm/intel/issues/9226
[i915#9227]: https://gitlab.freedesktop.org/drm/intel/issues/9227
[i915#9261]: https://gitlab.freedesktop.org/drm/intel/issues/9261
[i915#9262]: https://gitlab.freedesktop.org/drm/intel/issues/9262
[i915#9295]: https://gitlab.freedesktop.org/drm/intel/issues/9295
[i915#9351]: https://gitlab.freedesktop.org/drm/intel/issues/9351
[i915#9392]: https://gitlab.freedesktop.org/drm/intel/issues/9392
[i915#9407]: https://gitlab.freedesktop.org/drm/intel/issues/9407
[i915#9423]: https://gitlab.freedesktop.org/drm/intel/issues/9423

Build changes
-------------

* Linux: CI_DRM_13707 -> Patchwork_124580v1
* Piglit: piglit_4509 -> None

CI-20190529: 20190529
CI_DRM_13707: 98ff3b34570d029d798a681667d9edf709be9697 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7510: a4b4a33d8312e4e30ca23d26bbd1758e56540e1d @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_124580v1: 98ff3b34570d029d798a681667d9edf709be9697 @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_124580v1/index.html

#3 lore raw
In reply to Andi Shyti
kernel test robot noticed the following build errors:

Hi Andi,

kernel test robot noticed the following build errors:

[auto build test ERROR on drm-misc/drm-misc-next]
[also build test ERROR on linus/master v6.6-rc4 next-20231003] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Andi-Shyti/dma-buf-Deny-copy-on-writes-mmaps/20231004-070556
base:   git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
patch link:    https://lore.kernel.org/r/20231003230332.513051-1-andi.shyti%40linux.intel.com
patch subject: [PATCH] dma-buf: Deny copy-on-writes mmaps
config: sh-allyesconfig (https://download.01.org/0day-ci/archive/20231004/[email protected]/config)
compiler: sh4-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231004/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

drivers/dma-buf/dma-buf.c: In function 'dma_buf_get_unmapped_area':

>> drivers/dma-buf/dma-buf.c:142:27: error: 'struct mm_struct' has no member named 'get_unmapped_area'
     142 |         return current->mm->get_unmapped_area(file, addr, len, pgoff, flags);
         |                           ^~
   drivers/dma-buf/dma-buf.c:143:1: error: control reaches end of non-void function [-Werror=return-type]
     143 | }
         | ^

cc1: some warnings being treated as errors

vim +142 drivers/dma-buf/dma-buf.c

131
132 static unsigned long
133 dma_buf_get_unmapped_area(struct file *file,

   134				  unsigned long addr,
   135				  unsigned long len,
   136				  unsigned long pgoff,
   137				  unsigned long flags)
   138	{
   139		if ((flags & MAP_TYPE) == MAP_PRIVATE)
   140			return -EINVAL;
   141	
 > 142		return current->mm->get_unmapped_area(file, addr, len, pgoff, flags);

143 }
144

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
maintainer
#4 lore raw
In reply to Andi Shyti

Am 04.10.23 um 01:03 schrieb Andi Shyti:

Quoted 5 lines

From: Chris Wilson <[email protected]>

Enforce that an mmap of a dmabuf is always using MAP_SHARED so that all access (both read and writes) using the device memory and not a local copy-on-write page in system memory.

As much as I would like to do this I fear that this won't work.

First of all interesting approach to do this in .get_unmapped_area. The standard handling is to have the check like "if (is_cow_mapping(vma->vm_flags)) return -EINVAL;", see TTM for example.

Then IIRC we already tried this and had to revert it because it breaks the UAPI. Some broken applications actually use shared mappings (but not really cow) and we would like to keep them working.

Regards,
Christian.

Quoted 47 lines
---
  drivers/dma-buf/dma-buf.c | 15 +++++++++++++++
  1 file changed, 15 insertions(+)
drivers/dma-buf/dma-buf.c +15 -0
index 21916bba77d5..1ec297241842 100644
@@ -25,6 +25,7 @@
  #include <linux/poll.h>
  #include <linux/dma-resv.h>
  #include <linux/mm.h>
+#include <linux/mman.h>
  #include <linux/mount.h>
  #include <linux/pseudo_fs.h>
 
@@ -128,6 +129,19 @@ static struct file_system_type dma_buf_fs_type = {
  	.kill_sb = kill_anon_super,
  };
 
+static unsigned long
+dma_buf_get_unmapped_area(struct file *file,
+			  unsigned long addr,
+			  unsigned long len,
+			  unsigned long pgoff,
+			  unsigned long flags)
+{
+	if ((flags & MAP_TYPE) == MAP_PRIVATE)
+		return -EINVAL;
+
+	return current->mm->get_unmapped_area(file, addr, len, pgoff, flags);
+}
+
  static int dma_buf_mmap_internal(struct file *file, struct vm_area_struct *vma)
  {
  	struct dma_buf *dmabuf;
@@ -508,6 +522,7 @@ static void dma_buf_show_fdinfo(struct seq_file *m, struct file *file)
 
  static const struct file_operations dma_buf_fops = {
  	.release	= dma_buf_file_release,
+	.get_unmapped_area = dma_buf_get_unmapped_area,
  	.mmap		= dma_buf_mmap_internal,
  	.llseek		= dma_buf_llseek,
  	.poll		= dma_buf_poll,