qemu-ppc
[Top][All Lists]
Advanced

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

Re: [Qemu-ppc] [PATCH] e500-pci: Factor into distinct mpc8540 and p4080


From: Scott Wood
Subject: Re: [Qemu-ppc] [PATCH] e500-pci: Factor into distinct mpc8540 and p4080 PCI Hosts
Date: Thu, 31 May 2012 13:20:27 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

On 05/30/2012 06:25 PM, Ben Collins wrote:
> In order to provide a closer virtualization, factor out e500-pci into seperate
> PCI hosts, namely fsl,mpc8540-pci and fsl,p4080-pcie (to match the device-tree
> node naming).
> 
> Make use of the mpc8540 variant (basically a NOP) for ppce500_mpc8544 machine
> type. The p4080-pcie variant can be used later for a P4080DS specific machine
> description.
> 
> The major differences between the two are the host-bridge PCI device ID and 
> the
> difference in starting slot number. Eventually I'd like to get the p4080 
> variant
> to support any valid slot number, and actually move the bus behind the host
> bridge as is done in the physical hardware.

Do these really need to be totally separate implementations?  If we then
want to support another FSL PPC chip's PCI that has some subtle
differences, do we need a third?  If the emulation of these host bridges
is made more complete, we'll have to add that code to every one of these
forks.

I'd rather see one driver that is parameterizable to implement any
mpc85xx/mpc86xx/QorIQ PCI(e).

-Scott




reply via email to

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