[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API
From: |
Olivier Galibert |
Subject: |
Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API |
Date: |
Tue, 28 Jun 2011 18:27:35 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Jun 28, 2011 at 03:09:38PM +0300, Avi Kivity wrote:
> On 06/28/2011 03:07 PM, Jan Kiszka wrote:
> > >
> > > The point is that different buses have different widths.
> > > target_phys_addr_t matches just one bus in the system. It needs to be
> > > the maximum size of all buses present to be useful.
> >
> > Then we need a type for that. Or we need to demand that
> > target_phys_addr_t is defined large enough to support all buses that the
> > particular arch wants to address. Hardcoding 64 bit or anything is not
> > appropriate for a generic subsystem.
>
> Okay, let's make t_p_a_t max(bus size in system). Do we have 32-bit
> targets that don't support pci (I guess, pc-isa with cpu < ppro?). Do
> we want to support a 32-bit variant of pci? It certainly existed at
> some point.
PCI always had a mechanism for 64-bits addresses even on 32-bits wide
bus, called Dual Address Cycle. I'm not sure which was rarer: devices
which could handle it, or north bridges which could use it. Probably
a tie.
But in theory, it was there.
OG.
- [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API, (continued)
- [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API, Avi Kivity, 2011/06/27
- Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API, Michael S. Tsirkin, 2011/06/28
- Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API, Jan Kiszka, 2011/06/28
- Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API, Avi Kivity, 2011/06/28
- Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API, Jan Kiszka, 2011/06/28
- Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API, Avi Kivity, 2011/06/28
- Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API, Jan Kiszka, 2011/06/28
- Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API, Avi Kivity, 2011/06/28
- Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API, Peter Maydell, 2011/06/28
- Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API, Avi Kivity, 2011/06/28
- Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API,
Olivier Galibert <=
- Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API, Avi Kivity, 2011/06/28
[Qemu-devel] [RFC v2 11/20] sysbus: add MemoryRegion based memory management API, Avi Kivity, 2011/06/27
[Qemu-devel] [RFC v2 13/20] pci: add API to get a BAR's mapped address, Avi Kivity, 2011/06/27
[Qemu-devel] [RFC v2 10/20] pci: add MemoryRegion based BAR management API, Avi Kivity, 2011/06/27
Re: [Qemu-devel] [RFC v2 00/20] Memory API, Avi Kivity, 2011/06/27