OSDN Git Service

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)
commit41bfab35b3d0e0a85ed0c12d7bafd7484e96ca78
tree9d2835de544581f477090cfb5fcf12285d2e0094
parent8bcd7c188bc479bea866d286a7dc0af9734c3c64
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