linux/drivers/gpu/drm/i915/gvt
Min He fd64be6367 drm/i915/gvt: introduced failsafe mode into vgpu
New failsafe mode is introduced, when we detect guest not supporting
GVT-g.
In failsafe mode, we will ignore all the MMIO and cfg space read/write
from guest.

This patch can fix the issue that when guest kernel or graphics driver
version is too low, there will be a lot of kernel traces in host.

V5: rebased onto latest gvt-staging
V4: changed coding style by Zhenyu and Ping's advice
V3: modified coding style and error messages according to Zhenyu's comment
V2: 1) implemented MMIO/GTT/WP pages read/write logic; 2) used a unified
function to enter failsafe mode

Signed-off-by: Min He <min.he@intel.com>
Signed-off-by: Pei Zhang <pei.zhang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2017-02-17 16:03:38 +08:00
..
aperture_gm.c drm/i915/gvt: Fix alignment for GTT allocation 2017-02-14 17:03:30 +08:00
cfg_space.c drm/i915/gvt: introduced failsafe mode into vgpu 2017-02-17 16:03:38 +08:00
cmd_parser.c drm/i915/gvt: add sprite plane flip done support. 2017-02-14 17:09:19 +08:00
cmd_parser.h drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
debug.h drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
display.c drm/i915/gvt: add missing display part reset for vGPU reset 2017-02-14 17:09:02 +08:00
display.h drm/i915/gvt: add missing display part reset for vGPU reset 2017-02-14 17:09:02 +08:00
edid.c drm/i915/gvt: Fix static checker warning on intel_gvt_i2c_handle_aux_ch_write() 2016-11-14 18:06:44 +08:00
edid.h drm/i915/gvt: Fix static checker warning on intel_gvt_i2c_handle_aux_ch_write() 2016-11-14 18:06:44 +08:00
execlist.c drm/i915/gvt: fix crash at function release_shadow_wa_ctx 2017-02-10 16:50:18 +08:00
execlist.h drm/i915/gvt: fix crash in vgpu_reset_execlist 2016-11-14 18:06:43 +08:00
firmware.c drm/i915/gvt: use normal mmio read function for firmware exposure 2017-02-07 17:21:55 +08:00
gtt.c drm/i915/gvt: Map shadow page before using it in shadow page table 2017-02-09 14:17:14 +08:00
gtt.h drm/i915/gvt: introuduce intel_vgpu_reset_gtt() to reset gtt 2017-01-13 15:05:38 +08:00
gvt.c drm/i915/gvt: enable IOMMU for gvt 2017-02-09 14:17:15 +08:00
gvt.h drm/i915/gvt: introduced failsafe mode into vgpu 2017-02-17 16:03:38 +08:00
handlers.c drm/i915/gvt: introduced failsafe mode into vgpu 2017-02-17 16:03:38 +08:00
hypercall.h drm/i915/gvt: remove detect_host() MPT hook 2017-02-07 17:21:44 +08:00
interrupt.c drm/i915/gvt: add sprite plane flip done support. 2017-02-14 17:09:19 +08:00
interrupt.h drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
kvmgt.c drm/i915/gvt: return error code if dma map iova failed 2017-02-14 17:35:39 +08:00
Makefile drm/i915/gvt/kvmgt: add vfio/mdev support to KVMGT 2016-12-16 16:55:26 +08:00
mmio.c drm/i915/gvt: introduced failsafe mode into vgpu 2017-02-17 16:03:38 +08:00
mmio.h drm/i915/gvt: introduce intel_vgpu_reset_mmio() to reset mmio space 2017-01-13 15:05:38 +08:00
mpt.h drm/i915/gvt: remove detect_host() MPT hook 2017-02-07 17:21:44 +08:00
opregion.c drm/i915/gvt: Fix check error on opregion.c 2017-02-17 14:56:36 +08:00
reg.h drm/i915/gvt: cleanup opregion memory allocation code 2017-01-09 11:11:32 +08:00
render.c drm/i915/gvt: optimize the inhibit context mmio load 2017-02-14 17:35:39 +08:00
render.h drm/i915/gvt: vGPU context switch 2016-10-14 18:15:13 +08:00
sched_policy.c drm/i915/gvt: remove a noisy unimportant log in sched_policy 2017-02-09 14:13:30 +08:00
sched_policy.h drm/i915/gvt: vGPU schedule policy framework 2016-10-14 18:15:02 +08:00
scheduler.c drm/i915/gvt: Fix shadow context descriptor 2017-02-14 17:03:42 +08:00
scheduler.h drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
trace_points.c drm/i915/gvt: trace stub 2016-10-14 18:12:11 +08:00
trace.h drm/i915/gvt: vGPU command scanner 2016-10-14 18:15:25 +08:00
vgpu.c drm/i915/gvt: introduced failsafe mode into vgpu 2017-02-17 16:03:38 +08:00