qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Allocate PCI MMIO without BAR requests.
@ 2015-06-26 15:32 David kiarie
  2015-06-28  7:43 ` Jan Kiszka
  0 siblings, 1 reply; 3+ messages in thread
From: David kiarie @ 2015-06-26 15:32 UTC (permalink / raw)
  To: qemu-devel, Valentine Sinitsyn, Jan Kiszka

Hi all,

Some efforts to emulate AMD IOMMU have being going over the past few months.

In real hardware AMD IOMMU is implemented as a PCI function. When
emulating it in Qemu we want to allocate it MMIO space but real AMD
IOMMU manage to reserve memory without making a BAR request, probably
through a static address that's written by the device.(This is
something similar to what non-PCI bus devices do).Trying to reserve
memory via a BAR request results in address conflicts(in Linux) and
all other PCI devices reserve platform resources via BAR requests.

I would like to hear suggestions on how to reserve a memory region for
the device without making a BAR request.

Cheers,
David.

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

end of thread, other threads:[~2015-06-30  8:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-26 15:32 [Qemu-devel] Allocate PCI MMIO without BAR requests David kiarie
2015-06-28  7:43 ` Jan Kiszka
2015-06-30  8:29   ` [Qemu-devel] IO performance difference on different kernels cauchy-love

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