qemu-ppc
[Top][All Lists]
Advanced

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

[Qemu-ppc] PCI Passthough


From: Jd Lyons
Subject: [Qemu-ppc] PCI Passthough
Date: Fri, 5 Jan 2018 06:10:16 -0500

I’ve been working with the fine folks at Openbios and SLOF for PCI Passthough of a VGA card( Apple OEM Geforce 6600 PCI-E ) The host system is Debian x86/AMD64.

The current state of SLOF is I can get the fCode option rom to load to the end0, and it populates the parent, and all the .properties seem to be correct, but the children( NVDA, address@hidden/b ) are not properly populated. Need to do some work with get-node extend-device.

With Openbios I’m not getting the correct instance, I believe, and the Rom catches an exception around this operation:

       (offset) 9 
8010054 : (compile) b(') [ 0x11 ]
8010057 : (compile) b(to) [ 0xc3 ]
801005a : (compile) b(>resolve) [ 0xb2 ]

: b(>resolve)  ( ffffffff 1 0 ffffffff 0 0 ffffffff fff41a48 0 0 0 0 0 0 ffffffff fff571c4 0 fff57200 0 ) 
fff469bc: resolve-orig  ( ffffffff 1 0 ffffffff 0 0 ffffffff fff41a48 0 0 0 0 0 0 ffffffff fff571c4 0 ) 
fff469c0: execute-tmp-comp  ( ffffffff 1 0 ffffffff 0 0 ffffffff fff41a48 0 0 0 0 0 0 ffffffff fff571c4 0 ) 
fff469c4: (semis) 
[ Finished b(>resolve) ] 801005b : (compile) b(>resolve) [ 0xb2 ]

: b(>resolve)  ( ffffffff 1 0 ffffffff 0 0 ffffffff fff41a48 0 0 0 0 0 0 ffffffff fff571c4 0 ) 
fff469bc: resolve-orig  ( ffffffff 1 0 ffffffff 0 0 ffffffff fff41a48 0 0 0 0 0 0 ffffffff ) 
fff469c0: execute-tmp-comp 
byte-load: exception caught!

For SLOF it seems there is some support for 10de,141 baked in and it should be able to read the option rom from the card, rather than loading it from a disk. For Openbios there is currently no support for reading option rom from pci devices.

Really, we need to make a proper fCode rom for the QEMU,VGA device and load it from qemu-System-ppc, rather than loading a PC VGA Bios, as we do now, and Openbios need to probe the PCI bus for option roms.

If anyone has any interest in advancing this, help would be or insight is welcome.

https://mail.coreboot.org/pipermail/openbios/2017-December/thread.html

https://lists.ozlabs.org/pipermail/slof/2018-January/002008.html



reply via email to

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