linux_dsm_epyc7002/drivers/gpu/drm/i915/gvt
Hang Yuan 6cef21a196 drm/i915/gvt: update vreg on inhibit context lri command
Commit cd7e 61b9"init mmio by lri command in vgpu inhibit context"
initializes registers saved/restored in context with its vreg value
through lri command in ring buffer. It relies on vreg got updated
on every guest access. There is a case found that Linux guest uses
lri command in inhibit-ctx to update the register. This patch adds
vreg update on this case.

v2: move mmio_attribute functions to gvt.h (Zhenyu)
v3: use mask_mmio_write in vreg update
v4: refine codes and add more comments (Zhenyu)

Fixes: cd7e61b9("drm/i915/gvt: init mmio by lri command in vgpu inhibit context")
Signed-off-by: Hang Yuan <hang.yuan@linux.intel.com>
Signed-off-by: Weinan Li <weinan.z.li@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2018-07-05 15:33:37 +08:00
..
aperture_gm.c drm/i915: Add interface to reserve fence registers for vGPU 2017-09-04 16:34:59 +01:00
cfg_space.c drm/i915/gvt: Fix aperture read/write emulation when enable x-no-mmap=on 2018-02-06 11:41:27 -08:00
cmd_parser.c drm/i915/gvt: update vreg on inhibit context lri command 2018-07-05 15:33:37 +08:00
cmd_parser.h drm/i915/gvt: Factor out scan and shadow from workload dispatch 2017-08-10 10:26:06 +08:00
debug.h drm/i915/gvt: Make gvt_vgpu_err use pr_err 2017-11-16 11:48:34 +08:00
debugfs.c drm/i915/gvt: scan non-privileged batch buffer for debug purpose 2018-04-23 13:09:34 +08:00
display.c drm/i915/gvt: changed DDI mode emulation type 2018-07-02 11:09:59 +08:00
display.h drm/i915/gvt: Fix the validation on size field of dp aux header 2018-04-12 11:29:01 +08:00
dmabuf.c drm/i915/gvt: Add drm_format_mod update 2018-03-30 14:47:20 +08:00
dmabuf.h drm/i915/gvt: Dmabuf support for GVT-g 2017-12-04 11:24:33 +08:00
edid.c drm/i915/gvt: cleanup usage for typed mmio reg vs. offset 2017-12-22 16:33:03 +08:00
edid.h
execlist.c drm/i915/gvt: refine intel_vgpu_submission_ops as per engine ops 2018-02-06 11:40:59 -08:00
execlist.h drm/i915/gvt: Make elsp_dwords in the right order 2017-11-16 11:46:07 +08:00
fb_decoder.c drm/i915/gvt: Delete redundant error message in fb_decode.c 2018-03-30 14:47:19 +08:00
fb_decoder.h drm/i915/gvt: Add framebuffer decoder support 2017-12-04 11:24:33 +08:00
firmware.c drm/i915/gvt: Add mmio iterator intel_gvt_for_each_tracked_mmio() 2017-11-16 11:48:32 +08:00
gtt.c drm/i915/gvt: fix a bug of partially write ggtt enties 2018-07-02 11:09:38 +08:00
gtt.h drm/i915/gvt: fix a bug of partially write ggtt enties 2018-07-02 11:09:38 +08:00
gvt.c drm/i915/gvt: Provide generic page_track infrastructure for write-protected page 2018-03-06 13:19:20 +08:00
gvt.h drm/i915/gvt: update vreg on inhibit context lri command 2018-07-05 15:33:37 +08:00
handlers.c drm/i915/gvt: update vreg on inhibit context lri command 2018-07-05 15:33:37 +08:00
hypercall.h drm/i915/gvt: Fix guest vGPU hang caused by very high dma setup overhead 2018-03-06 13:19:27 +08:00
interrupt.c drm/i915/gvt: Change flood gvt dmesg into trace 2017-06-08 13:59:16 +08:00
interrupt.h
kvmgt.c Merge tag 'gvt-fixes-2018-04-19' of https://github.com/intel/gvt-linux into drm-intel-next-fixes 2018-06-07 12:06:07 +03:00
Makefile drm/i915/gvt: Provide generic page_track infrastructure for write-protected page 2018-03-06 13:19:20 +08:00
mmio_context.c drm/i915/gvt: update vreg on inhibit context lri command 2018-07-05 15:33:37 +08:00
mmio_context.h drm/i915/gvt: init mmio by lri command in vgpu inhibit context 2018-03-06 13:19:23 +08:00
mmio.c treewide: Use array_size() in vzalloc() 2018-06-12 16:19:22 -07:00
mmio.h drm/i915/gvt: update vreg on inhibit context lri command 2018-07-05 15:33:37 +08:00
mpt.h drm/i915/gvt: Fix guest vGPU hang caused by very high dma setup overhead 2018-03-06 13:19:27 +08:00
opregion.c drm/i915/gvt: Use KVM r/w to access guest opregion 2018-02-06 11:41:34 -08:00
page_track.c drm/i915/gvt: Return error at the failure of finding page_track 2018-03-06 14:49:38 +08:00
page_track.h drm/i915/gvt: Provide generic page_track infrastructure for write-protected page 2018-03-06 13:19:20 +08:00
reg.h drm/i915/gvt: Use I915_GTT_PAGE_SIZE 2017-11-16 11:48:22 +08:00
sched_policy.c drm/i915/gvt: Update time slice more frequently 2018-04-23 13:09:32 +08:00
sched_policy.h drm/i915/gvt: Kick scheduler when new workload queued 2017-12-04 11:24:35 +08:00
scheduler.c Revert "drm/i915/gvt: set max priority for gvt context" 2018-05-14 05:26:09 +08:00
scheduler.h drm/i915/gvt: scan non-privileged batch buffer for debug purpose 2018-04-23 13:09:34 +08:00
trace_points.c
trace.h drm/i915/gvt: scan non-privileged batch buffer for debug purpose 2018-04-23 13:09:34 +08:00
vgpu.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00