Hi,
I did a little test. No timers, no ipr just allocating the memory and write:
slab_find_and_reserve_bpid(100,
IPR_CONTEXT_SIZE,
8,
MEM_PART_DP_DDR,
NULL,
&bpid);
cdma_acquire_context_memory(bpid,
ipr_instance_ptr);
cdma_write(*ipr_instance_ptr, &ipr_instance_s, IPR_INSTANCE_SIZE);
It ended up with the similar results:
> MAJOR [CPU 0, exception_handler.c:57 exception_handler]: Fatal error encountered in file: cdma.c, line: 279
> MAJOR [CPU 0, exception_handler.c:58 exception_handler]: function: cdma_write
> MAJOR [CPU 0, exception_handler.c:59 exception_handler]: error: System memory write error (permission or ECC).
And by the way, the first print is a bit misleading since the exception handler is in the cdma.c and the file name comes from that code, the actual code is located in the inline_cdma.h file for which the line number also points.
Br,
Wille