linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* DMA remote memcpy requests
@ 2018-10-11  7:28 Adam Cottrel
  2018-10-12  9:09 ` Will Deacon
  0 siblings, 1 reply; 18+ messages in thread
From: Adam Cottrel @ 2018-10-11  7:28 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

I am using the ATH10K on Linux 14.4 with an Arm Cavium processor. During heavy loading, I am seeing that target initiated DMA requests are being silently dropped under extreme IO memory pressure and it is proving very difficult to isolate the root cause.

The ATH10K firmware uses the DMA API to set up phy_addr_t pointers (32-bit) which are then copied to a shared ring buffer. The target then initiates the memcpy operation (for target-to-host reads), but I do not have any means of debugging the target directly, and so I am looking for software hooks on the host that might help debug this complex problem.

Please can someone explain the low-level operation of DMA once it becomes a target initiated memcpy function?

Best,
Adam

p.s. I have tested with and without the IOMMU, and I have eliminated issues such as cache coherency being the root cause.

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2018-10-22 15:33 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-11  7:28 DMA remote memcpy requests Adam Cottrel
2018-10-12  9:09 ` Will Deacon
2018-10-12  9:48   ` Adam Cottrel
2018-10-12 10:46     ` Robin Murphy
2018-10-12 11:06       ` Adam Cottrel
2018-10-15 14:34       ` Adam Cottrel
2018-10-15 15:09         ` Jan Glauber
2018-10-15 15:24           ` Adam Cottrel
2018-10-15 15:39             ` Jan Glauber
2018-10-15 15:51               ` Adam Cottrel
2018-10-18 15:36                 ` Adam Cottrel
2018-10-22 14:28                   ` Jan Glauber
2018-10-22 14:39                     ` Adam Cottrel
2018-10-22 15:33                       ` Jan Glauber
     [not found]         ` <DM6PR07MB4923F3328079199090D6D2CA9EFE0@DM6PR07MB4923.namprd07.prod.outlook.com>
2018-10-16 16:52           ` Adam Cottrel
2018-10-16 17:08             ` Robin Murphy
2018-10-12 11:03     ` Jan Glauber
2018-10-12 11:07       ` Adam Cottrel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).