[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7DF0AF56456B8F4081E3C44CCCE311DE15199F@zch01exm23.fsl.freescale.net>
Date: Thu, 19 Feb 2009 14:10:08 +0800
From: "Zang Roy-R61911" <tie-fei.zang@...escale.com>
To: "Ira Snyder" <iws@...o.caltech.edu>, <linux-kernel@...r.kernel.org>
Cc: <linuxppc-dev@...abs.org>, <netdev@...r.kernel.org>,
"Rusty Russell" <rusty@...tcorp.com.au>,
"Arnd Bergmann" <arnd@...db.de>,
"Jan-Bernd Themann" <THEMANN@...ibm.com>
Subject: RE: [RFC v1] virtio: add virtio-over-PCI driver
> -----Original Message-----
> From:
> linuxppc-dev-bounces+tie-fei.zang=freescale.com@...abs.org
> [mailto:linuxppc-dev-bounces+tie-fei.zang=freescale.com@...abs
> .org] On Behalf Of Ira Snyder
> Sent: Wednesday, February 18, 2009 6:24 AM
> To: linux-kernel@...r.kernel.org
> Cc: linuxppc-dev@...abs.org; netdev@...r.kernel.org; Rusty
> Russell; Arnd Bergmann; Jan-Bernd Themann
> Subject: [RFC v1] virtio: add virtio-over-PCI driver
snip
> diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig
> index 3dd6294..efcf56b 100644
> --- a/drivers/virtio/Kconfig
> +++ b/drivers/virtio/Kconfig
> @@ -33,3 +33,25 @@ config VIRTIO_BALLOON
>
> If unsure, say M.
>
> +config VIRTIO_OVER_PCI_HOST
> + tristate "Virtio-over-PCI Host support (EXPERIMENTAL)"
> + depends on PCI && EXPERIMENTAL
> + select VIRTIO
> + ---help---
> + This driver provides the host support necessary for
> using virtio
> + over the PCI bus with a Freescale MPC8349EMDS
> evaluation board.
> +
> + If unsure, say N.
> +
> +config VIRTIO_OVER_PCI_FSL
> + tristate "Virtio-over-PCI Guest support (EXPERIMENTAL)"
> + depends on MPC834x_MDS && EXPERIMENTAL
> + select VIRTIO
> + select DMA_ENGINE
> + select FSL_DMA
> + ---help---
> + This driver provides the guest support necessary for
> using virtio
> + over the PCI bus.
> +
> + If unsure, say N.
> +
> diff --git a/drivers/virtio/Makefile b/drivers/virtio/Makefile
> index 6738c44..f31afaa 100644
> --- a/drivers/virtio/Makefile
> +++ b/drivers/virtio/Makefile
> @@ -2,3 +2,5 @@ obj-$(CONFIG_VIRTIO) += virtio.o
> obj-$(CONFIG_VIRTIO_RING) += virtio_ring.o
> obj-$(CONFIG_VIRTIO_PCI) += virtio_pci.o
> obj-$(CONFIG_VIRTIO_BALLOON) += virtio_balloon.o
> +obj-$(CONFIG_VIRTIO_OVER_PCI_HOST) += vop_host.o
> +obj-$(CONFIG_VIRTIO_OVER_PCI_FSL) += vop_fsl.o
I suppose we need to build the kernel twice. one for vop_host (on host
with pci enabled) and the
other is for vop_fsl ( on agent with pci disabled). Is it possible to
build one image for both host and
agent. We do not scan the pci bus if the controller is configured to
agent.
Also, is it possible to include mpc85xx architecture? They should be
same.
There is some code for 85xx in Fresscale BSP.
http://www.bitshrine.org/gpp/linux-fsl-2.6.23-MPC8568MDS_PCI_Agent_PCIe_
EP_Drvier.patch
Roy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists