mpc8248 SEC -- interrupt handler "is" invoked
Kim Phillips
kim.phillips at freescale.com
Tue Aug 2 03:37:28 EST 2005
On Sun, 31 Jul 2005 20:48:16 -0400 (EDT)
"Vikas Aggarwal" <va824363 at albany.edu> wrote:
> Tried it as u said . No luck :(
> But something more i noted now in CPSR(channel pointer status
> register=0x2040) that before ISR invoked it has 0x0:0x7.
>
> After ISR invoked it has 0x7:0x2007 . The 7 in low bits means
> channel_error and 2 is at "reserved" bits as per documentation, don't know
> what that means.
>
> I also tried kmalloc with GFP_DMA, for the memory where i create the
> Descriptor.
> Please keep giving ideas for debugging this as this is what driving me
> right now.
> regards
> -vikas
So you reset the master, then the channel, allocate the RNG descriptor, allocate the random data buffer, fill the descriptor with values for an RNG request the size of your buffer (filling with the physical address of your random data buffer), and submit the descriptor's physical address to the FR..
btw, I'm finding it hard to help without seeing sec register transaction data, descriptor data, virtual and physical addresses, etc.
Kim
More information about the Linuxppc-embedded
mailing list