[igt-dev] [PATCH i-g-t v6 0/1] Support to assemble CB kernel for gen7

Akeem G Abodunrin
2020-02-27T00:09:26Z

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
---------------
IGT GPU tool changes in this patch, 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_kernel: Add script to assemble CB kernel

lib/i915/shaders/clear_kernel/hsw.asm | 141 ++++++++++++++++++++++++
lib/i915/shaders/clear_kernel/ivb.asm | 139 ++++++++++++++++++++++++
scripts/generate_clear_kernel.sh | 151 ++++++++++++++++++++++++++
3 files changed, 431 insertions(+)
create mode 100644 lib/i915/shaders/clear_kernel/hsw.asm
create mode 100644 lib/i915/shaders/clear_kernel/ivb.asm
create mode 100755 scripts/generate_clear_kernel.sh

--
2.24.0