Skip to contentSkip to conversation

Support to assemble CB kernel for gen7

PATCH Superseded Akeem G Abodunrin 3 participants 6 messages Feb 25, 2020 – Feb 26, 2020

v5 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

v5 cover Support to assemble CB kernel for gen7

Summary
-------
This is patch adds support to assemble CB kernel for gen7 and gen7.5 devices. It is needed for "Security mitigation for Intel Gen7/7.5 HWs" Intel ID: PSIRT-TA-201910-001/CVEID: CVE-2019-14615.

Additional Note
---------------
The changes in the IGT GPU tool require latest Mesa tool to work correctly. Generated CB kernel are imported to i915 driver, without need for additional modifications. Users can use assembly sources provided with this patch, and Mesa/igt to assemble CB kernel for verifications.

Akeem G Abodunrin (1):
tools/generate_cb_buffer: Add script to assemble CB kernel

 scripts/asm_eu_kernel.sh                | 158 ++++++++++++++++++++++++
 tools/assembly_source/hsw_clear_buf.asm | 141 +++++++++++++++++++++
 tools/assembly_source/ivb_clear_buf.asm | 139 +++++++++++++++++++++
 3 files changed, 438 insertions(+)
 create mode 100755 scripts/asm_eu_kernel.sh
 create mode 100644 tools/assembly_source/hsw_clear_buf.asm
 create mode 100644 tools/assembly_source/ivb_clear_buf.asm
Signature · 6 lines
2.20.1

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#1 lore raw

PATCH v5 1/1 tools/generate_cb_buffer: Add script to assemble CB kernel

This patch adds script and applicable assembly sources, so that we can use igt to assemble Clear Batch Buffer kernel for gen7 and gen7.5 devices - Resultant header files would be imported to i915, and used as they are...

With this patch, user need to have mesa configured on their platform, before igt could be used to achieve the purpose of assembling the kernel from source.

This is needed for "Security mitigation for Intel Gen7/7.5 HWs" Intel ID: PSIRT-TA-201910-001/CVEID: CVE-2019-14615

v2: Addressed formatting, -g option and other minor issues (Petri)
v3: Update script due to suggested changes in i915, and Mesa tool
v4: Update help comment with Mesa build option with meson (Petri)
v5: Modify how user specify i965_asm - script now takes binary, instead of Mesa tool source directory (Ville).

Cc Ville Syrjälä <[email protected]>
Cc Jani Nikula <[email protected]>
Cc Joonas Lahtinen <[email protected]>
Cc Petri Latvala <[email protected]>
Cc Bloomfield Jon <[email protected]>
---
 scripts/asm_eu_kernel.sh                | 158 ++++++++++++++++++++++++
 tools/assembly_source/hsw_clear_buf.asm | 141 +++++++++++++++++++++
 tools/assembly_source/ivb_clear_buf.asm | 139 +++++++++++++++++++++
 3 files changed, 438 insertions(+)
 create mode 100755 scripts/asm_eu_kernel.sh
 create mode 100644 tools/assembly_source/hsw_clear_buf.asm
 create mode 100644 tools/assembly_source/ivb_clear_buf.asm
