qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Zhi Wang <zhi.a.wang@intel.com>
To: qemu-devel@nongnu.org
Cc: chuanxiao.dong@intel.com, daniel.vetter@ffwll.ch,
	xiong.y.zhang@intel.com, joonas.lahtinen@linux.intel.com,
	zhiyuan.lv@intel.com, zhenyuw@linux.intel.com,
	kevin.tian@intel.com,
	Alex Williamson <alex.williamson@redhat.com>
Subject: Re: [Qemu-devel] [RFC 0/6] Refine IGD stolen memory support in VFIO
Date: Mon, 29 May 2017 16:29:01 +0800	[thread overview]
Message-ID: <592BDBCD.8030605@intel.com> (raw)
In-Reply-To: <1496079043-26694-1-git-send-email-zhi.a.wang@intel.com>

Hi Alex:
     This the RFC patch of my ides in previous email. Could you shed 
some lights here? :)

Thanks,
Zhi.

On 05/30/17 01:30, Zhi Wang wrote:
> This patch series are aim to refine the IGD stolen memory support in QEMU.
>
> Some features of Intel HW relies on the stolen memory to work, but some of
> registers used to indicate the base address of stolen memory can only be
> programmed once after system is powered-up. This will cause problems if
> the base of the stolen memory is changed during IGD passthrough.
>
> The solution of this patch series is allocating a new VM dedicated memory
> as "guest stolen memory" in QEMU for isolation and let the "guest stolen
> memory" sits in the same PA as host.
>
> Also it introduces Intel platform definitions and clears some old funtions
> and definitions.
>
> Zhi Wang (6):
>    vfio: Add Intel platform definitions
>    vfio: Setup IGD quirks earlier
>    vfio: Setup IGD stolen memory
>    vfio: Refine GGTT clearing
>    vfio: Remove extra quirks and old definitions
>    vfio: Setup IGD stolen memory under secondary mode
>
>   hw/vfio/Makefile.objs    |   2 +-
>   hw/vfio/intel-platform.c | 366 +++++++++++++++++++++++++++++++++++++++++++++++
>   hw/vfio/intel-platform.h |  38 +++++
>   hw/vfio/pci-quirks.c     | 322 ++++++++---------------------------------
>   4 files changed, 463 insertions(+), 265 deletions(-)
>   create mode 100644 hw/vfio/intel-platform.c
>   create mode 100644 hw/vfio/intel-platform.h
>

  reply	other threads:[~2017-05-29  8:41 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-29 17:30 [Qemu-devel] [RFC 0/6] Refine IGD stolen memory support in VFIO Zhi Wang
2017-05-29  8:29 ` Zhi Wang [this message]
2017-05-31 22:13   ` Wang, Zhi A
2017-05-29  8:43 ` no-reply
2017-05-29  8:45 ` no-reply
2017-05-29  8:50 ` no-reply
2017-05-29 17:30 ` [Qemu-devel] [RFC 1/6] vfio: Add Intel platform definitions Zhi Wang
2017-05-29 17:30 ` [Qemu-devel] [RFC 2/6] vfio: Setup IGD quirks earlier Zhi Wang
2017-06-01 20:34   ` Alex Williamson
2017-05-29 17:30 ` [Qemu-devel] [RFC 3/6] vfio: Setup IGD stolen memory Zhi Wang
2017-06-01 21:10   ` Alex Williamson
2017-05-29 17:30 ` [Qemu-devel] [RFC 4/6] vfio: Refine GGTT clearing Zhi Wang
2017-05-29 17:30 ` [Qemu-devel] [RFC 5/6] vfio: Remove extra quirks and old definitions Zhi Wang
2017-05-29 17:30 ` [Qemu-devel] [RFC 6/6] vfio: Setup IGD stolen memory under secondary mode Zhi Wang
2017-05-29 17:30 ` [Qemu-devel] [RFC 0/6] Refine IGD stolen memory support in VFIO Zhi Wang
2017-06-01  2:52   ` Tian, Kevin
2017-05-29 17:30 ` [Qemu-devel] [RFC 1/6] vfio: Add Intel platform definitions Zhi Wang
2017-06-01 20:22   ` Alex Williamson
2017-05-29 17:30 ` [Qemu-devel] [RFC 2/6] vfio: Setup IGD quirks earlier Zhi Wang
2017-05-29 17:30 ` [Qemu-devel] [RFC 3/6] vfio: Setup IGD stolen memory Zhi Wang
2017-05-29 17:30 ` [Qemu-devel] [RFC 4/6] vfio: Refine GGTT clearing Zhi Wang
2017-05-29 17:30 ` [Qemu-devel] [RFC 5/6] vfio: Remove extra quirks and old definitions Zhi Wang
2017-05-29 17:30 ` [Qemu-devel] [RFC 6/6] vfio: Setup IGD stolen memory under secondary mode Zhi Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=592BDBCD.8030605@intel.com \
    --to=zhi.a.wang@intel.com \
    --cc=alex.williamson@redhat.com \
    --cc=chuanxiao.dong@intel.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=joonas.lahtinen@linux.intel.com \
    --cc=kevin.tian@intel.com \
    --cc=qemu-devel@nongnu.org \
    --cc=xiong.y.zhang@intel.com \
    --cc=zhenyuw@linux.intel.com \
    --cc=zhiyuan.lv@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).