[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 02/10] versatile_pci: Expose PCI I/O region on V
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 02/10] versatile_pci: Expose PCI I/O region on Versatile PB |
Date: |
Mon, 25 Mar 2013 09:47:44 +0000 |
On 25 March 2013 01:01, Peter Crosthwaite <address@hidden> wrote:
> On Sun, Mar 24, 2013 at 9:32 PM, Peter Maydell <address@hidden> wrote:
>> Comments in the QEMU source code claim that the version of the PCI
>> controller on the VersatilePB board doesn't support the PCI I/O
>> region, but this is incorrect; expose that region, map it in the
>> correct location, and drop the misleading comments.
>>
>> This change removes the only currently implemented difference
>> between the realview-pci and versatile-pci models; however there
>> are other differences in not-yet-implemented functionality, so we
>> retain the distinction between the two device types.
>> @@ -85,10 +85,8 @@ static int pci_vpb_init(SysBusDevice *dev)
>> memory_region_init_io(&s->mem_config2, &pci_vpb_config_ops, bus,
>> "pci-vpb-config", 0x1000000);
>> sysbus_init_mmio(dev, &s->mem_config2);
>> - if (s->realview) {
>
> This is the one and only usage of ->realview. I wonder if this
> argument is flawed - in real hardware is there any functional
> difference between realview and versatile PCI requiring the level of
> heirachy defined here?
Please read the commit message and the later patches in the series :-)
thanks
-- PMM
- [Qemu-devel] [PATCH 00/10] Fix versatile_pci (and break versatilepb linux guests!), Peter Maydell, 2013/03/24
- [Qemu-devel] [PATCH 01/10] versatile_pci: Fix hardcoded tabs, Peter Maydell, 2013/03/24
- [Qemu-devel] [PATCH 10/10] versatile_pci: Expose PCI memory space to system, Peter Maydell, 2013/03/24
- [Qemu-devel] [PATCH 09/10] arm/realview: Fix mapping of PCI regions, Peter Maydell, 2013/03/24
- [Qemu-devel] [PATCH 08/10] versatile_pci: Implement the PCI controller's control registers, Peter Maydell, 2013/03/24
- [Qemu-devel] [PATCH 06/10] versatile_pci: Put the host bridge PCI device at slot 29, Peter Maydell, 2013/03/24
- [Qemu-devel] [PATCH 03/10] versatile_pci: Update to realize and instance init functions, Peter Maydell, 2013/03/24
- [Qemu-devel] [PATCH 07/10] versatile_pci: Implement the correct PCI IRQ mapping, Peter Maydell, 2013/03/24