qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/2] Adding BAR0 for e500 PCI controller


From: Avi Kivity
Subject: Re: [Qemu-devel] [PATCH 2/2] Adding BAR0 for e500 PCI controller
Date: Thu, 04 Oct 2012 19:02:28 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1

On 10/04/2012 06:50 PM, Alexander Graf wrote:
>>> 
>>> No, it also meets (2). The PCI address space is identical to the CPU memory
>>> space in our mapping right now. So if the guest maps BAR0 somewhere, it
>>> automatically maps CCSR into CPU address space, which exposes it to PCI 
>>> address
>>> space.
>> 
>> Really? I think on powerpc the pci address space is defined as: it maps the 
>> outbound window just below 0x1_0000_0000, then CCSR and then inbound window. 
>> So inbound window is 1:1 map if guest physical starts from 0x0. But I do not 
>> think CCSR is 1:1 map in pci address space and cpu address space. 
> 
> In QEMU, we map everything 1:1 today.

An unmerged patch set entitled "Integrate DMA into the memory API"
changes that.  I'll be happy to work with you to make use of it to
emulate the hardware properly, it will give me a nice test case.

-- 
error compiling committee.c: too many arguments to function



reply via email to

[Prev in Thread] Current Thread [Next in Thread]