1. 14 5月, 2018 3 次提交
  2. 23 4月, 2018 1 次提交
  3. 12 4月, 2018 1 次提交
    • C
      drm/i915/gvt: Fix the validation on size field of dp aux header · 2f24636b
      Changbin Du 提交于
      The assertion for len is wrong, so fix it. And for where to validate
      user input, we should not warn by call trace.
      
      [ 290.584739] WARNING: CPU: 0 PID: 1471 at drivers/gpu/drm/i915/gvt/handlers.c:969 dp_aux_ch_ctl_mmio_write+0x394/0x430 [i915]
      [ 290.586113] task: ffff880111fe8000 task.stack: ffffc90044a9c000
      [ 290.586192] RIP: e030:dp_aux_ch_ctl_mmio_write+0x394/0x430 [i915]
      [ 290.586258] RSP: e02b:ffffc90044a9fd88 EFLAGS: 00010282
      [ 290.586315] RAX: 0000000000000017 RBX: 0000000000000003 RCX: ffffffff82461148
      [ 290.586391] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000201
      [ 290.586468] RBP: ffffc90043ed1000 R08: 0000000000000248 R09: 00000000000003d8
      [ 290.586544] R10: ffffc90044bdd314 R11: 0000000000000011 R12: 0000000000064310
      [ 290.586621] R13: 00000000fe4003ff R14: ffffc900432d1008 R15: ffff88010fa7cb40
      [ 290.586701] FS: 0000000000000000(0000) GS:ffff880123200000(0000) knlGS:0000000000000000
      [ 290.586787] CS: e033 DS: 0000 ES: 0000 CR0: 0000000080050033
      [ 290.586849] CR2: 00007f67ea44e000 CR3: 0000000116078000 CR4: 0000000000042660
      [ 290.586926] Call Trace:
      [ 290.586958] ? __switch_to_asm+0x40/0x70
      [ 290.587017] intel_vgpu_mmio_reg_rw+0x1ec/0x3c0 [i915]
      [ 290.587087] intel_vgpu_emulate_mmio_write+0xa8/0x2c0 [i915]
      [ 290.587151] xengt_emulation_thread+0x501/0x7a0 [xengt]
      [ 290.587208] ? __schedule+0x3c6/0x890
      [ 290.587250] ? wait_woken+0x80/0x80
      [ 290.587290] kthread+0xfc/0x130
      [ 290.587326] ? xengt_gpa_to_va+0x1f0/0x1f0 [xengt]
      [ 290.587378] ? kthread_create_on_node+0x70/0x70
      [ 290.587429] ? do_group_exit+0x3a/0xa0
      [ 290.587471] ret_from_fork+0x35/0x40
      
      Fixes: 04d348ae ("drm/i915/gvt: vGPU display virtualization")
      Signed-off-by: NChangbin Du <changbin.du@intel.com>
      Signed-off-by: NZhenyu Wang <zhenyuw@linux.intel.com>
      2f24636b
  4. 28 3月, 2018 1 次提交
  5. 19 3月, 2018 1 次提交
  6. 06 3月, 2018 5 次提交
  7. 07 2月, 2018 2 次提交
  8. 01 2月, 2018 1 次提交
  9. 22 12月, 2017 2 次提交
  10. 06 12月, 2017 2 次提交
  11. 05 12月, 2017 2 次提交
  12. 28 11月, 2017 1 次提交
    • W
      drm/i915/gvt: remove skl_misc_ctl_write handler · bf3a26b3
      Weinan Li 提交于
      With different settings of compressed data hash mode between VMs and host
      may cause gpu issues.
      
      Commit: 1999f108 ("drm/i915/gvt: Disable compression workaround for Gen9")
      disable compression workaround of guest in gvt host to align with host.
      
      Commit: 93564044 ("drm/i915: Switch over to the LLC/eLLC hotspot avoidance
      hash mode for CCS") add compression workaround, then we can remove the
      skl_misc_ctl_write hanlder.
      
      Better solution should be always keeping same settings as host, and bypass
      the write request from VMs, but it need to fetch data from host's
      "Context".
      
      Cc: Zhi Wang <zhi.a.wang@intel.com>
      Signed-off-by: NWeinan Li <weinan.z.li@intel.com>
      Signed-off-by: NXiong Zhang <xiong.y.zhang@intel.com>
      Signed-off-by: NZhenyu Wang <zhenyuw@linux.intel.com>
      bf3a26b3
  13. 16 11月, 2017 10 次提交
  14. 27 10月, 2017 3 次提交
  15. 05 9月, 2017 1 次提交
  16. 15 8月, 2017 1 次提交
  17. 10 8月, 2017 1 次提交
  18. 07 8月, 2017 1 次提交
  19. 04 8月, 2017 1 次提交