[lkml]   [2003]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectioremap_nocache() behavior


I am testing the Device driver for a PCI network device on linux-2.4.19
and x86 platform.

I have noticed that the system hangs when I do a writel to a PCI MMIO
region. I tried ioremap_nocache() instead of ioremap() and the behavior
was unpredictable. It hung in a few cases and didn't hang in others. If I
did ioremap_nocache() just before calling writel(), writel seems to work
fine. I have checked the Base address in PCI configuration space using
"lspci -x" command and the driver is getting the correct values.

Any guesses why I am getting this problem? It would be very helpful for me
even if you can give a very vague idea.

One more question - How do I unmap the memory remapped using

Thanks in advance.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:32    [W:0.038 / U:6.900 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site