Commit e977cd5b authored by Federico Vaga's avatar Federico Vaga

kernel: improve debug message (DMA fill)

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 96fc5379
......@@ -71,10 +71,18 @@ static int gncore_dma_fill(struct zio_dma_sg *zsg)
&fa_spec_regs[ZFA_DMA_BR_LAST], item->attribute);
}
dev_dbg(zsg->zsgt->hwdev, "configure DMA item %d (block %d)"
"(addr: 0x%llx len: %d)(dev off: 0x%x) (next item: 0x%x)\n",
zsg->page_idx, zsg->block_idx, (long long)sg_dma_address(sg),
sg_dma_len(sg), zsg->dev_mem_off, item->next_addr_l);
dev_dbg(zsg->zsgt->hwdev, "DMA item %d (block %d)\n"
" addr 0x%x\n"
" addr_l 0x%x\n"
" addr_h 0x%x\n"
" length %d\n"
" next_l 0x%x\n"
" next_h 0x%x\n"
" last 0x%x\n",
zsg->page_idx, zsg->block_idx,
item->start_addr, item->dma_addr_l, item->dma_addr_h,
item->dma_len, item->next_addr_l, item->next_addr_h,
item->attribute);
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment