[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH v2 05/10] raven: set a correct PCI I/O memory regi
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-ppc] [PATCH v2 05/10] raven: set a correct PCI I/O memory region |
Date: |
Wed, 04 Sep 2013 10:11:47 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 |
Il 04/09/2013 09:22, Peter Maydell ha scritto:
> > Not using address_space_io is fine as well, but it's a separate change
> > and I doubt it is a good idea to do it for a single target; if you do it
> > for all non-x86 PCI bridges, and move the initialization of
> > address_space_io to target-i386, that's a different story of course.
> What's the problem with doing it for a single target? That's
> what I did for versatilepb. I think any CPU that doesn't have
> inb/outb type instructions (x86 does, and I think also alpha
> but I forget)
Actually, Alpha is also not using address_space_io at all as far as I
can see.
> should not be using address_space_io; but the
> easiest way to get there is to convert the PCI bridges one at
> a time as we have maintenance effort to do so.
I'm not against the patch, but there are less than ten host bridges and
most of them should be tested by "make check", so I would prefer to have
a plan for making things consistent.
Paolo
- [Qemu-ppc] [PATCH v2 00/10] prep: improve Raven PCI host emulation, Hervé Poussineau, 2013/09/03
- [Qemu-ppc] [PATCH v2 02/10] raven: use constant PCI_NUM_PINS instead of 4, Hervé Poussineau, 2013/09/03
- [Qemu-ppc] [PATCH v2 01/10] prep: kill get_system_io() usage, Hervé Poussineau, 2013/09/03
- [Qemu-ppc] [PATCH v2 03/10] raven: move BIOS loading from board code to PCI host, Hervé Poussineau, 2013/09/03
- [Qemu-ppc] [PATCH v2 04/10] raven: rename intack region to pci_intack, Hervé Poussineau, 2013/09/03
- [Qemu-ppc] [PATCH v2 05/10] raven: set a correct PCI I/O memory region, Hervé Poussineau, 2013/09/03
- Re: [Qemu-ppc] [PATCH v2 05/10] raven: set a correct PCI I/O memory region, Paolo Bonzini, 2013/09/04
- Re: [Qemu-ppc] [PATCH v2 05/10] raven: set a correct PCI I/O memory region, Andreas Färber, 2013/09/04
- Re: [Qemu-ppc] [PATCH v2 05/10] raven: set a correct PCI I/O memory region, Hervé Poussineau, 2013/09/09
- Re: [Qemu-ppc] [PATCH v2 05/10] raven: set a correct PCI I/O memory region, Peter Maydell, 2013/09/09
- Re: [Qemu-ppc] [PATCH v2 05/10] raven: set a correct PCI I/O memory region, Paolo Bonzini, 2013/09/10
[Qemu-ppc] [PATCH v2 06/10] raven: set a correct PCI memory region, Hervé Poussineau, 2013/09/03
[Qemu-ppc] [PATCH v2 07/10] raven: add PCI bus mastering address space, Hervé Poussineau, 2013/09/03
[Qemu-ppc] [PATCH v2 08/10] raven: implement non-contiguous I/O region, Hervé Poussineau, 2013/09/03