Driver
Dmesg output:
[ 1 3 3 2 . 1 1 8 5 9 9 ] x d m a : c h a r _ s g d m a _ l l s e e k : c h a r _ s g d m a _ l l s e e k : p o s = 2 1 4 7 4 8 3 6 4 8
[ 1 3 3 2 . 1 2 5 0 5 1 ] x d m a : c h a r _ s g d m a _ r e a d _ w r i t e : f i l e 0 x f f f f f f c 8 7 a 6 e a 9 0 0 , p r i v 0 x f f f f f f c 8 7 5 f 3 e 0 e 8 , b u f 0 x 0 0 0 0 0 0 0 0 2 0 d 2 1 0 0 0 , 4 0 9 6 , p o s 2 1 4 7 4 8 3 6 4 8 , W 0 , 0 - C 2 H 0 - M M .
[ 1 3 3 2 . 1 3 8 5 4 7 ] x d m a : x d m a _ r e q u e s t _ c b _ d u m p : r e q u e s t 0 x f f f f f f c 8 7 a 6 a 5 e 0 0 , t o t a l 4 0 9 6 , e p 0 x 8 0 0 0 0 0 0 0 , s w _ d e s c 1 , s g t 0 x f f f f f f 8 0 0 f e c b d 6 8 .
[ 1 3 3 2 . 1 5 0 1 0 5 ] x d m a : s g t _ d u m p : s g t 0 x f f f f f f 8 0 0 f e c b d 6 8 , s g l 0 x f f f f f f c 8 7 1 6 1 c 9 8 0 , n e n t s 1 / 1 .
[ 1 3 3 2 . 1 5 7 9 2 9 ] x d m a : s g t _ d u m p : 0 , 0 x f f f f f f c 8 7 1 6 1 c 9 8 0 , p g 0 x f f f f f f b f 1 d 7 7 2 8 3 8 , 0 + 4 0 9 6 , d m a 0 x 8 6 b 3 0 1 0 0 0 , 4 0 9 6 .
[ 1 3 3 2 . 1 6 7 1 4 1 ] x d m a : x d m a _ r e q u e s t _ c b _ d u m p : 0 / 1 , 0 x 8 6 b 3 0 1 0 0 0 , 4 0 9 6 .
[ 1 3 3 2 . 1 7 2 9 6 7 ] x d m a : x d m a _ x f e r _ s u b m i t : 0 - C 2 H 0 - MM , l e n 4 0 9 6 s g c n t 1 .
[ 1 3 3 2 . 1 7 8 9 6 4 ] x d m a : t r a n s f e r _ i n i t : t r a n s f e r - > d e s c _ b u s = 0 x 7 0 1 b 0 0 0 0 .
[ 1 3 3 2 . 1 8 4 9 6 4 ] x d m a : t r a n s f e r _ b u i l d : s w d e s c 0 / 1 : 0 x 8 6 b 3 0 1 0 0 0 , 0 x 1 0 0 0 , e p 0 x 8 0 0 0 0 0 0 0 .
[ 1 3 3 2 . 1 9 2 4 3 7 ] x d m a : t r a n s f e r _ i n i t : t r a n s f e r 0 x f f f f f f c 8 7 a 6 a 5 e 1 8 h a s 1 d e s c r i p t o r s
[ 1 3 3 2 . 1 9 9 5 6 6 ] x d m a : x d m a _ x f e r _ s u b m i t : x f e r , 4 0 9 6 , e p 0 x 8 0 0 0 1 0 0 0 , d o n e 0 , s g 1 / 1 .
[ 1 3 3 2 . 2 0 6 6 9 2 ] x d m a : t r a n s f e r _ d u m p : x f e r 0 x f f f f f f c 8 7 a 6 a 5 e 1 8 , s t a t e 0 x0 , f 0 x1 , d i r 2 , l e n 4 0 9 6 , l a s t 1 .
[ 1 3 3 2 . 2 1 5 7 2 9 ] x d m a : t r a n s f e r _ d u m p : t r a n s f e r 0 x f f f f f f c 8 7 a 6 a 5 e 1 8 , d e s c 1 , b u s 0 x 7 0 1 b 0 0 0 0 , a d j 1 .
[ 1 3 3 2 . 2 2 4 0 7 0 ] x d m a : d u m p _ d e s c : 0 x f f f f f f 8 0 0 f b c 2 0 0 0 / 0 x 0 0 : 0 x a d 4 b 0 0 1 3 0 x a d 4 b 0 0 1 3 m a g i c | e x t r a _ a d j a c e n t | c o n t r o l
[ 1 3 3 2 . 2 3 3 4 5 5 ] x d m a : d u m p _ d e s c : 0 x f f f f f f 8 0 0 f b c 2 0 0 4 / 0 x 0 4 : 0 x 0 0 0 0 1 0 0 0 0 x 0 0 0 0 1 0 0 0 b y t e s
[ 1 3 3 2 . 2 4 0 8 4 1 ] x d m a : d u m p _ d e s c : 0 x f f f f f f 8 0 0 f b c 2 0 0 8 / 0 x 0 8 : 0 x 8 0 0 0 0 0 0 0 0 x 8 0 0 0 0 0 0 0 s r c _ a d d r _ l o
[ 1 3 3 2 . 2 4 8 7 5 6 ] x d m a : d u m p _ d e s c : 0 x f f f f f f 8 0 0 f b c 2 0 0 c / 0 x 0 c : 0 x 0 0 0 0 0 0 0 0 0 x 0 0 0 0 0 0 0 0 s r c _ a d d r _ h i
[ 1 3 3 2 . 2 5 6 6 6 7 ] x d m a : d u m p _ d e s c : 0 x f f f f f f 8 0 0 f b c 2 0 1 0 / 0 x 0 0 : 0 x 6 b 3 0 1 0 0 0 0 x 6 b 3 0 1 0 0 0 d s t _ a d d r _ l o
[ 1 3 3 2 . 2 6 4 5 7 8 ] x d m a : d u m p _ d e s c : 0 x f f f f f f 8 0 0 f b c 2 0 1 4 / 0 x 0 4 : 0 x 0 0 0 0 0 0 0 8 0 x 0 0 0 0 0 0 0 8 d s t _ a d d r _ h i
[ 1 3 3 2 . 2 7 2 4 9 2 ] x d m a : d u m p _ d e s c : 0 x f f f f f f 8 0 0 f b c 2 0 1 8 / 0 x 0 8 : 0 x 0 0 0 0 0 0 0 0 0 x 0 0 0 0 0 0 0 0 n e x t _ a d d r
[ 1 3 3 2 . 2 8 0 2 2 8 ] x d m a : d u m p _ d e s c : 0 x f f f f f f 8 0 0 f b c 2 0 1 c / 0 x 0 c : 0 x 0 0 0 0 0 0 0 0 0 x 0 0 0 0 0 0 0 0 n e x t _ a d d r _ p a d
[ 1 3 3 2 . 2 8 8 3 1 0 ] x d m a : d u m p _ d e s c :
[ 1 3 3 2 . 2 9 1 1 8 3 ] x d m a : t r a n s f e r _ q u e u e : t r a n s f e r _ q u e u e ( t r a n s f e r = 0 x f f f f f f c 8 7 a 6 a 5 e 1 8 ) .
[ 1 3 3 2 . 2 9 8 3 0 8 ] x d m a : t r a n s f e r _ q u e u e : t r a n s f e r _ q u e u e ( ) : s t a r t i n g 0 - C 2 H 0 - M M e n g i n e .
[ 1 3 3 2 . 3 0 5 4 3 0 ] x d m a : e n g i n e _ s t a r t : e n g i n e _ s t a r t ( 0 - C 2 H 0 - M M ) : t r a n s f e r = 0 x f f f f f f c 8 7 a 6 a 5 e 1 8 .
[ 1 3 3 2 . 3 1 3 1 5 6 ] x d m a : e n g i n e _ s t a r t : i o w r i t e 3 2 ( 0 x 7 0 1 b 0 0 0 0 t o 0 x f f f f f f 8 0 0 f b a 5 0 8 0 ) ( f i r s t _ d e s c _ l o )
[ 1 3 3 2 . 3 2 1 4 0 4 ] x d m a : _ _ w r i t e _ r e g i s t e r : e n g i n e _ s t a r t : w r e g 0 x f f f f f f b 7 9 5 8 c 6 6 e 0 ( 0 x f f f f f f 8 0 0 f b a 5 0 8 0 ) , 0 x 7 0 1 b 0 0 0 0 .
[ 1 3 3 2 . 3 3 1 0 3 9 ] x d m a : e n g i n e _ s t a r t : i o w r i t e 3 2 ( 0 x 0 0 0 0 0 0 0 0 t o 0 x f f f f f f 8 0 0 f b a 5 0 8 4 ) ( f i r s t _ d e s c _ h i )
DMA transfer, PCIe Driver and FPGA Tools
Jan Marjanovic (MTCA Tech Lab/DESY), 2019-06-24 Page 9/10