ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
Mangy_Dog has quit [Ping timeout: 480 seconds]
vagrantc has quit [Quit: leaving]
pmp-p has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
pmp-p has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
dikiy has quit [Ping timeout: 480 seconds]
vagrantc has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
evgeny_boger has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
macromorgan has quit [Read error: Connection reset by peer]
evgeny_boger1 has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
evgeny_boger1 has quit [Ping timeout: 480 seconds]
bauen1 has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
bauen1 has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
dikiy has joined #linux-sunxi
bauen1_ has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
dikiy has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
bauen1_ has quit [Ping timeout: 480 seconds]
Skallwar[m] has left #linux-sunxi [#linux-sunxi]
evgeny_boger has joined #linux-sunxi
grming has joined #linux-sunxi
dikiy has joined #linux-sunxi
<gamiee> Hello, does Linux have USB OTG drivers for Allwinner H3 with DMA support? (so the speeds are good and CPU usage low?)
JohnDoe_71Rus has quit []
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
macromorgan has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
pmp-p is now known as Guest951
pmp-p has joined #linux-sunxi
Guest951 has quit [Ping timeout: 480 seconds]
cnxsoft has quit []
evgeny_boger has quit [Quit: evgeny_boger]
evgeny_boger has joined #linux-sunxi
grming has quit [Quit: Konversation terminated!]
bauen1_ has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
grming has joined #linux-sunxi
bauen1 has joined #linux-sunxi
bauen1_ has quit [Ping timeout: 480 seconds]
<apritzel> gamiee: no DMA support at the moment, and mind that second paragraph here: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f301fe22bab9
<apritzel> that was some seven years ago, so not sure if AW has figured it out meanwhile ...
ftg has joined #linux-sunxi
<gamiee> apritzel: just was reading this. Does this means, that we cannot implement this, since we don't have reference code from Allwinner, right?
<gamiee> It's interesting, this means that all Allwinner (or the older) SoCs doesn't support DMA? (thus limited to high cpu usage?)
<apritzel> I don't know about this. Did you measure high CPU load? Or even experience limited transfer speed because of PIO?
<apritzel> also I guess we wouldn't necessarily need a reference implementation, unless there are DMA specifics in the sunxi glue IP
<apritzel> gamiee: are you using OTG in anger? Does the ID pin detection work for you, to switch between host and peripheral mode?
<MoeIcenowy> apritzel: I think not-so-old chip has some DMA built in
<MoeIcenowy> before these on-chip DMA is required
<apritzel> MoeIcenowy: the H3 manual lists one DMA channel per EP (in the generic DMA controller section)
<apritzel> and the Mediatek MUSB glue driver seems to support DMA
<gamiee> apritzel: I don't use it yet, just considering it. I saw on wiki that due not having DMA, it is max 10 MB/s and high CPU usage.
<apritzel> gamiee: where in the Wiki, exactly? There is quite some outdated data in there ...
<MoeIcenowy> BTW this not-so-old chip according to some BSP drop
<MoeIcenowy> is since sun8iw5
<MoeIcenowy> so it's interesting
<MoeIcenowy> A64 is not-so-old to have this `INNER_DMA`
<gamiee> "sunxi-musb driver lacks DMA support (with current driver, USB gadgets are limited to PIO, limiting speed to 10MiB/s and causing large CPU)"
<MoeIcenowy> but the 2015 commit is old enough that it might not cover this DMA
<karlp> hrm, let me install iperf in this image, I'm currently _only_ connected via gadget :)
<apritzel> MoeIcenowy: with INNER_DMA or built-in DMA you mean integrated into the MUSB peripheral, as in the MMC controller, for instance?
vagrantc has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
<karlp> https://bin.jvnv.net/file/VDCL6.png for htop snapshot while it was running...
<karlp> if you have other things you'd like to try, just ask.
<gamiee> karlp: thanks for testing!
<karlp> in the other direction (h3 as iperf3 server not client) it's fractionall lower and seems to be higher cpu, but metrics are hard, don't read too much into that.
<karlp> gamiee: here's htop with kernel threads enabled, both directions, you can seeit's kinda worse in one way, if htat's really actualyl a problem though: https://imgur.com/a/z9gVlLX
LordKalma has quit [Read error: Connection reset by peer]
LordKalma has joined #linux-sunxi
grming has quit [Quit: Konversation terminated!]
apritzel has quit [Ping timeout: 480 seconds]
evgeny_boger has joined #linux-sunxi
JohnDoe_71Rus has quit []
dikiy has quit [Ping timeout: 480 seconds]
LordKalma has quit [Read error: Connection reset by peer]
grming has joined #linux-sunxi
dikiy has joined #linux-sunxi
evgeny_boger1 has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
evgeny_boger1 has quit [Ping timeout: 480 seconds]
ftg has quit [Read error: Connection reset by peer]
dikiy has quit [Ping timeout: 480 seconds]
sunshavi_ has quit [Ping timeout: 480 seconds]
bauen1 has quit [Ping timeout: 480 seconds]
dikiy has joined #linux-sunxi
evgeny_boger has joined #linux-sunxi
evgeny_boger1 has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi