<minute>
i'm experimenting a bit with rtw88_sdio.c today on a311d... what does BIT_DMA_AGG_TO_V1 mean exactly xdarklight?
<xdarklight>
minute: it's the RX aggregation timeout (I don't know the unit of measure here, values have been copied from vendor drivers)
<minute>
xdarklight: is it like a value that says, if there are no more packets to aggregate after this time period, flush?
psydroid2 has quit [Remote host closed the connection]
psydroid2 has joined #linux-amlogic
<f_>
I can try having a look at the MMC driver issues today
<minute>
f_: cool
<f_>
What's extremely weird, is in my case booting from SD card works.
<f_>
Booting from eMMC is what b0rks entirely.
<f_>
Actually, minute: your issues were with the eMMC as well, didn't you?
<f_>
oops
<f_>
your issues were with the eMMC as well, right?
<minute>
f_: yes, sd is fine, emmc borked in uboot
<minute>
cool that you can reproduce
<f_>
Yup. Can reproduce on gxbb and gxl
<minute>
:0
<f_>
What was interesting to me, is that I could only reproduce while in SPL, regular U-Boot booted from eMMC just fine on gxl
<f_>
Did not test booting from eMMC in regular U-Boot on gxbb simply because I have nothing on my gxbb board's eMMC
jacobk has quit [Ping timeout: 248 seconds]
<f_>
I did weird hackery in SPL to get it to load stuff from gxbb's eMMC to reproduce
<f_>
Looking at my chat logs <minute> as a workaround i have a loop in mmc_init that tries up to three times <minute> not reliable
psydroid|2 has joined #linux-amlogic
<f_>
(and other stuff)
<minute>
:d
<f_>
Could try and see if that works for me, reliable or not
<f_>
(because honestly it working a few times is better than it simply not working at all)
<minute>
i think on banana pi cm4 _or_ the combo a311d+rt8822cs there is some underlying transfer issue. rx aggregation hides this issue but it becomes very pronounced when disabling rx agg. maybe just because there is a higher number of individual small transfers then and so a higher probability of running into the stall?
<minute>
it is just weird to me that there are no reports of this on the net
<f_>
Actually, it looks like my issue is different from yours
<minute>
oh?
<f_>
Or, wait a minute.
<f_>
I think the behaviour was different if I used the stripped down SPL MMC driver
<f_>
minute: Wait, I recall there were some modifications needed in the meson_gx_mmc driver for it to happily load stuff at all
<minute>
i'm trying to find in the vendor driver rtl88x2cs where they are honoring the sdio host max req size... can't find it so far
jacobk has joined #linux-amlogic
jacobk has quit [Ping timeout: 260 seconds]
jacobk has joined #linux-amlogic
<minute>
couldn't really find any pattern of why rtw8822cs has this random stalling problem
jacobk has quit [Ping timeout: 276 seconds]
jacobk has joined #linux-amlogic
R0nd has joined #linux-amlogic
Rond has quit [Ping timeout: 248 seconds]
R0nd is now known as Rond
zkrx has quit [Ping timeout: 252 seconds]
eery has quit [Ping timeout: 272 seconds]
kilobyte_ch has quit [Ping timeout: 248 seconds]
gabes22 has quit [Ping timeout: 248 seconds]
Terry13732293409 has quit [Ping timeout: 252 seconds]
eery has joined #linux-amlogic
zkrx has joined #linux-amlogic
kilobyte_ch has joined #linux-amlogic
jacobk has quit [Read error: Connection reset by peer]
gabes22 has joined #linux-amlogic
naoki has joined #linux-amlogic
<xdarklight>
minute: re: "no more packets to aggregate after this time period, flush?" - correct. if there's more incoming packets within the given period and the RX aggregation buffer still has room then that packet will be aggregated, saving host<->card communication overhead