From: Zhenyu Wang Subject: [PULL] GVT-g KVMGT framework Date: Thu, 10 Nov 2016 17:47:14 +0800 Message-ID: <20161110094714.cnodeyi25mzzhz5f@zhen-hp.sh.intel.com> Reply-To: Zhenyu Wang Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0266714574==" Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id 131EB6E14F for ; Thu, 10 Nov 2016 09:50:46 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Daniel Vetter , Jani Nikula Cc: intel-gfx , igvt-g-dev List-Id: intel-gfx@lists.freedesktop.org --===============0266714574== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uqn6wcbrihm6uy26" Content-Disposition: inline --uqn6wcbrihm6uy26 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, This is initial integration work to include KVMGT support which base on MPT(Mediated Passthrough) interface for GVT-g device model. Also include vGPU type definitions which means vGPU creation will be type based to be integrated with future VFIO/mdev framework. Thanks. -- The following changes since commit 11840e2fff3fb0f90ab8d56f4ba7d3712a82c08f: Merge tag 'for-kvmgt' of git://git.kernel.org/pub/scm/virt/kvm/kvm into d= rm-intel-next-queued (2016-11-10 08:06:47 +0100) are available in the git repository at: https://github.com/01org/gvt-linux.git tags/gvt-next-kvmgt-framework for you to fetch changes up to f30437c5e7bfa9d8acc18058040efb4f474907c3: drm/i915/gvt: add KVMGT support (2016-11-10 15:45:39 +0800) ---------------------------------------------------------------- gvt-next-kvmgt-framework This adds initial KVMGT framework based on GVT-g MPT(Mediated Passthrough) = interface. ---------------------------------------------------------------- Bing Niu (1): drm/i915/gvt: don't rely on guest PPGTT entry to free old shadow data Jike Song (5): drm/i915/gvt: remove obsolete code for old kvmgt opregion drm/i915/gvt: introduce host_init/host_exit to MPT drm/i915/gvt: allow several MPT methods to be NULL drm/i915/gvt: refactor intel_gvt_io_emulation_ops to be intel_gvt_ops drm/i915/gvt: add KVMGT support Xiaoguang Chen (1): drm/i915/gvt: use kmap instead of kmap_atomic around guest memory acc= ess Zhenyu Wang (1): drm/i915/gvt: add intel vgpu types support drivers/gpu/drm/i915/Kconfig | 9 + drivers/gpu/drm/i915/gvt/Makefile | 7 +- drivers/gpu/drm/i915/gvt/cfg_space.c | 12 +- drivers/gpu/drm/i915/gvt/gtt.c | 51 +-- drivers/gpu/drm/i915/gvt/gvt.c | 29 +- drivers/gpu/drm/i915/gvt/gvt.h | 63 +++- drivers/gpu/drm/i915/gvt/hypercall.h | 14 +- drivers/gpu/drm/i915/gvt/kvmgt.c | 601 +++++++++++++++++++++++++++++++= ++++ drivers/gpu/drm/i915/gvt/mmio.c | 6 +- drivers/gpu/drm/i915/gvt/mmio.h | 9 +- drivers/gpu/drm/i915/gvt/mpt.h | 55 +++- drivers/gpu/drm/i915/gvt/opregion.c | 34 +- drivers/gpu/drm/i915/gvt/scheduler.c | 16 +- drivers/gpu/drm/i915/gvt/vgpu.c | 169 ++++++++-- 14 files changed, 939 insertions(+), 136 deletions(-) create mode 100644 drivers/gpu/drm/i915/gvt/kvmgt.c --=20 Open Source Technology Center, Intel ltd. $gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827 --uqn6wcbrihm6uy26 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAlgkQiEACgkQsQQaM014GCdKJQCdFbXiVI1veAVCeXalHxcwyjUr m2sAn2zgJIiP5LhqpKH3IaNoXZS4PY4T =wUsI -----END PGP SIGNATURE----- --uqn6wcbrihm6uy26-- --===============0266714574== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KSW50ZWwtZ2Z4 IG1haWxpbmcgbGlzdApJbnRlbC1nZnhAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vaW50ZWwtZ2Z4Cg== --===============0266714574==--