scripts/asm_eu_kernel.sh new file +158 -0
new file mode 100755
index 00000000..ddf44b38
@@ -0,0 +1,158 @@
+#!/bin/bash
+#
+# SPDX-License-Identifier: MIT
+#
+# Copyright © 2020 Intel Corporation
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the "Software"),
+# to deal in the Software without restriction, including without limitation
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,
+# and/or sell copies of the Software, and to permit persons to whom the
+# Software is furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice (including the next
+# paragraph) shall be included in all copies or substantial portions of the
+# Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+# IN THE SOFTWARE.
+
+export ASSEMBLY_SOURCE=./tools/assembly_source
+
+function get_help {
+        echo "Usage:    asm_eu_kernel.sh [options]"
+        echo "Note: hsw_clear_kernel.c/ivb_clear_kernel.c automatically generated by this script should never be modified - it would be imported to i915, to use as it is..."
+        echo " "
+        echo "Please make sure your Mesa tool is compiled with "-Dtools=intel" and "-Ddri-drivers=i965", and run this script from IGT source root directory"
+        echo " "
+        echo "Options are:"
+        echo " -h                       display this help message, and exit"
+        echo " -g=platform              generation of device: use "hsw" for gen7.5, and "ivb" for gen7 devices"
+        echo " -o=name_of_file          output file to store Mesa assembled c-literal for the device - If none specified, default file will be used - ivb/hsw-cb_assembled"
+        echo " -m=mesa                  Path to Mesa i965_asm binary"
+        echo " "
+        echo " Usage example: \"scripts/asm_eu_kernel.sh -g hsw -o hsw_clear_buffer.h -m /path/to/Mesa/i965_asm/binary\""
+}
+
+function include_array # $1=array_name
+{
+	echo "static const u32 $(basename $1)_clear_kernel[] = {"
+}
+function prefix_header # $1=filename $2=comment
+{
+	array_name=$(include_array $1)
+
+	cat <<EOF
+// SPDX-License-Identifier: MIT
+/*
+ * Copyright © 2020 Intel Corporation
+ *
+ * Generated by: IGT Gpu Tools on $(date)
+ */
+
+$array_name
+EOF
+}
+
+function postfix_footer # filename
+{
+	cat <<EOF
+};
+EOF
+}
+
+function check_output_file #check output file
+{
+        if [ "x$output_file" != "x" ]; then
+                if [ -f "$output_file" ]; then
+                        echo -e "Warning: The \"$output_file\" file already exist - choose another file\n"
+                        get_help
+                        exit 1
+                fi
+        else
+                # It is okay to overwrite default file created
+                echo -e "Output file not specified - using default file \"$gen_device-cb_assembled\"\n"
+                output_file="$gen_device-cb_assembled"
+        fi
+}
+function asm_cb_kernel # as-root <args>
+{
+        check_output_file
+
+        # Using i965_asm tool to assemble hex file from assembly source
+        $mesa_i965_asm -g $gen_device -t c_literal  $input_asm_source -o $output_file
+
+        if [ ! -f ${output_file} ]; then
+                echo -e "Failed to assemble CB Kernel with Mesa tool\n"
+                get_help
+                exit 1
+        fi
+
+        # Generate header file
+        if [ "$gen_device" == "hsw" ]; then
+                echo "Generating gen7.5 CB Kernel assembled file \"hsw_clear_kernel.c\" for i915 driver..."
+
+                i915_filename=hsw_clear_kernel.c
+                prefix_header $gen_device > $i915_filename
+                cat $output_file >> $i915_filename
+                postfix_footer $i915_filename >> $i915_filename
+
+        elif [ "$gen_device" == "ivb" ]; then
+                echo "Generating gen7 CB Kernel assembled file \"ivb_clear_kernel.c\" for i915 driver..."
+
+                i915_filename=ivb_clear_kernel.c
+                prefix_header $gen_device > $i915_filename
+                cat $output_file >> $i915_filename
+                postfix_footer $i915_filename >> $i915_filename
+        fi
+}
+
+while getopts "hg:o:m:" opt; do
+	case $opt in
+		h) get_help; exit 0;;
+		g) gen_device="$OPTARG" ;;
+		o) output_file="$OPTARG" ;;
+                m) mesa_i965_asm="$OPTARG" ;;
+		\?)
+			echo -e "Unknown option: -$OPTARG\n"
+			get_help
+			exit 1
+			;;
+	esac
+done
+shift $(($OPTIND-1))
+
+if [ "x$1" != "x" ]; then
+	echo -e "Unknown option: $1\n"
+	get_help
+	exit 1
+fi
+
+if [ "x$mesa_i965_asm" == "x" ]; then
+        echo -e "i965_asm binary not found\n"
+        get_help
+        exit 1
+fi
+
+if [ "x$gen_device" != "x" ]; then
+        if [ "$gen_device" == "hsw" ]; then
+                input_asm_source="${ASSEMBLY_SOURCE}/hsw_clear_buf.asm"
+        elif [ "$gen_device" == "ivb" ]; then
+                input_asm_source="${ASSEMBLY_SOURCE}/ivb_clear_buf.asm"
+        else
+                echo -e "Unknown platform specified\n"
+                get_help
+                exit 1
+        fi
+	asm_cb_kernel
+else
+        echo -e "Platform generation not specified\n"
+        get_help
+        exit 1
+fi
tools/assembly_source/hsw_clear_buf.asm new file +141 -0

