[OpenBIOS] [PATCH] pci: fix BAR setup

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Sun Mar 4 23:00:28 CET 2012


On 04/03/12 19:55, Blue Swirl wrote:

> A change in QEMU on how PCI bridges are setup revealed
> a bug in OpenBIOS PCI setup. On Sparc64, the BARs just
> happened to get somewhat correct values by accident before
> the commit but not after the change.
>
> Avoid to set up BARs for host bridge. Fix bridge
> check, this lead to setting up 6 BARs instead of more
> correct 2. If a bridge doesn't have any devices behind it,
> disable it entirely. Fix Sparc64 PCI memory base.
>
> Signed-off-by: Blue Swirl<blauwirbel at gmail.com>

I confirm that this patch appears to fix the problem for me, although I 
guess there may be some further related bridge changes based on the 
current thread with Michael?


ATB,

Mark.



More information about the OpenBIOS mailing list