Re: [Linux-ATM-General] Re: ATM driver for 8260 (linux 2.4.x)

2 messages, 2 authors, 2002-01-29 · open the first message on its own page

Re: [Linux-ATM-General] Re: ATM driver for 8260 (linux 2.4.x)

From: Wolfgang Denk <hidden>
Date: 2002-01-29 15:55:06

In message [off-list ref] you wrote:
For some reason the interrupt handler reads old
values, although the CPM puts new data. (I checked it
Sounds like a cache problem...
using JTAG). It seems
like the old data are kept on buffers and are not
refreshed. Unfortunetely i did what Hofrat saied,
but it doesn't work. Is there a function for forcing
refresh? flush_tlb or flush_dcache perhaps?
flush_dcache_range().
quoted
quoted
Also, in the original driver Alex used the
mm_alloc_uncached_pages function, but i have
replased
quoted
it with kmalloc(size, GFP_KERNEL). Is it correct?
Hint! Hint!

Hope this helps,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
As far as we know, our computer has never had an undetected error.
		                                           -- Weisert

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: [Linux-ATM-General] Re: ATM driver for 8260 (linux 2.4.x)

From: None Atall <hidden>
Date: 2002-01-29 16:30:40

  It was realy cache problem! I had to disable
both caches I,D from the head.S to find that!
Well the receaver works ok with Dcache off....
As I looked from the mpc860sar code, there is a
way to tell linux not to cache specific pages.
But the functions are not compatible with 8260.
Does anyone know how to do that for 8260?

                    Thanks a lot for your time!
                        D. Meidanis


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help