rellla changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi - *only registered users can talk*
gaston1980 has quit [Quit: Konversation terminated!]
suprothunderbolt has joined #linux-sunxi
tllim has joined #linux-sunxi
maccraft has quit [Quit: WeeChat 2.7.1]
jstein has quit [Quit: quit]
aloo_shu has quit [Quit: aloo_shu]
chewitt has quit [Quit: Adios!]
aloo_shu has joined #linux-sunxi
ChriChri_ has joined #linux-sunxi
ChriChri has quit [Ping timeout: 258 seconds]
ChriChri_ is now known as ChriChri
Mangy_Dog has quit [Ping timeout: 255 seconds]
cnxsoft has joined #linux-sunxi
DonkeyHotei has quit [Ping timeout: 258 seconds]
sunilmohan has quit [Ping timeout: 255 seconds]
sunilmohan has joined #linux-sunxi
sunilmohan has quit [Changing host]
sunilmohan has joined #linux-sunxi
KotCzarny has quit [Ping timeout: 255 seconds]
dddddd has quit [Read error: Connection reset by peer]
aloo_shu has quit [Read error: Connection reset by peer]
aloo_shu has joined #linux-sunxi
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
KotCzarny has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
damex has quit [Ping timeout: 240 seconds]
selfbg has joined #linux-sunxi
aloo_shu has quit [Ping timeout: 255 seconds]
DonkeyHotei has joined #linux-sunxi
reinforce has joined #linux-sunxi
malestorm has joined #linux-sunxi
cnxsoft1 has quit [Ping timeout: 255 seconds]
malestorm has quit [Quit: malestorm]
malestorm has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
maccraft has joined #linux-sunxi
maccraft has quit [Client Quit]
maccraft has joined #linux-sunxi
tl_lim has joined #linux-sunxi
tllim has quit [Ping timeout: 256 seconds]
JohnDoe_71Rus has quit [Ping timeout: 240 seconds]
gsz has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
tl_lim has quit [Read error: Connection reset by peer]
suprothunderbolt has quit [Ping timeout: 240 seconds]
maccraft has quit [Read error: Connection reset by peer]
maccraft has joined #linux-sunxi
yann has quit [Ping timeout: 255 seconds]
ldevulder_ is now known as ldevulder
maccraft has quit [Quit: WeeChat 2.7.1]
reinforce has quit [Quit: Leaving.]
msev- has joined #linux-sunxi
maccraft has joined #linux-sunxi
maccraft has quit [Quit: WeeChat 2.7.1]
maccraft has joined #linux-sunxi
florian has joined #linux-sunxi
jerbob92_ has quit [Ping timeout: 246 seconds]
JohnDoe_71Rus has quit [Ping timeout: 255 seconds]
maccraft has quit [Quit: WeeChat 2.7.1]
JohnDoe_71Rus has joined #linux-sunxi
yann has joined #linux-sunxi
jerbob92 has joined #linux-sunxi
iyzsong has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
JohnDoe_71Rus has joined #linux-sunxi
maccraft has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
maccraft has quit [Quit: WeeChat 2.7.1]
damex has joined #linux-sunxi
<solderfumes> Hello! I have a question related to sunxi-mmc. I want to know if I'm headed in the right direction.
<solderfumes> When using SDIO, the sunxi-mmc driver will use only DMA. This limits the data to 32b aligned address and size.
<solderfumes> I have encountered an ath10k SDIO wireless device, whose driver will write unaligned data. This leads to failure during runtime.
<mru> can that driver be fixed?
<solderfumes> Expanding the sunxi_mmc_request() to handle unaligned data by falling back to PIO would fix this. Some other mmc/sdhci drivers work this way as I see.
<mru> that's fine for small amounts of data
<mru> if the driver is doing unaligned accesses for bulk data transfers, falling back to pio will make it rather slow
<mru> and/or cpu-eating
<solderfumes> mru: that is why I'm asking if this is the right solution. This problem doesn't happen with realtek chips, because the data is 32b aligned by the time the mmc request is handled
<solderfumes> (I am assuming)
<mru> can you find out how often the miasalignment happens and what kind of transaction it is?
lurchi__ is now known as lurchi_
<mru> as a simple hack, you could check the address and use an aligned bounce buffer if necessary
<mru> and count occurrences
<solderfumes> Misalignment in the ath10k_sdio driver happens very often, but for small payloads. Since I can not get the device to associate with a wireless AP, I can't test it with larger data
<solderfumes> Association fails because of unaligned data when connecting
<mru> one of the ath10k and sunxi-mmc drivers is clearly broken
<mru> you need to figure out which it is
<solderfumes> Other mmc drivers, including the DW mmc have PIO fallback
<mru> that doesn't mean the ath10k driver isn't doing something stupid
<solderfumes> and the allwinner mmc controller is suppoadely based on the DW IP
The_Loko has joined #linux-sunxi
<mru> well, add the pio fallback if you think that's what's needed
<solderfumes> We'll see if it helps.
<solderfumes> I'm inspecting the ath10k_sdio too. Some transfers are set up to be aligned, so there must be more to this.
lurchi_ has quit [Ping timeout: 255 seconds]
Mangy_Dog has joined #linux-sunxi
ldevulder_ has joined #linux-sunxi
maccraft has joined #linux-sunxi
ldevulder has quit [Ping timeout: 256 seconds]
\\Mr_C\\ has joined #linux-sunxi
The_Loko has quit [Ping timeout: 240 seconds]
AneoX has joined #linux-sunxi
jbrown has quit [Ping timeout: 272 seconds]
jbrown has joined #linux-sunxi
iyzsong has quit [Ping timeout: 240 seconds]
maccraft has quit [Quit: WeeChat 2.7.1]
The_Loko has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
maccraft has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 240 seconds]
gaston1980 has joined #linux-sunxi
maccraft has quit [Quit: WeeChat 2.7.1]
pmp-p has quit [Disconnected by services]
pmp-p has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
maccraft has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
maccraft has quit [Ping timeout: 258 seconds]
kedder has joined #linux-sunxi
malestorm has quit [Quit: malestorm]
luke-jr has quit [Ping timeout: 256 seconds]
ldevulder_ has quit [Ping timeout: 255 seconds]
JohnDoe_71Rus has joined #linux-sunxi
JohnDoe_71Rus has quit [Client Quit]
JohnDoe_71Rus has joined #linux-sunxi
ldevulder has joined #linux-sunxi
luke-jr has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 240 seconds]
pg12_ has joined #linux-sunxi
pg12 has quit [Ping timeout: 240 seconds]
selfbg has quit [Remote host closed the connection]
luke-jr has quit [Ping timeout: 240 seconds]
pg12_ has quit [Ping timeout: 256 seconds]
sunilmohan has quit [Ping timeout: 256 seconds]
sunilmohan has joined #linux-sunxi
sunilmohan has quit [Changing host]
sunilmohan has joined #linux-sunxi
fl_0 has quit [Quit: STRG + Q]
sunilmohan has quit [Ping timeout: 256 seconds]
sunilmohan has joined #linux-sunxi
sunilmohan has joined #linux-sunxi
sunilmohan has quit [Changing host]
atsampson has quit [Ping timeout: 255 seconds]
atsampson has joined #linux-sunxi
checkpoint has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi_ is now known as lurchi__
The_Loko has quit [Ping timeout: 265 seconds]
The_Loko has joined #linux-sunxi
luke-jr has joined #linux-sunxi
maccraft has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
lurchi__ has quit [Ping timeout: 255 seconds]
anarsoul|c has joined #linux-sunxi
kedder has quit [Ping timeout: 260 seconds]
DrFrankensteinUK has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
DrFrankensteinUK has joined #linux-sunxi
dddddd has joined #linux-sunxi
luke-jr has quit [Ping timeout: 256 seconds]
atsampson has quit [Ping timeout: 240 seconds]
atsampson has joined #linux-sunxi
luke-jr has joined #linux-sunxi
reinforce has joined #linux-sunxi
kedder has joined #linux-sunxi
florian has quit [Quit: Leaving]
yann has quit [Ping timeout: 240 seconds]
luke-jr has quit [Read error: Connection reset by peer]
pg12 has joined #linux-sunxi
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
florian has joined #linux-sunxi
aloo_shu has joined #linux-sunxi
florian has quit [Ping timeout: 240 seconds]
lurchi__ has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 256 seconds]
netlynx has quit [Quit: Ex-Chat]
yann has joined #linux-sunxi
maccraft has quit [Quit: WeeChat 2.7.1]
maccraft has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 258 seconds]
pmp-p has quit [Ping timeout: 255 seconds]
pmp-p has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
jstein has joined #linux-sunxi
florian has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 240 seconds]
matthias_bgg has joined #linux-sunxi
gsz has quit [Quit: Konversation terminated!]
florian has quit [Ping timeout: 240 seconds]
florian has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 258 seconds]
reinforce has quit [Quit: Leaving.]
florian has quit [Ping timeout: 260 seconds]
ganbold has quit [Ping timeout: 258 seconds]
maccraft has quit [Quit: WeeChat 2.7.1]
maccraft has joined #linux-sunxi
aloo_two has joined #linux-sunxi
aloo_shu has quit [Read error: Connection reset by peer]
aloo_two is now known as aloo_shu
jernej has quit [Remote host closed the connection]
jernej has joined #linux-sunxi
lurchi__ has joined #linux-sunxi
lurchi__ is now known as lurchi_
aloo_two has joined #linux-sunxi
rzerres has quit [Ping timeout: 240 seconds]
aloo_shu has quit [Ping timeout: 256 seconds]
aloo_two has quit [Ping timeout: 258 seconds]
rzerres has joined #linux-sunxi
LargePrime has quit [Ping timeout: 258 seconds]
Mangy_Dog has quit [Remote host closed the connection]
aloo_two has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
aloo_two is now known as aloo_shu
florian has joined #linux-sunxi
luke-jr has joined #linux-sunxi
maccraft has quit [Ping timeout: 255 seconds]
maccraft has joined #linux-sunxi
maccraft has quit [Client Quit]
maccraft has joined #linux-sunxi
The_Loko has quit [Quit: Leaving]
luke-jr has quit [Ping timeout: 256 seconds]
luke-jr has joined #linux-sunxi
maccraft has quit [Quit: WeeChat 2.7.1]
lukedashjr has joined #linux-sunxi
luke-jr has quit [Ping timeout: 256 seconds]
lukedashjr has quit [Ping timeout: 255 seconds]
gaston1980 has quit [Quit: Konversation terminated!]
kedder has quit [Ping timeout: 258 seconds]
RichardG867 has quit [Quit: Keyboard not found, press F1 to continue]
RichardG867 has joined #linux-sunxi
luke-jr has joined #linux-sunxi
jstein has quit [Quit: quit]
lkcl_ has joined #linux-sunxi
lkcl__ has quit [Ping timeout: 255 seconds]
florian has quit [Ping timeout: 268 seconds]