141 lines not on this page · raw message

tools/assembly_source/ivb_clear_buf.asm new file +139 -0

139 lines not on this page · raw message

Signature · 6 lines
2.20.1

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#2 lore raw

Re: [igt-dev] [PATCH i-g-t v5 1/1] tools/generate_cb_buffer: Add script to assemble CB kernel

Quoted 66 lines · Akeem G Abodunrin

This patch adds script and applicable assembly sources, so that we can use igt to assemble Clear Batch Buffer kernel for gen7 and gen7.5 devices - Resultant header files would be imported to i915, and used as they are...

With this patch, user need to have mesa configured on their platform, before igt could be used to achieve the purpose of assembling the kernel from source.

This is needed for "Security mitigation for Intel Gen7/7.5 HWs" Intel ID: PSIRT-TA-201910-001/CVEID: CVE-2019-14615

v2: Addressed formatting, -g option and other minor issues (Petri)
v3: Update script due to suggested changes in i915, and Mesa tool
v4: Update help comment with Mesa build option with meson (Petri)
v5: Modify how user specify i965_asm - script now takes binary, instead of Mesa tool source directory (Ville).

Cc Ville Syrjälä <[email protected]>
Cc Jani Nikula <[email protected]>
Cc Joonas Lahtinen <[email protected]>
Cc Petri Latvala <[email protected]>
Cc Bloomfield Jon <[email protected]>
---
 scripts/asm_eu_kernel.sh                | 158 ++++++++++++++++++++++++
 tools/assembly_source/hsw_clear_buf.asm | 141 +++++++++++++++++++++
 tools/assembly_source/ivb_clear_buf.asm | 139 +++++++++++++++++++++
 3 files changed, 438 insertions(+)
 create mode 100755 scripts/asm_eu_kernel.sh
 create mode 100644 tools/assembly_source/hsw_clear_buf.asm
 create mode 100644 tools/assembly_source/ivb_clear_buf.asm
