o.k., here is the story:
we are developping a uwb (ultra wide band) network chip.
this should be a wireless 100-500 Mbps with Qos communication chip. (
bluetooth and WiFi, beware ;-)
the prototype i am working on has it's registers and rams mapped as
memory on a PCI card.
i tried using
On Tue, 21 Oct 2003, Erez Doron wrote:
o.k., here is the story:
we are developping a uwb (ultra wide band) network chip.
this should be a wireless 100-500 Mbps with Qos communication chip. (
bluetooth and WiFi, beware ;-)
the prototype i am working on has it's registers and rams mapped
afaik, /proc/bus/pci/XX/YY is configuration space and not memory space
also:
dd if=/dev/mem skip=physical adress bs=4 count=1 of=filename
does not generate any read cycle to my pci card
cheers,
erez.
Gleb Natapov wrote:
Hello,
On Tue, Oct 21, 2003 at 10:53:54AM +0200, Erez Doron wrote:
o.k.,
On Tue, Oct 21, 2003 at 02:24:19PM +0200, Erez Doron wrote:
afaik, /proc/bus/pci/XX/YY is configuration space and not memory space
it is configuration space when you read/write it and memory space when you
mmap it. Look up the implementation of mmap for this file in kernel
(drivers/pci/proc.c)
hi
i am using copy_from_user and copy_to_user functions.
how do i make that physical memory non cached ?
( it seems to write when it wants and read adresses i didnt ask it to read)
cheers,
erez.
=
To unsubscribe, send mail to [EMAIL
On Mon, 20 Oct 2003, Erez Doron wrote:
i am using copy_from_user and copy_to_user functions.
how do i make that physical memory non cached ?
( it seems to write when it wants and read adresses i didnt ask it to read)
can you explain what do you mean by 'reads when it wants to'? after you
Quoth Erez Doron:
i am using copy_from_user and copy_to_user functions.
how do i make that physical memory non cached ?
The simplest way is to snarf a block of contiguous memory OUTside the
kernel, export it and write to/read from it somehow (e.g. by mmap, etc).
Cheerio
--
---OFCNL
This
On Mon, Oct 20, 2003 at 09:46:48PM +0200, Official Flamer/Cabal NON-Leader wrote:
Quoth Erez Doron:
i am using copy_from_user and copy_to_user functions.
how do i make that physical memory non cached ?
The simplest way is to snarf a block of contiguous memory OUTside the
kernel, export
Quoth Muli Ben-Yehuda:
Simplest, but it's also considered a fairly ugly hack :P
Ugly, yes. However, when you want performance and wish to avoid caching
(the latter Erez states and the first I interpolate, possibly wrongly)
and, self-admittedly, being much less conversant with optimization than
On Mon, Oct 20, 2003 at 10:44:09PM +0200, Official Flamer/Cabal NON-Leader wrote:
Quoth Muli Ben-Yehuda:
Simplest, but it's also considered a fairly ugly hack :P
Ugly, yes. However, when you want performance and wish to avoid caching
(the latter Erez states and the first I interpolate,
10 matches
Mail list logo