DocScrutinizer05 changed the topic of #qi-hardware to: Copyleft hardware - http://qi-hardware.com | hardware hackers join here to discuss Ben NanoNote, atben / atusb 802.15.4 wireless, and other community driven hw projects | public logging at http://en.qi-hardware.com/irclogs and http://irclog.whitequark.org/qi-hardware
xiangfu has joined #qi-hardware
xiangfu has quit [Quit: leaving]
wpwrak has quit [Ping timeout: 240 seconds]
wpwrak has joined #qi-hardware
BerryHalsak has joined #qi-hardware
BerryHalsak has quit [Quit: Leaving]
jekhor has joined #qi-hardware
BerryHalsak has joined #qi-hardware
BerryHalsak has quit [Ping timeout: 240 seconds]
wej_ has joined #qi-hardware
wej has quit [Ping timeout: 252 seconds]
rz2k has joined #qi-hardware
astr has quit [Ping timeout: 264 seconds]
astr has joined #qi-hardware
wej_ has quit [Ping timeout: 245 seconds]
dandon has quit [Ping timeout: 272 seconds]
jekhor has quit [Ping timeout: 240 seconds]
wej has joined #qi-hardware
<apelete> Hi larsc, you there ?
<apelete> was wondering in which function should data->bytes_xfered be updated (after dma transfer finished)
<apelete> tried updating it in dma_complete callback, but it does not always work
<apelete> sometimes the pointer to mmc_data is null from within dma_complete(), which causes a kernel crash
<apelete> better here: http://paste.debian.net/105108/
<DocScrutinizer05> o.O
<apelete> larsc: maybe there's a better place than dma_complete() to update data->bytes_xfered ?
<apelete> I was thinking about mmc_irq(), don't know if it's called at the end of each dma transfer
<DocScrutinizer05> 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
<larsc> apelete: doesn't trally matter, as long as it is updated before mmc_request_done()
<DocScrutinizer05> the correct data source is where dma returns number of bytes transferred
<DocScrutinizer05> 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
<DocScrutinizer05> since this approach is also applicable for DMA corectly comleting its job, it's the way to go
sb0 has joined #qi-hardware
sb0 has quit [Ping timeout: 255 seconds]
sb0 has joined #qi-hardware
dandon has joined #qi-hardware
jekhor has joined #qi-hardware
porchao has joined #qi-hardware
porchaso0 has quit [Ping timeout: 272 seconds]
jekhor has quit [Read error: Connection reset by peer]
jekhor has joined #qi-hardware
jekhor has quit [Read error: Connection reset by peer]
jekhor has joined #qi-hardware
jekhor has quit [Read error: Connection reset by peer]
jekhor has joined #qi-hardware
jekhor has quit [Ping timeout: 252 seconds]
porchaso0 has joined #qi-hardware
porchao has quit [Ping timeout: 264 seconds]
valhalla has quit [Ping timeout: 276 seconds]
valhalla has joined #qi-hardware
Luke-Jr has quit [Read error: Connection reset by peer]
Luke-Jr has joined #qi-hardware
zrafa has quit [Ping timeout: 244 seconds]
sb0 has quit [Quit: Leaving]
<wpwrak> bwahaha. and so the blitzkrieg begins :)
<DocScrutinizer05> huh?
<DocScrutinizer05> wpwrak: please elaborate!
<DocScrutinizer05> you're scaring me
<wpwrak> argentina vs. bosnia. first goal in the 3rd minute, amidst great confusion on the side of bosnia (it was an own goal)
<DocScrutinizer05> haha
<wpwrak> 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.
<wpwrak> but .. so far, so good
<wpwrak> 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.
<wpwrak> 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 ;-)
<wpwrak> 2nd half begins
rz2k has quit []
<wpwrak> bosnia got a honorable defeat
wej has quit [Ping timeout: 252 seconds]