From: Jan Kiszka <jan.kiszka@siemens.com>
To: Avi Kivity <avi@redhat.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: [RFC v2 01/20] Hierarchical memory region API
Date: Tue, 28 Jun 2011 14:46:43 +0200 [thread overview]
Message-ID: <4E09CD33.70704@siemens.com> (raw)
In-Reply-To: <4E09C482.6050508@redhat.com>
On 2011-06-28 14:09, 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?).
At least lm32 and microblaze appear to fall into that category.
> Do we want to support a 32-bit variant of pci? It certainly existed at
> some point.
As long as making everything 64 bit in the implementation of the device
models is not guest visible, I don't think that should be a problem.
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
WARNING: multiple messages have this Message-ID (diff)
From: Jan Kiszka <jan.kiszka@siemens.com>
To: Avi Kivity <avi@redhat.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
"Michael S. Tsirkin" <mst@redhat.com>
Subject: Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API
Date: Tue, 28 Jun 2011 14:46:43 +0200 [thread overview]
Message-ID: <4E09CD33.70704@siemens.com> (raw)
In-Reply-To: <4E09C482.6050508@redhat.com>
On 2011-06-28 14:09, 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?).
At least lm32 and microblaze appear to fall into that category.
> Do we want to support a 32-bit variant of pci? It certainly existed at
> some point.
As long as making everything 64 bit in the implementation of the device
models is not guest visible, I don't think that should be a problem.
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2011-06-28 12:46 UTC|newest]
Thread overview: 79+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-27 13:21 [RFC v2 00/20] Memory API Avi Kivity
2011-06-27 13:21 ` [Qemu-devel] " Avi Kivity
2011-06-27 13:21 ` [RFC v2 01/20] Hierarchical memory region API Avi Kivity
2011-06-27 13:21 ` [Qemu-devel] " Avi Kivity
2011-06-28 10:03 ` Michael S. Tsirkin
2011-06-28 10:03 ` [Qemu-devel] " Michael S. Tsirkin
2011-06-28 10:28 ` Jan Kiszka
2011-06-28 10:28 ` [Qemu-devel] " Jan Kiszka
2011-06-28 11:53 ` Avi Kivity
2011-06-28 11:53 ` [Qemu-devel] " Avi Kivity
2011-06-28 12:07 ` Jan Kiszka
2011-06-28 12:07 ` [Qemu-devel] " Jan Kiszka
2011-06-28 12:09 ` Avi Kivity
2011-06-28 12:09 ` [Qemu-devel] " Avi Kivity
2011-06-28 12:46 ` Jan Kiszka [this message]
2011-06-28 12:46 ` Jan Kiszka
2011-06-28 12:53 ` Avi Kivity
2011-06-28 12:53 ` [Qemu-devel] " Avi Kivity
2011-06-28 13:25 ` Peter Maydell
2011-06-28 13:36 ` Avi Kivity
2011-06-28 16:27 ` Olivier Galibert
2011-06-28 11:51 ` Avi Kivity
2011-06-28 11:51 ` [Qemu-devel] " Avi Kivity
2011-06-27 13:21 ` [RFC v2 02/20] memory: implement dirty tracking Avi Kivity
2011-06-27 13:21 ` [Qemu-devel] " Avi Kivity
2011-06-27 13:21 ` [RFC v2 03/20] memory: merge adjacent segments of a single memory region Avi Kivity
2011-06-27 13:21 ` [Qemu-devel] " Avi Kivity
2011-06-27 13:56 ` Jan Kiszka
2011-06-27 13:56 ` [Qemu-devel] " Jan Kiszka
2011-06-27 14:11 ` Avi Kivity
2011-06-27 14:11 ` [Qemu-devel] " Avi Kivity
2011-06-27 13:21 ` [RFC v2 04/20] Internal interfaces for memory API Avi Kivity
2011-06-27 13:21 ` [Qemu-devel] " Avi Kivity
2011-06-27 13:21 ` [RFC v2 05/20] exec.c: initialize memory map Avi Kivity
2011-06-27 13:21 ` [Qemu-devel] " Avi Kivity
2011-06-27 13:21 ` [RFC v2 06/20] pc: grab system_memory Avi Kivity
2011-06-27 13:21 ` [Qemu-devel] " Avi Kivity
2011-06-27 13:21 ` [RFC v2 07/20] pc: convert pc_memory_init() to memory API Avi Kivity
2011-06-27 13:21 ` [Qemu-devel] " Avi Kivity
2011-06-27 13:21 ` [RFC v2 08/20] pc: move global memory map out of pc_init1() and into its callers Avi Kivity
2011-06-27 13:21 ` [Qemu-devel] " Avi Kivity
2011-06-27 13:21 ` [RFC v2 09/20] pci: pass address space to pci bus when created Avi Kivity
2011-06-27 13:21 ` [Qemu-devel] " Avi Kivity
2011-06-27 13:21 ` [RFC v2 10/20] pci: add MemoryRegion based BAR management API Avi Kivity
2011-06-27 13:21 ` [Qemu-devel] " Avi Kivity
2011-06-27 13:21 ` [RFC v2 11/20] sysbus: add MemoryRegion based memory " Avi Kivity
2011-06-27 13:21 ` [Qemu-devel] " Avi Kivity
2011-06-27 13:21 ` [RFC v2 12/20] usb-ohci: convert to MemoryRegion Avi Kivity
2011-06-27 13:21 ` [Qemu-devel] " Avi Kivity
2011-06-27 13:22 ` [RFC v2 13/20] pci: add API to get a BAR's mapped address Avi Kivity
2011-06-27 13:22 ` [Qemu-devel] " Avi Kivity
2011-06-27 13:22 ` [RFC v2 14/20] vmsvga: don't remember pci BAR address in callback any more Avi Kivity
2011-06-27 13:22 ` [Qemu-devel] " Avi Kivity
2011-06-27 13:22 ` [RFC v2 15/20] vga: convert vga and its derivatives to the memory API Avi Kivity
2011-06-27 13:22 ` [Qemu-devel] " Avi Kivity
2011-06-27 13:22 ` [RFC v2 16/20] cirrus: simplify mmio BAR access functions Avi Kivity
2011-06-27 13:22 ` [Qemu-devel] " Avi Kivity
2011-06-27 13:22 ` [RFC v2 17/20] cirrus: simplify bitblt " Avi Kivity
2011-06-27 13:22 ` [Qemu-devel] " Avi Kivity
2011-06-27 13:22 ` [RFC v2 18/20] cirrus: simplify vga window mmio " Avi Kivity
2011-06-27 13:22 ` [Qemu-devel] " Avi Kivity
2011-06-27 13:22 ` [RFC v2 19/20] vga: " Avi Kivity
2011-06-27 13:22 ` [Qemu-devel] " Avi Kivity
2011-06-27 13:22 ` [RFC v2 20/20] cirrus: simplify linear framebuffer " Avi Kivity
2011-06-27 13:22 ` [Qemu-devel] " Avi Kivity
2011-06-27 15:13 ` [RFC v2 00/20] Memory API Avi Kivity
2011-06-27 15:13 ` [Qemu-devel] " Avi Kivity
2011-06-27 15:52 ` Michael S. Tsirkin
2011-06-27 15:52 ` [Qemu-devel] " Michael S. Tsirkin
2011-06-27 15:54 ` Avi Kivity
2011-06-27 15:54 ` [Qemu-devel] " Avi Kivity
2011-06-27 15:59 ` Michael S. Tsirkin
2011-06-27 15:59 ` [Qemu-devel] " Michael S. Tsirkin
2011-06-27 16:10 ` Avi Kivity
2011-06-27 16:10 ` [Qemu-devel] " Avi Kivity
2011-06-27 20:28 ` Anthony Liguori
2011-06-27 20:28 ` Anthony Liguori
2011-06-27 15:37 ` Anthony Liguori
2011-06-27 15:44 ` Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E09CD33.70704@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.