<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Would you have or know some sample Code?<br><br><div dir="ltr">On<span style="font-size: 13pt;"> The Road</span></div><div dir="ltr"><br><blockquote type="cite">Am 15.01.2021 um 21:04 schrieb Paul Boddie <paul@boddie.org.uk>:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><span>On Friday, 15 January 2021 09:49:34 CET H. Nikolaus Schaller wrote:</span><br><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Am 15.01.2021 um 00:49 schrieb Paul Boddie <paul@boddie.org.uk>:</span><br></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Paul<0001-JZ4730-Fixed-DMA-interrupt-pending-tests.patch></span><br></blockquote></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Thanks! I gave it a try but we still have the waiting for mmc issue.</span><br></blockquote><span></span><br><span>Yes, it was a long shot, but definitely something that needed fixing.</span><br><span></span><br><blockquote type="cite"><span>Hm. Maybe we need a different test strategy.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Boot with non-dma MMC driver and try to use DMA for something else after</span><br></blockquote><blockquote type="cite"><span>successful boot. Maybe a dummy driver which just tries to copy bytes around</span><br></blockquote><blockquote type="cite"><span>which can be loaded through modprobe from the command line?</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Then we can easily inspect register values and activities of the isolated</span><br></blockquote><blockquote type="cite"><span>driver and how it interacts with the DMA controller registers.</span><br></blockquote><span></span><br><span>Yes, this was effectively what I was doing in my own environment. Just </span><br><span>scheduling some memory-to-memory transfers via DMA would be informative.</span><br><span></span><br><span>Paul</span><br><span></span><br><span></span><br></div></blockquote></body></html>