[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/3] Add a new PCI region type to supports 64 bi
Re: [Qemu-devel] [PATCH 2/3] Add a new PCI region type to supports 64 bit ranges
Thu, 29 Dec 2011 16:57:53 +1300
Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0
On 29/12/11 00:30, Michael S. Tsirkin wrote:
If a device is on the root bus and have BAR flags 0x4 (TYPE_MEMORY and
memory will be allocated in 64bit range all flags remain the same. I did
this just out
On Wed, Dec 28, 2011 at 06:26:05PM +1300, Alexey Korolev wrote:
This patch adds PCI_REGION_TYPE_PREFMEM_64 region type and modifies types of
variables to make it possible to work with 64 bit addresses.
Why I've added just one region type PCI_REGION_TYPE_PREFMEM_64 and haven't
added PCI_REGION_TYPE_MEM_64? According to PCI architecture
bridges can describe 64bit ranges for prefetchable type of memory
only. So it's very
unlikely that devices exporting 64bit non-prefetchable BARs.
Might happen for system devices I guess.
this code will work
with 64bit non-prefetchable BARs unless the PCI device is not behind
the secondary bus.
So what happens if such a device is on root bus?
of curiosity and this appears to work well.
[Qemu-devel] [PATCH 3/3] Changes related to secondary buses and 64bit regions, Alexey Korolev, 2011/12/28