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 havereplasedquoted
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/