00:02
gaston1980 has quit [Quit: Konversation terminated!]
00:10
suprothunderbolt has joined #linux-sunxi
00:13
tllim has joined #linux-sunxi
00:17
maccraft has quit [Quit: WeeChat 2.7.1]
00:21
jstein has quit [Quit: quit]
00:29
aloo_shu has quit [Quit: aloo_shu]
00:33
chewitt has quit [Quit: Adios!]
00:33
aloo_shu has joined #linux-sunxi
01:12
ChriChri_ has joined #linux-sunxi
01:14
ChriChri has quit [Ping timeout: 258 seconds]
01:14
ChriChri_ is now known as ChriChri
01:44
Mangy_Dog has quit [Ping timeout: 255 seconds]
02:04
cnxsoft has joined #linux-sunxi
02:08
DonkeyHotei has quit [Ping timeout: 258 seconds]
02:42
sunilmohan has quit [Ping timeout: 255 seconds]
02:47
sunilmohan has joined #linux-sunxi
02:47
sunilmohan has quit [Changing host]
02:47
sunilmohan has joined #linux-sunxi
02:59
KotCzarny has quit [Ping timeout: 255 seconds]
03:23
dddddd has quit [Read error: Connection reset by peer]
04:33
aloo_shu has quit [Read error: Connection reset by peer]
04:33
aloo_shu has joined #linux-sunxi
04:52
cnxsoft1 has joined #linux-sunxi
04:52
cnxsoft has quit [Read error: Connection reset by peer]
05:07
KotCzarny has joined #linux-sunxi
05:20
JohnDoe_71Rus has joined #linux-sunxi
05:51
damex has quit [Ping timeout: 240 seconds]
06:02
selfbg has joined #linux-sunxi
06:05
aloo_shu has quit [Ping timeout: 255 seconds]
06:07
DonkeyHotei has joined #linux-sunxi
06:08
reinforce has joined #linux-sunxi
06:15
malestorm has joined #linux-sunxi
06:18
cnxsoft1 has quit [Ping timeout: 255 seconds]
06:24
malestorm has quit [Quit: malestorm]
06:25
malestorm has joined #linux-sunxi
07:08
cnxsoft has joined #linux-sunxi
07:14
maccraft has joined #linux-sunxi
07:15
maccraft has quit [Client Quit]
07:16
maccraft has joined #linux-sunxi
07:36
tl_lim has joined #linux-sunxi
07:39
tllim has quit [Ping timeout: 256 seconds]
07:44
JohnDoe_71Rus has quit [Ping timeout: 240 seconds]
07:48
gsz has joined #linux-sunxi
07:53
JohnDoe_71Rus has joined #linux-sunxi
07:55
tl_lim has quit [Read error: Connection reset by peer]
07:57
suprothunderbolt has quit [Ping timeout: 240 seconds]
08:14
maccraft has quit [Read error: Connection reset by peer]
08:18
maccraft has joined #linux-sunxi
08:28
yann has quit [Ping timeout: 255 seconds]
08:38
ldevulder_ is now known as ldevulder
08:38
maccraft has quit [Quit: WeeChat 2.7.1]
08:39
reinforce has quit [Quit: Leaving.]
08:39
msev- has joined #linux-sunxi
09:02
maccraft has joined #linux-sunxi
09:10
maccraft has quit [Quit: WeeChat 2.7.1]
09:12
maccraft has joined #linux-sunxi
09:23
florian has joined #linux-sunxi
09:25
jerbob92_ has quit [Ping timeout: 246 seconds]
09:26
JohnDoe_71Rus has quit [Ping timeout: 255 seconds]
09:29
maccraft has quit [Quit: WeeChat 2.7.1]
09:31
JohnDoe_71Rus has joined #linux-sunxi
09:32
yann has joined #linux-sunxi
09:44
jerbob92 has joined #linux-sunxi
10:06
iyzsong has joined #linux-sunxi
10:29
JohnDoe_71Rus has joined #linux-sunxi
10:36
maccraft has joined #linux-sunxi
10:42
matthias_bgg has joined #linux-sunxi
10:44
maccraft has quit [Quit: WeeChat 2.7.1]
10:57
damex has joined #linux-sunxi
11:19
<
solderfumes >
Hello! I have a question related to sunxi-mmc. I want to know if I'm headed in the right direction.
11:20
<
solderfumes >
When using SDIO, the sunxi-mmc driver will use only DMA. This limits the data to 32b aligned address and size.
11:21
<
solderfumes >
I have encountered an ath10k SDIO wireless device, whose driver will write unaligned data. This leads to failure during runtime.
11:22
<
mru >
can that driver be fixed?
11:23
<
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.
11:24
<
mru >
that's fine for small amounts of data
11:24
<
mru >
if the driver is doing unaligned accesses for bulk data transfers, falling back to pio will make it rather slow
11:24
<
mru >
and/or cpu-eating
11:25
<
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
11:26
<
solderfumes >
(I am assuming)
11:26
<
mru >
can you find out how often the miasalignment happens and what kind of transaction it is?
11:26
lurchi__ is now known as lurchi_
11:27
<
mru >
as a simple hack, you could check the address and use an aligned bounce buffer if necessary
11:28
<
mru >
and count occurrences
11:28
<
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
11:28
<
solderfumes >
Association fails because of unaligned data when connecting
11:29
<
mru >
one of the ath10k and sunxi-mmc drivers is clearly broken
11:29
<
mru >
you need to figure out which it is
11:30
<
solderfumes >
Other mmc drivers, including the DW mmc have PIO fallback
11:31
<
mru >
that doesn't mean the ath10k driver isn't doing something stupid
11:31
<
solderfumes >
and the allwinner mmc controller is suppoadely based on the DW IP
11:32
The_Loko has joined #linux-sunxi
11:34
<
mru >
well, add the pio fallback if you think that's what's needed
11:36
<
solderfumes >
We'll see if it helps.
11:37
<
solderfumes >
I'm inspecting the ath10k_sdio too. Some transfers are set up to be aligned, so there must be more to this.
11:41
lurchi_ has quit [Ping timeout: 255 seconds]
12:01
Mangy_Dog has joined #linux-sunxi
12:06
ldevulder_ has joined #linux-sunxi
12:08
maccraft has joined #linux-sunxi
12:09
ldevulder has quit [Ping timeout: 256 seconds]
12:11
\\Mr_C\\ has joined #linux-sunxi
12:17
The_Loko has quit [Ping timeout: 240 seconds]
12:18
AneoX has joined #linux-sunxi
12:19
jbrown has quit [Ping timeout: 272 seconds]
12:20
jbrown has joined #linux-sunxi
12:20
iyzsong has quit [Ping timeout: 240 seconds]
12:24
maccraft has quit [Quit: WeeChat 2.7.1]
12:26
The_Loko has joined #linux-sunxi
12:36
lurchi_ has joined #linux-sunxi
12:49
maccraft has joined #linux-sunxi
12:51
lurchi_ has quit [Ping timeout: 240 seconds]
13:01
gaston1980 has joined #linux-sunxi
13:21
maccraft has quit [Quit: WeeChat 2.7.1]
13:28
pmp-p has quit [Disconnected by services]
13:28
pmp-p has joined #linux-sunxi
13:38
maccraft has joined #linux-sunxi
13:47
lurchi_ has joined #linux-sunxi
13:54
maccraft has quit [Ping timeout: 258 seconds]
13:57
kedder has joined #linux-sunxi
13:57
malestorm has quit [Quit: malestorm]
14:13
luke-jr has quit [Ping timeout: 256 seconds]
14:15
ldevulder_ has quit [Ping timeout: 255 seconds]
14:25
JohnDoe_71Rus has joined #linux-sunxi
14:28
JohnDoe_71Rus has quit [Client Quit]
14:30
JohnDoe_71Rus has joined #linux-sunxi
14:34
ldevulder has joined #linux-sunxi
14:40
luke-jr has joined #linux-sunxi
14:42
lurchi_ has quit [Ping timeout: 240 seconds]
14:57
pg12_ has joined #linux-sunxi
14:57
pg12 has quit [Ping timeout: 240 seconds]
15:00
selfbg has quit [Remote host closed the connection]
15:00
luke-jr has quit [Ping timeout: 240 seconds]
15:02
pg12_ has quit [Ping timeout: 256 seconds]
15:12
sunilmohan has quit [Ping timeout: 256 seconds]
15:15
sunilmohan has joined #linux-sunxi
15:16
sunilmohan has quit [Changing host]
15:16
sunilmohan has joined #linux-sunxi
15:18
fl_0 has quit [Quit: STRG + Q]
15:20
sunilmohan has quit [Ping timeout: 256 seconds]
15:21
sunilmohan has joined #linux-sunxi
15:21
sunilmohan has joined #linux-sunxi
15:21
sunilmohan has quit [Changing host]
15:26
atsampson has quit [Ping timeout: 255 seconds]
15:32
atsampson has joined #linux-sunxi
15:33
checkpoint has joined #linux-sunxi
15:35
lurchi_ has joined #linux-sunxi
15:35
lurchi_ is now known as lurchi__
15:43
The_Loko has quit [Ping timeout: 265 seconds]
15:57
The_Loko has joined #linux-sunxi
15:58
luke-jr has joined #linux-sunxi
16:06
maccraft has joined #linux-sunxi
16:07
netlynx has joined #linux-sunxi
16:07
netlynx has joined #linux-sunxi
16:07
netlynx has quit [Changing host]
16:14
lurchi__ has quit [Ping timeout: 255 seconds]
16:14
anarsoul|c has joined #linux-sunxi
16:17
kedder has quit [Ping timeout: 260 seconds]
16:25
DrFrankensteinUK has joined #linux-sunxi
16:25
dddddd has joined #linux-sunxi
16:34
luke-jr has quit [Ping timeout: 256 seconds]
16:45
atsampson has quit [Ping timeout: 240 seconds]
16:45
atsampson has joined #linux-sunxi
16:50
luke-jr has joined #linux-sunxi
16:56
reinforce has joined #linux-sunxi
16:57
kedder has joined #linux-sunxi
17:09
florian has quit [Quit: Leaving]
17:10
yann has quit [Ping timeout: 240 seconds]
17:19
luke-jr has quit [Read error: Connection reset by peer]
17:21
pg12 has joined #linux-sunxi
18:13
florian has joined #linux-sunxi
18:17
aloo_shu has joined #linux-sunxi
18:17
florian has quit [Ping timeout: 240 seconds]
18:20
lurchi__ has joined #linux-sunxi
18:28
cnxsoft has quit [Ping timeout: 256 seconds]
18:53
netlynx has quit [Quit: Ex-Chat]
19:22
yann has joined #linux-sunxi
19:25
maccraft has quit [Quit: WeeChat 2.7.1]
19:26
maccraft has joined #linux-sunxi
19:28
lurchi__ has quit [Ping timeout: 258 seconds]
19:35
pmp-p has quit [Ping timeout: 255 seconds]
19:37
pmp-p has joined #linux-sunxi
19:48
jstein has joined #linux-sunxi
19:49
florian has joined #linux-sunxi
20:10
matthias_bgg has quit [Ping timeout: 240 seconds]
20:10
matthias_bgg has joined #linux-sunxi
20:17
gsz has quit [Quit: Konversation terminated!]
20:18
florian has quit [Ping timeout: 240 seconds]
20:30
florian has joined #linux-sunxi
20:37
matthias_bgg has quit [Ping timeout: 258 seconds]
20:39
reinforce has quit [Quit: Leaving.]
20:42
florian has quit [Ping timeout: 260 seconds]
20:49
ganbold has quit [Ping timeout: 258 seconds]
20:51
maccraft has quit [Quit: WeeChat 2.7.1]
20:51
maccraft has joined #linux-sunxi
21:00
aloo_two has joined #linux-sunxi
21:00
aloo_shu has quit [Read error: Connection reset by peer]
21:00
aloo_two is now known as aloo_shu
21:09
jernej has quit [Remote host closed the connection]
21:10
jernej has joined #linux-sunxi
21:21
lurchi__ has joined #linux-sunxi
21:21
lurchi__ is now known as lurchi_
21:24
aloo_two has joined #linux-sunxi
21:25
rzerres has quit [Ping timeout: 240 seconds]
21:26
aloo_shu has quit [Ping timeout: 256 seconds]
21:31
aloo_two has quit [Ping timeout: 258 seconds]
21:32
rzerres has joined #linux-sunxi
21:34
LargePrime has quit [Ping timeout: 258 seconds]
21:36
Mangy_Dog has quit [Remote host closed the connection]
21:42
aloo_two has joined #linux-sunxi
21:42
Mangy_Dog has joined #linux-sunxi
21:42
aloo_two is now known as aloo_shu
22:20
florian has joined #linux-sunxi
22:20
luke-jr has joined #linux-sunxi
22:21
maccraft has quit [Ping timeout: 255 seconds]
22:23
maccraft has joined #linux-sunxi
22:23
maccraft has quit [Client Quit]
22:24
maccraft has joined #linux-sunxi
22:25
The_Loko has quit [Quit: Leaving]
22:47
luke-jr has quit [Ping timeout: 256 seconds]
22:47
luke-jr has joined #linux-sunxi
22:49
maccraft has quit [Quit: WeeChat 2.7.1]
22:51
lukedashjr has joined #linux-sunxi
22:52
luke-jr has quit [Ping timeout: 256 seconds]
22:56
lukedashjr has quit [Ping timeout: 255 seconds]
22:58
gaston1980 has quit [Quit: Konversation terminated!]
23:01
kedder has quit [Ping timeout: 258 seconds]
23:02
RichardG867 has quit [Quit: Keyboard not found, press F1 to continue]
23:05
RichardG867 has joined #linux-sunxi
23:05
luke-jr has joined #linux-sunxi
23:22
jstein has quit [Quit: quit]
23:35
lkcl_ has joined #linux-sunxi
23:39
lkcl__ has quit [Ping timeout: 255 seconds]
23:39
florian has quit [Ping timeout: 268 seconds]