qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC PATCH v3 0/3] IGD assignment support for QEMU/vfio
@ 2016-02-13  0:23 Alex Williamson
  2016-02-13  0:23 ` [Qemu-devel] [RFC PATCH v3 1/3] fw/pci: Add support for mapping Intel IGD OpRegion via QEMU Alex Williamson
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Alex Williamson @ 2016-02-13  0:23 UTC (permalink / raw)
  To: seabios; +Cc: alex.williamson, allen.m.kay, qemu-devel, kvm

Turns out that maybe we weren't done with IGD by simply reading a
new fw_cfg, copying it into a new reserved memory buffer and writing
back to the IGD device.  We need another reserved memory buffer for
stolen memory.  The hardware minimum size is 1MB, naturally aligned,
which means we need to be able to actually be able to allocate that.
We write the address of the buffer back to the BDSM register on IGD
so that QEMU can make use of it when doing fixups on vBIOS config
of  the device.  Previous comments on updating the size of the high
memory area suggest that any remaining free memory is returned, so
it appears there's no affect of increasing this limit for systems
without IGD.  Thanks,

Alex

---

Alex Williamson (3):
      fw/pci: Add support for mapping Intel IGD OpRegion via QEMU
      Further increase maximum size of permanent high memory area.
      fw/pci: Allocate IGD stolen memory


 src/config.h     |    2 +-
 src/fw/pciinit.c |   41 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+), 1 deletion(-)

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2016-02-16 12:09 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-13  0:23 [Qemu-devel] [RFC PATCH v3 0/3] IGD assignment support for QEMU/vfio Alex Williamson
2016-02-13  0:23 ` [Qemu-devel] [RFC PATCH v3 1/3] fw/pci: Add support for mapping Intel IGD OpRegion via QEMU Alex Williamson
2016-02-13  0:23 ` [Qemu-devel] [RFC PATCH v3 2/3] Further increase maximum size of permanent high memory area Alex Williamson
2016-02-13  0:23 ` [Qemu-devel] [RFC PATCH v3 3/3] fw/pci: Allocate IGD stolen memory Alex Williamson
2016-02-13  2:49   ` Kevin O'Connor
2016-02-13 15:12     ` Alex Williamson
2016-02-13 18:18       ` Kevin O'Connor
2016-02-13 18:51         ` Alex Williamson
2016-02-13 20:05           ` Kevin O'Connor
2016-02-13 20:57             ` Alex Williamson
2016-02-14  0:20               ` Kevin O'Connor
2016-02-14  1:03                 ` Alex Williamson
2016-02-15  9:54                   ` Igor Mammedov
2016-02-15 19:20                     ` Alex Williamson
2016-02-15 19:29                       ` Michael S. Tsirkin
2016-02-15 19:50                         ` Kevin O'Connor
2016-02-15 20:08                           ` Michael S. Tsirkin
2016-02-15 19:54                         ` Alex Williamson
2016-02-16 12:08                       ` Gerd Hoffmann
2016-02-15 14:15                   ` Kevin O'Connor
2016-02-15 10:31           ` Gerd Hoffmann
2016-02-15 17:46             ` Alex Williamson

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).