Re: [Linux-ATM-General] Re: ATM driver for 8260 (linux 2.4.x)
From: None Atall <hidden>
Date: 2002-01-29 14:23:21
Mr Hofrat is right!
For some reason the interrupt handler reads old
values, although the CPM puts new data. (I checked it
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?
Thanks!
D. Meidanis
--- Der Herr Hofrat <der.herr@mail.hofr.at> wrote:quoted
But until you do it, could you help me in one problem that i have? I have imported the mpc860sar driver myself. But i have this problem. When i use theareadquoted
program, i seem to take the data ok. But if fromthequoted
transmit computer i send quick the data, the CPMseemsquoted
to jump positions in the Interrupt Queue. I mean thatmyquoted
pointer (SW) increases correct, but the CPMincreasesquoted
without putting an interrupt entry. Any ideas? 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?I don't know about the details of your setup - but we had similar phenomenon with a driver on the CPM that acknowledged the interrupt too late - the therapy was to move the interrupt ack to the top of the driver and all was well. so maby you are seeing the same problem due to the same driver coding error . hofrat
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/