]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: add some new MMIOs to cmd_access white list
authorPei Zhang <pei.zhang@intel.com>
Fri, 24 Feb 2017 08:03:28 +0000 (16:03 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 24 Feb 2017 09:08:07 +0000 (17:08 +0800)
commit3eedcec8cdb9c6c421d4fcb3a3d484f0ac800ebe
tree9d2835de544581f477090cfb5fcf12285d2e0094
parent30a1ab07b91e72af1a788cfa1045a248560c834e
drm/i915/gvt: add some new MMIOs to cmd_access white list

Guest is now acces some MMIOs (0x215c, RING_INSTPM) through command which
is not originally in gvt's white list. This cause huge error log printed in
gvt.
This patch addes these MMIOs to the white list.

V2. change the commit message content.
V3. remove duplicate defination of 0x20c0.
V4. refine code style.

Signed-off-by: Pei Zhang <pei.zhang@intel.com>
Signed-off-by: Weinan Li <weinan.z.li@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/handlers.c