[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH 03/12] e500: note possible bug with host bridge
From: |
David Gibson |
Subject: |
Re: [Qemu-ppc] [PATCH 03/12] e500: note possible bug with host bridge |
Date: |
Wed, 22 Nov 2017 14:46:37 +1100 |
User-agent: |
Mutt/1.9.1 (2017-09-22) |
On Sun, Nov 19, 2017 at 09:24:11PM -0600, Michael Davidsaver wrote:
> Signed-off-by: Michael Davidsaver <address@hidden>
I'm not sure if you're saying you think there is a hardware bug which
we're faithfully emulating, or a software bug.
> ---
> hw/pci-host/ppce500.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/hw/pci-host/ppce500.c b/hw/pci-host/ppce500.c
> index f2d108bc8a..0e2833bd98 100644
> --- a/hw/pci-host/ppce500.c
> +++ b/hw/pci-host/ppce500.c
> @@ -424,6 +424,9 @@ static void e500_pcihost_bridge_realize(PCIDevice *d,
> Error **errp)
> MemoryRegion *ccsr_mr = sysbus_mmio_get_region(ccsr, 0);
>
> pci_config_set_class(d->config, PCI_CLASS_BRIDGE_PCI);
> + /* BUG? identifies as PCI_HEADER_TYPE_BRIDGE but uses
> + * standard device config read/write
> + */
> d->config[PCI_HEADER_TYPE] =
> (d->config[PCI_HEADER_TYPE] & PCI_HEADER_TYPE_MULTI_FUNCTION) |
> PCI_HEADER_TYPE_BRIDGE;
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature
- [Qemu-ppc] [PATCH 00/12] Add MVME3100 PPC SBC, Michael Davidsaver, 2017/11/19
- [Qemu-ppc] [PATCH 04/12] e500: additional CCSR registers, Michael Davidsaver, 2017/11/19
- [Qemu-ppc] [PATCH 03/12] e500: note possible bug with host bridge, Michael Davidsaver, 2017/11/19
- Re: [Qemu-ppc] [PATCH 03/12] e500: note possible bug with host bridge,
David Gibson <=
- [Qemu-ppc] [PATCH 05/12] e500: name openpic and pci host bridge, Michael Davidsaver, 2017/11/19
- [Qemu-ppc] [PATCH 07/12] qtest: add e500_i2c_create(), Michael Davidsaver, 2017/11/19
- [Qemu-ppc] [PATCH 06/12] i2c: add mpc8540 i2c controller, Michael Davidsaver, 2017/11/19
- [Qemu-ppc] [PATCH 08/12] e500: add mpc8540 i2c controller to ccsr, Michael Davidsaver, 2017/11/19