qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Multiple pci buses


From: Alexey Kardashevskiy
Subject: Re: [Qemu-devel] Multiple pci buses
Date: Mon, 17 Mar 2014 13:09:26 +1100
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

On 03/16/2014 08:21 AM, BALATON Zoltan wrote:
> Hello,
> 
> I'm trying to change hw/ppc/mac_newworld.c and hw/pci-host/uninorth.c to
> bring the mac99 machine type closer to what's seen in these dumps:
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=604134
> http://nandra.segv.jp/NetBSD/G4.dump-device-tree.txt
> http://raveland.org/ports/eeprom.txt
> http://mail-index.netbsd.org/port-macppc/2007/10/24/0000.html
> 
> This machine seems to have 3 pci busses but the third is not important just
> the other two:
> 
> ff8721c0: /address@hidden
> ff898cd0:   /address@hidden
> ff898f40:   /ATY,address@hidden
> ff873268: /address@hidden
> ff8742d8:   /address@hidden
> ff876368:     /address@hidden
> 
> The first is actually an AGP bus with the onboard graphics card and the
> second is where other devices are. It would be enough to create an empty
> bus without the AGP graphics card for now and have the devices on the
> second bus. The pci_pmac_init function in uninorth.c seems to have some
> commented out code to try to model this but that does not work. Can someone
> who understands this better please explain what should be done to model the
> above? How to create two pci buses and connect them to separate memory
> regions?

[adding address@hidden to cc]

I have no idea how that "pmac" works... On pseries you can add multiple
PHBs via "-device spapr-pci-host-bridge,id=lalala" and then put devices
onto it by "-device e1000,bus=lalala.0" so this should be good reference to
start with.




-- 
Alexey



reply via email to

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