qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] [PATCH 44/77] pci-bridge: Set a supported devfn_min for b


From: Paolo Bonzini
Subject: Re: [Qemu-ppc] [PATCH 44/77] pci-bridge: Set a supported devfn_min for bridge
Date: Wed, 18 Nov 2015 13:31:47 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0


On 11/11/2015 01:27, Benjamin Herrenschmidt wrote:
>      if (bridge_dev->flags & (1 << PCI_BRIDGE_DEV_F_SHPC_REQ)) {
> +        /* SHCP gets upset if we try to use slot 0 */
> +        br->sec_bus.devfn_min = PCI_FUNC_MAX;
>          dev->config[PCI_INTERRUPT_PIN] = 0x1;
>          memory_region_init(&bridge_dev->bar, OBJECT(dev), "shpc-bar",
>                             shpc_bar_size(dev));

This needs backwards compatibility gunk unfortunately.  However we
should fix it in 2.5 because it's a bug.  I'll send a patch.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]