All of lore.kernel.org
 help / color / mirror / Atom feed
* [SPAM]  [uml-devel] Question about Host PCI and DMA support in UML
@ 2008-07-09  6:59 lianwei Wang
  2008-07-10 17:35 ` Jeff Dike
  0 siblings, 1 reply; 2+ messages in thread
From: lianwei Wang @ 2008-07-09  6:59 UTC (permalink / raw)
  To: jdike; +Cc: user-mode-linux-devel


[-- Attachment #1.1: Type: text/plain, Size: 1260 bytes --]

Hello Jeff Dike,

I find from the UML website that the UML can access the host PCI device
accessing with VPCI patch, but it seem that that VPCI patch is too old. Do
you know that latest information about the VPCI patch? Is it stable? And
where could I find the patch?

From the below mail you say that you are trying to emulate the DMA using
iomem. How about the latest information of it?  And does it worked or not?


*Re: [uml-user] PCI & DMA
From: P. Thambi <uml_linux@ya...> - 2003-10-06 23:02
    --- Jeff Dike <jdike@ad...> wrote:
> uml_linux@ya... said:
> > Is there any other ways to emulate the PCI & DMA
> in uml other than
> > using iomems?
>
> There's Jon Smirl's VPCI patch for PCI. I don't
> know what you can do for
> DMA since any addresses that UML knows about will be
> virtual ones, and DMA
> has to be to physical addresses.

I looked at VPCI but it for actual PCI device access
in the x86 I believe. Yes DMA access needs using
physical address. But I am trying to emulate the DMA
using iomem. so I that I can some how map(emulate) the
register access/virtual->physical address in iomem
memory. I know to emulate the entire PPC processor is
a big task. But I dont have any other option because
hardware is little behind.

Thanks,
Lianwei
*

[-- Attachment #1.2: Type: text/html, Size: 1457 bytes --]

[-- Attachment #2: Type: text/plain, Size: 347 bytes --]

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08

[-- Attachment #3: Type: text/plain, Size: 194 bytes --]

_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [uml-devel] Question about Host PCI and DMA support in UML
  2008-07-09  6:59 [SPAM] [uml-devel] Question about Host PCI and DMA support in UML lianwei Wang
@ 2008-07-10 17:35 ` Jeff Dike
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Dike @ 2008-07-10 17:35 UTC (permalink / raw)
  To: lianwei Wang; +Cc: user-mode-linux-devel

[-- Attachment #1: Type: text/plain, Size: 799 bytes --]

On Wed, Jul 09, 2008 at 02:59:02PM +0800, lianwei Wang wrote:
> I find from the UML website that the UML can access the host PCI device
> accessing with VPCI patch, but it seem that that VPCI patch is too old. Do
> you know that latest information about the VPCI patch? Is it stable? And
> where could I find the patch?

The VPCI patch is old.  Attached is the latest tarball that I can find.

> >From the below mail you say that you are trying to emulate the DMA using
> iomem. How about the latest information of it?  And does it worked or not?

iomem works fine - it just depends on whether it's what you want.  If
you want actual DMA from a physical device, it's not.  If you want to
emulate an iomapped device, then it is.

	   	    	    Jeff

-- 
Work email - jdike at linux dot intel dot com

[-- Attachment #2: vpci.tgz --]
[-- Type: application/x-gzip, Size: 35481 bytes --]

[-- Attachment #3: Type: text/plain, Size: 347 bytes --]

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08

[-- Attachment #4: Type: text/plain, Size: 194 bytes --]

_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-10 17:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-09  6:59 [SPAM] [uml-devel] Question about Host PCI and DMA support in UML lianwei Wang
2008-07-10 17:35 ` Jeff Dike

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.