scripts/asm_eu_kernel.sh new file +28 -0
new file mode 100755
index 00000000..ddf44b38
@@ -0,0 +1,158 @@
+#!/bin/bash
+#
+# SPDX-License-Identifier: MIT
+#
+# Copyright © 2020 Intel Corporation
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the "Software"),
+# to deal in the Software without restriction, including without limitation
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,
+# and/or sell copies of the Software, and to permit persons to whom the
+# Software is furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice (including the next
+# paragraph) shall be included in all copies or substantial portions of the
+# Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+# IN THE SOFTWARE.
+
+export ASSEMBLY_SOURCE=./tools/assembly_source
+
+function get_help {

scripts/asm_eu_kernel.sh line 38

Quoted 10 lines
scripts/asm_eu_kernel.sh new file +10 -0
+        echo "Usage:    asm_eu_kernel.sh [options]"
+        echo "Note: hsw_clear_kernel.c/ivb_clear_kernel.c automatically generated by this script should never be modified - it would be imported to i915, to use as it is..."
+        echo " "
+        echo "Please make sure your Mesa tool is compiled with "-Dtools=intel" and "-Ddri-drivers=i965", and run this script from IGT source root directory"
+        echo " "
+        echo "Options are:"
+        echo " -h                       display this help message, and exit"
+        echo " -g=platform              generation of device: use "hsw" for gen7.5, and "ivb" for gen7 devices"
+        echo " -o=name_of_file          output file to store Mesa assembled c-literal for the device - If none specified, default file will be used - ivb/hsw-cb_assembled"
+        echo " -m=mesa                  Path to Mesa i965_asm binary"

What Ville said was that the name of the build directory can be something other than 'build'. Within that build directory the path to i965_asm binary is always src/intel/tools/i965_asm. But that's just bikeshedding at this point.

I was able to test the script now, thanks Akeem for the Mesa side changes link.

There's only the cosmetic things left to fix on IGT's side and then this can be merged as soon as the Mesa side is merged. Namely, names:

The patch subject talks about tools/generate_cb_buffer but no such file is created with it. The name asm_eu_kernel.sh sounds a bit too generic when this is for very particular shaders to assemble. Speaking of shaders, we already have a directory for shader sources where they should go.

Suggestions for naming:

The assembly sources could go to lib/i915/shaders/clear_buffer/hsw.asm and lib/i915/shaders/clear_buffer/ivb.asm

The script itself could be called scripts/generate_cb_shader.sh or something. Not sure what the correct terminology is for these shaders.

Opinions, people who are better at naming than me?

Signature · 5 lines
Petri Latvala
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#3 lore raw

Re: [igt-dev] [PATCH i-g-t v5 1/1] tools/generate_cb_buffer: Add script to assemble CB kernel

Quoted 121 lines

-----Original Message-----
From: Latvala, Petri <[email protected]>
Sent: Wednesday, February 26, 2020 12:59 AM
To: Abodunrin, Akeem G <[email protected]>
Cc: Bloomfield, Jon <[email protected]>; Dutt, Sudeep <[email protected]>; Vetter, Daniel <[email protected]>; [email protected]; Nikula, Jani <[email protected]>; Wilson, Chris P <[email protected]>; Kumar Valsan, Prathap <[email protected]>; Kuoppala, Mika <[email protected]>; Balestrieri, Francesco <[email protected]>; [email protected]; igt- [email protected]
Subject: Re: [PATCH i-g-t v5 1/1] tools/generate_cb_buffer: Add script to assemble CB kernel

Quoted 3 lines · Akeem G Abodunrin

This patch adds script and applicable assembly sources, so that we can use igt to assemble Clear Batch Buffer kernel for gen7 and gen7.5 devices - Resultant header files would be imported to i915, and used as they

are...

Quoted 36 lines

With this patch, user need to have mesa configured on their platform, before igt could be used to achieve the purpose of assembling the kernel from source.

This is needed for "Security mitigation for Intel Gen7/7.5 HWs" Intel ID: PSIRT-TA-201910-001/CVEID: CVE-2019-14615

v2: Addressed formatting, -g option and other minor issues (Petri)
v3: Update script due to suggested changes in i915, and Mesa tool
v4: Update help comment with Mesa build option with meson (Petri)
v5: Modify how user specify i965_asm - script now takes binary, instead of Mesa tool source directory (Ville).

Cc Ville Syrjälä <[email protected]>
Cc Jani Nikula <[email protected]>
Cc Joonas Lahtinen <[email protected]>
Cc Petri Latvala <[email protected]>
Cc Bloomfield Jon <[email protected]>
---
 scripts/asm_eu_kernel.sh                | 158 ++++++++++++++++++++++++
 tools/assembly_source/hsw_clear_buf.asm | 141 +++++++++++++++++++++
tools/assembly_source/ivb_clear_buf.asm | 139 +++++++++++++++++++++
 3 files changed, 438 insertions(+)
 create mode 100755 scripts/asm_eu_kernel.sh  create mode 100644
tools/assembly_source/hsw_clear_buf.asm
 create mode 100644 tools/assembly_source/ivb_clear_buf.asm
scripts/asm_eu_kernel.sh new renamed from scripts/asm_eu_kernel.sh +0 -0

file mode 100755 index 00000000..ddf44b38

scripts/asm_eu_kernel.sh new file +2 -0
@@ -0,0 +1,158 @@
+#!/bin/bash
+#

scripts/asm_eu_kernel.sh line 12

Quoted 10 lines
scripts/asm_eu_kernel.sh new file +10 -0
+# SPDX-License-Identifier: MIT
+#
+# Copyright © 2020 Intel Corporation
+#
+# Permission is hereby granted, free of charge, to any person
+obtaining a # copy of this software and associated documentation
+files (the "Software"), # to deal in the Software without
+restriction, including without limitation # the rights to use, copy,
+modify, merge, publish, distribute, sublicense, # and/or sell copies
+of the Software, and to permit persons to whom the # Software is furnished

to do so, subject to the following conditions:

scripts/asm_eu_kernel.sh line 19

Quoted 7 lines
scripts/asm_eu_kernel.sh new file +7 -0
+#
+# The above copyright notice and this permission notice (including
+the next # paragraph) shall be included in all copies or substantial
+portions of the # Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES

OF

scripts/asm_eu_kernel.sh line 23

Quoted 4 lines
scripts/asm_eu_kernel.sh new file +4 -0
+MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT.  IN NO EVENT SHALL # THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING #

FROM,

scripts/asm_eu_kernel.sh line 24

Quoted 1 line
scripts/asm_eu_kernel.sh new file +1 -0
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER

DEALINGS # IN THE SOFTWARE.

scripts/asm_eu_kernel.sh

Quoted 6 lines
scripts/asm_eu_kernel.sh new file +6 -0
+
+export ASSEMBLY_SOURCE=./tools/assembly_source
+
+function get_help {
+        echo "Usage:    asm_eu_kernel.sh [options]"
+        echo "Note: hsw_clear_kernel.c/ivb_clear_kernel.c automatically

generated by this script should never be modified - it would be imported to i915, to use as it is..."

scripts/asm_eu_kernel.sh line 32

Quoted 2 lines
scripts/asm_eu_kernel.sh new file +2 -0
+        echo " "
+        echo "Please make sure your Mesa tool is compiled with "-Dtools=intel"

and "-Ddri-drivers=i965", and run this script from IGT source root directory"

scripts/asm_eu_kernel.sh

Quoted 4 lines
scripts/asm_eu_kernel.sh new file +4 -0
+        echo " "
+        echo "Options are:"
+        echo " -h                       display this help message, and exit"
+        echo " -g=platform              generation of device: use "hsw" for gen7.5,

and "ivb" for gen7 devices"

scripts/asm_eu_kernel.sh line 37

Quoted 1 line
scripts/asm_eu_kernel.sh new file +1 -0
+        echo " -o=name_of_file          output file to store Mesa assembled c-

literal for the device - If none specified, default file will be used - ivb/hsw- cb_assembled"

scripts/asm_eu_kernel.sh line 38

Quoted 1 line
scripts/asm_eu_kernel.sh new file +1 -0
+        echo " -m=mesa                  Path to Mesa i965_asm binary"

What Ville said was that the name of the build directory can be something other than 'build'. Within that build directory the path to i965_asm binary is always src/intel/tools/i965_asm. But that's just bikeshedding at this point.

I was able to test the script now, thanks Akeem for the Mesa side changes link.

There's only the cosmetic things left to fix on IGT's side and then this can be merged as soon as the Mesa side is merged. Namely, names:

The patch subject talks about tools/generate_cb_buffer but no such file is created with it. The name asm_eu_kernel.sh sounds a bit too generic when this is for very particular shaders to assemble. Speaking of shaders, we already have a directory for shader sources where they should go.

Suggestions for naming:

Quoted 7 lines

The assembly sources could go to lib/i915/shaders/clear_buffer/hsw.asm and lib/i915/shaders/clear_buffer/ivb.asm

The script itself could be called scripts/generate_cb_shader.sh or something. Not sure what the correct terminology is for these shaders.

Opinions, people who are better at naming than me?

All changes in Mesa have been merged... and I addressed naming issue mentioned here, and updated script to reflect Mesa new c-literal output format - automated files (hsw_clear_kernel.c and ivb_clear_kernel.c) generated for i915 still the same, no difference, except of course date...
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#4 lore raw

[igt-dev] ✓ Fi.CI.BAT: success for Support to assemble CB kernel for gen7

In reply to Akeem G Abodunrin
== Series Details ==

== Series Details ==

Series: Support to assemble CB kernel for gen7
URL : https://patchwork.freedesktop.org/series/73880/
State : success

== Summary ==

CI Bug Log - changes from IGT_5464 -> IGTPW_4220
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_exec_suspend@basic-s4-devices:
- fi-tgl-y: [PASS][1] -> [FAIL][2] ([CI#94])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/fi-tgl-y/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/fi-tgl-y/igt@[email protected]

* igt@i915_selftest@live_gem_contexts:
- fi-cfl-guc: [PASS][3] -> [INCOMPLETE][4] ([fdo#106070] / [i915#424])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/fi-cfl-guc/igt@i915_selftest@live_gem_contexts.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/fi-cfl-guc/igt@i915_selftest@live_gem_contexts.html

* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [PASS][5] -> [FAIL][6] ([fdo#111407])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/fi-kbl-7500u/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/fi-kbl-7500u/igt@[email protected]

* igt@prime_vgem@basic-busy-default:
- fi-tgl-y: [PASS][7] -> [DMESG-WARN][8] ([CI#94] / [i915#402])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/fi-tgl-y/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/fi-tgl-y/igt@[email protected]

#### Possible fixes ####

* igt@i915_module_load@reload:
- fi-byt-n2820: [INCOMPLETE][9] ([i915#45]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/fi-byt-n2820/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/fi-byt-n2820/igt@[email protected]

* igt@i915_selftest@live_gem_contexts:
- fi-cml-s: [DMESG-FAIL][11] ([i915#877]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/fi-cml-s/igt@i915_selftest@live_gem_contexts.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/fi-cml-s/igt@i915_selftest@live_gem_contexts.html

* igt@vgem_basic@create:
- fi-tgl-y: [DMESG-WARN][13] ([CI#94] / [i915#402]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/fi-tgl-y/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/fi-tgl-y/igt@[email protected]

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

[CI#94]: https://gitlab.freedesktop.org/gfx-ci/i915-infra/issues/94
[fdo#106070]: https://bugs.freedesktop.org/show_bug.cgi?id=106070
[fdo#111407]: https://bugs.freedesktop.org/show_bug.cgi?id=111407
[i915#1233]: https://gitlab.freedesktop.org/drm/intel/issues/1233
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
[i915#424]: https://gitlab.freedesktop.org/drm/intel/issues/424
[i915#45]: https://gitlab.freedesktop.org/drm/intel/issues/45
[i915#877]: https://gitlab.freedesktop.org/drm/intel/issues/877

Participating hosts (51 -> 43)
------------------------------

Missing (8): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-glk-dsi fi-bsw-cyan fi-gdg-551 fi-byt-clapper fi-bdw-samus

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

* CI: CI-20190529 -> None
* IGT: IGT_5464 -> IGTPW_4220

CI-20190529: 20190529
CI_DRM_8000: e231691d89abd1b3fff01e75f142e435b44b522f @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4220: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/index.html
IGT_5464: 8cf2f8684992052ab89de1cf328c418224c0c2a7 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#5 lore raw

[igt-dev] ✓ Fi.CI.IGT: success for Support to assemble CB kernel for gen7

In reply to Akeem G Abodunrin
== Series Details ==

== Series Details ==

Series: Support to assemble CB kernel for gen7
URL : https://patchwork.freedesktop.org/series/73880/
State : success

== Summary ==

CI Bug Log - changes from IGT_5464_full -> IGTPW_4220_full
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_exec_balancer@smoke:
- shard-iclb: [PASS][1] -> [SKIP][2] ([fdo#110854])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-iclb2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-iclb8/igt@[email protected]

* igt@gem_exec_schedule@pi-distinct-iova-bsd:
- shard-iclb: [PASS][3] -> [SKIP][4] ([i915#677]) +1 similar issue
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-iclb3/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-iclb2/igt@[email protected]

* igt@gem_exec_schedule@pi-shared-iova-blt:
- shard-kbl: [PASS][5] -> [INCOMPLETE][6] ([fdo#103665] / [i915#1193])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-kbl6/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-kbl6/igt@[email protected]

* igt@gem_exec_schedule@preempt-queue-bsd1:
- shard-iclb: [PASS][7] -> [SKIP][8] ([fdo#109276]) +14 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-iclb4/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-iclb8/igt@[email protected]

* igt@gem_exec_schedule@reorder-wide-bsd:
- shard-iclb: [PASS][9] -> [SKIP][10] ([fdo#112146]) +3 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-iclb6/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-iclb2/igt@[email protected]

* igt@i915_pm_rps@waitboost:
- shard-iclb: [PASS][11] -> [FAIL][12] ([i915#413])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-iclb8/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-iclb2/igt@[email protected]

* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes:
- shard-kbl: [PASS][13] -> [DMESG-WARN][14] ([i915#180]) +1 similar issue
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-kbl2/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-kbl7/igt@[email protected]

* igt@kms_plane_lowres@pipe-a-tiling-x:
- shard-glk: [PASS][15] -> [FAIL][16] ([i915#899])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-glk7/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-glk9/igt@[email protected]

* igt@kms_psr@psr2_primary_page_flip:
- shard-iclb: [PASS][17] -> [SKIP][18] ([fdo#109441]) +2 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-iclb2/igt@kms_psr@psr2_primary_page_flip.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-iclb8/igt@kms_psr@psr2_primary_page_flip.html

* igt@kms_setmode@basic:
- shard-hsw: [PASS][19] -> [FAIL][20] ([i915#31])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-hsw4/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-hsw8/igt@[email protected]
- shard-kbl: [PASS][21] -> [FAIL][22] ([i915#31])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-kbl7/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-kbl6/igt@[email protected]

* igt@kms_vblank@pipe-b-ts-continuation-suspend:
- shard-apl: [PASS][23] -> [DMESG-WARN][24] ([i915#180]) +3 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-apl3/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-apl2/igt@[email protected]

* igt@perf_pmu@busy-no-semaphores-vcs1:
- shard-iclb: [PASS][25] -> [SKIP][26] ([fdo#112080]) +13 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-iclb2/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-iclb5/igt@[email protected]

#### Possible fixes ####

* igt@gem_busy@busy-vcs1:
- shard-iclb: [SKIP][27] ([fdo#112080]) -> [PASS][28] +14 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-iclb3/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-iclb2/igt@[email protected]

* {igt@gem_ctx_persistence@engines-mixed-process@vcs0}:
- shard-apl: [FAIL][29] ([i915#679]) -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-apl1/igt@gem_ctx_persistence@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-apl3/igt@gem_ctx_persistence@[email protected]

* {igt@gem_ctx_persistence@engines-mixed-process@vecs0}:
- shard-apl: [INCOMPLETE][31] ([fdo#103927] / [i915#1197] / [i915#1239]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-apl1/igt@gem_ctx_persistence@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-apl3/igt@gem_ctx_persistence@[email protected]

* {igt@gem_exec_schedule@implicit-read-write-bsd1}:
- shard-iclb: [SKIP][33] ([fdo#109276] / [i915#677]) -> [PASS][34] +1 similar issue
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-iclb8/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-iclb2/igt@[email protected]

* igt@gem_exec_schedule@in-order-bsd:
- shard-iclb: [SKIP][35] ([fdo#112146]) -> [PASS][36] +4 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-iclb2/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-iclb8/igt@[email protected]

* igt@gem_exec_schedule@promotion-bsd1:
- shard-iclb: [SKIP][37] ([fdo#109276]) -> [PASS][38] +17 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-iclb7/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-iclb4/igt@[email protected]

* igt@gem_workarounds@suspend-resume-context:
- shard-apl: [DMESG-WARN][39] ([i915#180]) -> [PASS][40] +5 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-apl4/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-apl4/igt@[email protected]

* igt@gen9_exec_parse@allowed-all:
- shard-glk: [DMESG-WARN][41] ([i915#716]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-glk9/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-glk7/igt@[email protected]

* igt@i915_pm_rpm@pm-tiling:
- shard-hsw: [SKIP][43] ([fdo#109271]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-hsw4/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-hsw6/igt@[email protected]
- shard-glk: [SKIP][45] ([fdo#109271]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-glk3/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-glk8/igt@[email protected]
- shard-iclb: [SKIP][47] -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-iclb7/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-iclb3/igt@[email protected]

* igt@kms_cursor_crc@pipe-a-cursor-size-change:
- shard-apl: [FAIL][49] ([i915#54]) -> [PASS][50]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-apl3/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-apl1/igt@[email protected]

* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes:
- shard-kbl: [DMESG-WARN][51] ([i915#180]) -> [PASS][52] +4 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-kbl6/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-kbl4/igt@[email protected]

* igt@kms_psr@psr2_cursor_blt:
- shard-iclb: [SKIP][53] ([fdo#109441]) -> [PASS][54] +2 similar issues
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-iclb1/igt@kms_psr@psr2_cursor_blt.html
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-iclb2/igt@kms_psr@psr2_cursor_blt.html

* igt@sw_sync@sync_multi_producer_single_consumer:
- shard-hsw: [TIMEOUT][55] ([fdo#112271]) -> [PASS][56]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-hsw5/igt@sw_sync@sync_multi_producer_single_consumer.html
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-hsw8/igt@sw_sync@sync_multi_producer_single_consumer.html

#### Warnings ####

* igt@gem_ctx_isolation@vcs1-nonpriv:
- shard-iclb: [SKIP][57] ([fdo#112080]) -> [FAIL][58] ([IGT#28])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-iclb7/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-iclb2/igt@[email protected]

* igt@gem_userptr_blits@sync-unmap:
- shard-snb: [DMESG-WARN][59] ([fdo#111870] / [i915#478]) -> [DMESG-WARN][60] ([fdo#110789] / [fdo#111870] / [i915#478])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-snb2/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-snb6/igt@[email protected]
- shard-hsw: [DMESG-WARN][61] ([fdo#111870]) -> [DMESG-WARN][62] ([fdo#110789] / [fdo#111870])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-hsw7/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-hsw6/igt@[email protected]

* igt@kms_content_protection@lic:
- shard-kbl: [TIMEOUT][63] ([fdo#112271] / [i915#1319]) -> [TIMEOUT][64] ([fdo#112271] / [i915#1319] / [i915#727])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5464/shard-kbl4/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/shard-kbl4/igt@[email protected]

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

[IGT#28]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/28
[fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#110789]: https://bugs.freedesktop.org/show_bug.cgi?id=110789
[fdo#110854]: https://bugs.freedesktop.org/show_bug.cgi?id=110854
[fdo#111870]: https://bugs.freedesktop.org/show_bug.cgi?id=111870
[fdo#112080]: https://bugs.freedesktop.org/show_bug.cgi?id=112080
[fdo#112146]: https://bugs.freedesktop.org/show_bug.cgi?id=112146
[fdo#112271]: https://bugs.freedesktop.org/show_bug.cgi?id=112271
[i915#1193]: https://gitlab.freedesktop.org/drm/intel/issues/1193
[i915#1197]: https://gitlab.freedesktop.org/drm/intel/issues/1197
[i915#1239]: https://gitlab.freedesktop.org/drm/intel/issues/1239
[i915#1319]: https://gitlab.freedesktop.org/drm/intel/issues/1319
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#31]: https://gitlab.freedesktop.org/drm/intel/issues/31
[i915#413]: https://gitlab.freedesktop.org/drm/intel/issues/413
[i915#478]: https://gitlab.freedesktop.org/drm/intel/issues/478
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#677]: https://gitlab.freedesktop.org/drm/intel/issues/677
[i915#679]: https://gitlab.freedesktop.org/drm/intel/issues/679
[i915#716]: https://gitlab.freedesktop.org/drm/intel/issues/716
[i915#727]: https://gitlab.freedesktop.org/drm/intel/issues/727
[i915#899]: https://gitlab.freedesktop.org/drm/intel/issues/899

Participating hosts (8 -> 8)
------------------------------

No changes in participating hosts

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

* CI: CI-20190529 -> None
* IGT: IGT_5464 -> IGTPW_4220

CI-20190529: 20190529
CI_DRM_8000: e231691d89abd1b3fff01e75f142e435b44b522f @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4220: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/index.html
IGT_5464: 8cf2f8684992052ab89de1cf328c418224c0c2a7 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4220/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev