[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH v5 0/6] qdev'ify PReP PCI host bridge and add PCI-to-I
From: |
Andreas Färber |
Subject: |
[Qemu-ppc] [PATCH v5 0/6] qdev'ify PReP PCI host bridge and add PCI-to-ISA bridge |
Date: |
Mon, 16 Jan 2012 17:18:02 +0100 |
Hello,
Here's a slightly simplified qdev'ification series for PReP.
Sizes other than 1/2/4 are currently not supported, so no need to abort().
Regards,
Andreas
Changes since v4:
* Patches 1-2 were applied to prep-up, thus drop.
* Drop switch statements for prep_pci_io_{read,write}(). Suggested by Avi.
Changes since v3:
* i82378: Add i8259 IRQs as state and provide qdev GPIO-in access to them.
* prep: Update wiring of IRQs. Both suggested by Jan.
Changes since v2:
* Simplify I/O byte swaps.
* Convert I/O from old_mmio to MemoryRegion ops.
* Drop pci_prep_init() and instantiate the PCI host bridge in the machine,
reintroducing PREPPCIState extension.
* Connect IRQs via qdev after instantiating. Suggested by Alex.
* Add a rebased PCI-to-ISA-bridge from the 40P series on top, to show why
some suggestions from v2 and IRC don't work out.
* Merge fix-up by Hervé: Add indirection for late-connected out[0] IRQ.
* Add VMState for i82374 and i82378.
* From i82378 drop the I/O address translation duplicated from the board.
* Rebase i82378 onto Memory API.
http://patchwork.ozlabs.org/patch/100250/
http://patchwork.ozlabs.org/patch/100272/
* Add new patch from Hervé to wire up the PCI-to-ISA bridge for 'prep'.
Changes since v1:
* Use the new .vendor_id etc. in PCIDeviceInfo
* Rename from PRePPCI to Raven, adopt naming scheme from i440FX
* Rebase onto multiple Memory API conversions
* Split into PCIDevice and SysBus patches, leave out PREPPCIState changes
http://patchwork.ozlabs.org/patch/100268/
Cc: Hervé Poussineau <address@hidden>
Cc: Anthony Liguori <address@hidden>
Cc: Alexander Graf <address@hidden>
Cc: Jan Kiszka <address@hidden>
Andreas Färber (6):
prep_pci: Update I/O to MemoryRegion ops
prep: qdev'ify Raven host bridge (SysBus)
MAINTAINERS: Add PCI host bridge files to PReP machine
prep: Add i82374 DMA emulation
prep: Add i82378 PCI-to-ISA bridge emulation
prep: Use i82378 PCI->ISA bridge for 'prep' machine
MAINTAINERS | 1 +
Makefile.objs | 2 +
default-configs/ppc-softmmu.mak | 3 +
hw/i82374.c | 154 +++++++++++++++++++++++
hw/i82378.c | 264 +++++++++++++++++++++++++++++++++++++++
hw/pci_ids.h | 1 +
hw/ppc_prep.c | 76 +++++-------
hw/prep_pci.c | 109 +++++++---------
hw/prep_pci.h | 11 --
9 files changed, 503 insertions(+), 118 deletions(-)
create mode 100644 hw/i82374.c
create mode 100644 hw/i82378.c
delete mode 100644 hw/prep_pci.h
--
1.7.7
- [Qemu-ppc] [PATCH v4 0/8] qdev'ify PReP PCI host bridge and add PCI-to-ISA bridge, (continued)
- [Qemu-ppc] [PATCH v4 0/8] qdev'ify PReP PCI host bridge and add PCI-to-ISA bridge, Andreas Färber, 2012/01/13
- [Qemu-ppc] [PATCH v4 3/8] prep_pci: Update I/O to MemoryRegion ops, Andreas Färber, 2012/01/13
- [Qemu-ppc] [PATCH v4 1/8] prep: qdev'ify Raven host bridge (PCIDevice), Andreas Färber, 2012/01/13
- [Qemu-ppc] [PATCH v4 2/8] prep_pci: Simplify I/O endianness, Andreas Färber, 2012/01/13
- [Qemu-ppc] [PATCH v4 5/8] MAINTAINERS: Add PCI host bridge files to PReP machine, Andreas Färber, 2012/01/13
- [Qemu-ppc] [PATCH v4 4/8] prep: qdev'ify Raven host bridge (SysBus), Andreas Färber, 2012/01/13
- [Qemu-ppc] [PATCH v4 8/8] prep: Use i82378 PCI->ISA bridge for 'prep' machine, Andreas Färber, 2012/01/13
- [Qemu-ppc] [PATCH v4 6/8] prep: Add i82374 DMA emulation, Andreas Färber, 2012/01/13
- [Qemu-ppc] [PATCH v4 7/8] prep: Add i82378 PCI-to-ISA bridge emulation, Andreas Färber, 2012/01/13
- Re: [Qemu-ppc] [Qemu-devel] [PATCH v4 0/8] qdev'ify PReP PCI host bridge and add PCI-to-ISA bridge, Andreas Färber, 2012/01/16
- [Qemu-ppc] [PATCH v5 0/6] qdev'ify PReP PCI host bridge and add PCI-to-ISA bridge,
Andreas Färber <=
- [Qemu-ppc] [PATCH v5 1/6] prep_pci: Update I/O to MemoryRegion ops, Andreas Färber, 2012/01/16
- [Qemu-ppc] [PATCH v5 3/6] MAINTAINERS: Add PCI host bridge files to PReP machine, Andreas Färber, 2012/01/16
- [Qemu-ppc] [PATCH v5 2/6] prep: qdev'ify Raven host bridge (SysBus), Andreas Färber, 2012/01/16
- [Qemu-ppc] [PATCH v5 6/6] prep: Use i82378 PCI->ISA bridge for 'prep' machine, Andreas Färber, 2012/01/16
- [Qemu-ppc] [PATCH v5 5/6] prep: Add i82378 PCI-to-ISA bridge emulation, Andreas Färber, 2012/01/16
- [Qemu-ppc] [PATCH v5 4/6] prep: Add i82374 DMA emulation, Andreas Färber, 2012/01/16
- Re: [Qemu-ppc] [Qemu-devel] [PATCH v5 0/6] qdev'ify PReP PCI host bridge and add PCI-to-ISA bridge, Andreas Färber, 2012/01/19