2014-06-15 02:05 xiangfu has joined #qi-hardware 2014-06-15 02:40 xiangfu has quit [Quit: leaving] 2014-06-15 03:21 wpwrak has quit [Ping timeout: 240 seconds] 2014-06-15 03:27 wpwrak has joined #qi-hardware 2014-06-15 06:16 BerryHalsak has joined #qi-hardware 2014-06-15 06:22 BerryHalsak has quit [Quit: Leaving] 2014-06-15 06:28 jekhor has joined #qi-hardware 2014-06-15 06:50 BerryHalsak has joined #qi-hardware 2014-06-15 07:26 BerryHalsak has quit [Ping timeout: 240 seconds] 2014-06-15 09:59 wej_ has joined #qi-hardware 2014-06-15 10:03 wej has quit [Ping timeout: 252 seconds] 2014-06-15 11:13 rz2k has joined #qi-hardware 2014-06-15 12:04 astr has quit [Ping timeout: 264 seconds] 2014-06-15 12:16 astr has joined #qi-hardware 2014-06-15 12:36 wej_ has quit [Ping timeout: 245 seconds] 2014-06-15 12:42 dandon has quit [Ping timeout: 272 seconds] 2014-06-15 13:24 jekhor has quit [Ping timeout: 240 seconds] 2014-06-15 14:27 wej has joined #qi-hardware 2014-06-15 16:02 Hi larsc, you there ? 2014-06-15 16:03 was wondering in which function should data->bytes_xfered be updated (after dma transfer finished) 2014-06-15 16:04 tried updating it in dma_complete callback, but it does not always work 2014-06-15 16:05 sometimes the pointer to mmc_data is null from within dma_complete(), which causes a kernel crash 2014-06-15 16:06 see here: http://paste.debian.net/105107/ 2014-06-15 16:07 better here: http://paste.debian.net/105108/ 2014-06-15 16:08 o.O 2014-06-15 16:09 larsc: maybe there's a better place than dma_complete() to update data->bytes_xfered ? 2014-06-15 16:10 I was thinking about mmc_irq(), don't know if it's called at the end of each dma transfer 2014-06-15 16:13 dma_complete sounds about logically correct place. You however may want to make sure to use the correct data source, since maybe dma itself changes pointer to mmc_data 2014-06-15 16:14 apelete: doesn't trally matter, as long as it is updated before mmc_request_done() 2014-06-15 16:15 the correct data source is where dma returns number of bytes transferred 2014-06-15 16:18 particularly the DMA hw might abort prematurely for whatever rwason, and in this case you want to read out whatever hw register to learn about number of bytes actually transferred 2014-06-15 16:19 since this approach is also applicable for DMA corectly comleting its job, it's the way to go 2014-06-15 16:49 sb0 has joined #qi-hardware 2014-06-15 18:05 sb0 has quit [Ping timeout: 255 seconds] 2014-06-15 18:18 sb0 has joined #qi-hardware 2014-06-15 18:26 dandon has joined #qi-hardware 2014-06-15 18:59 jekhor has joined #qi-hardware 2014-06-15 19:24 porchao has joined #qi-hardware 2014-06-15 19:26 porchaso0 has quit [Ping timeout: 272 seconds] 2014-06-15 19:39 jekhor has quit [Read error: Connection reset by peer] 2014-06-15 19:40 jekhor has joined #qi-hardware 2014-06-15 19:49 jekhor has quit [Read error: Connection reset by peer] 2014-06-15 19:50 jekhor has joined #qi-hardware 2014-06-15 19:59 jekhor has quit [Read error: Connection reset by peer] 2014-06-15 20:00 jekhor has joined #qi-hardware 2014-06-15 20:09 jekhor has quit [Ping timeout: 252 seconds] 2014-06-15 20:32 porchaso0 has joined #qi-hardware 2014-06-15 20:34 porchao has quit [Ping timeout: 264 seconds] 2014-06-15 20:53 valhalla has quit [Ping timeout: 276 seconds] 2014-06-15 20:54 valhalla has joined #qi-hardware 2014-06-15 21:20 Luke-Jr has quit [Read error: Connection reset by peer] 2014-06-15 21:21 Luke-Jr has joined #qi-hardware 2014-06-15 21:32 zrafa has quit [Ping timeout: 244 seconds] 2014-06-15 22:01 sb0 has quit [Quit: Leaving] 2014-06-15 22:04 bwahaha. and so the blitzkrieg begins :) 2014-06-15 22:28 huh? 2014-06-15 22:29 wpwrak: please elaborate! 2014-06-15 22:33 you're scaring me 2014-06-15 22:49 argentina vs. bosnia. first goal in the 3rd minute, amidst great confusion on the side of bosnia (it was an own goal) 2014-06-15 22:50 haha 2014-06-15 22:51 for the rest of the first half, it was fairly unremarkable. of course, that was to be expected. with one goal in its favour, argentina feels it can rest on its laurels. 2014-06-15 22:52 but .. so far, so good 2014-06-15 22:53 in any case, it would be a miracle if argentina didn't get past the first around. in its group, there are bosnia, iran, and nigeria. of the three, bosnia is already the strongest opponent. 2014-06-15 22:56 but it was surprising to hear all the noise as i was still fetching some tv snack. i thought they were particularly enthusiastic to see their team on the field. didn't expect the first goal quite that soon ;-) 2014-06-15 23:00 2nd half begins 2014-06-15 23:05 rz2k has quit [] 2014-06-15 23:53 bosnia got a honorable defeat 2014-06-15 23:56 wej has quit [Ping timeout: 252 seconds]