Closed xc-racer99 closed 3 years ago
I have experienced another ADMA error using 5.5.1-i9000+ kernel mmc2: ADMA error: 0x02000000 mmc2: sdhci: ============ SDHCI REGISTER DUMP =========== mmc2: sdhci: Sys addr: 0x34862a04 | Version: 0x00002401 mmc2: sdhci: Blk size: 0x00007004 | Blk cnt: 0x0000fffc mmc2: sdhci: Argument: 0x00000000 | Trn mode: 0x00000013 mmc2: sdhci: Present: 0x01fa0000 | Host ctl: 0x00000012 mmc2: sdhci: Power: 0x00000000 | Blk gap: 0x00000000 mmc2: sdhci: Wake-up: 0x00000000 | Clock: 0x0000000f mmc2: sdhci: Timeout: 0x0000000a | Int stat: 0x00000002 mmc2: sdhci: Int enab: 0x03ff004b | Sig enab: 0x03ff004b mmc2: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000001 mmc2: sdhci: Caps: 0x05e80080 | Caps_1: 0x00000000 mmc2: sdhci: Cmd: 0x0000163a | Max curr: 0x00000000 mmc2: sdhci: Resp[0]: 0x00000920 | Resp[1]: 0x00000000 mmc2: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000 mmc2: sdhci: Host ctl2: 0x00000000 mmc2: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x54f7e208 mmc2: sdhci: ============================================ mmc2: sdhci: 54f7e200: DMA 0x34862a00, LEN 0x0004, Attr=0x23
Alright, the clock changes have been submitted (and accepted) upstream. I've yet to been able to reproduce the issue with the clock patch, despite some pretty disk intensive workloads where it used to appear all of the time. I'll leave this open for now, until we can confirm that it is/isn't happening to more than just @kwizart
I've yet to see this issue reappear since the clock changes, so I'm going to call it fixed.
I may retry with newer 5.9+ kernel at some point.
As a side note, I still monitor: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git/log/?h=s3c-multiplatform and https://patchwork.ozlabs.org/project/linux-tegra/list/?series=197929 (IIRC, that the same BCM4329 chip).
Is it possible to have a rebase on top on 5.9 kernel ? (with and without powervr) Thanks in advances.
Is it possible to have a rebase on top on 5.9 kernel ? (with and without powervr)
I'll try to get that done later this week, I want to submit the DTS changes for the audio driver before working on rebasing everything.
Is it possible to have a rebase on top on 5.9 kernel ? (with and without powervr)
@kwizart I've now pushed https://github.com/xc-racer99/linux/tree/v5.9-rc2-all-devices - this has everything except the max17040 rcomp settings and the power domains. The vast majority of these patches are related to PVR. The ones that are due to land in v5.10 are the audio DTS, the FIMC patches (not the sensor drivers, haven't submitted those), and the charger-manager patches.
Edit: Of the 146 patches, 19 are due to land in v5.10, 3 are camera related, 6 are onenand related, 5 are drm related (fimc, tvout, and g2d), 11 are modem related, 87 are PowerVR, and the rest are a mixture of various driver fixups and DTS changes.
As originally reported in #41 by @kwizart (and reproduced by myself several times, without a good method of doing so, although it seems to happen in disk-heavy workloads), the MMC controller can give errors like
I believe this is related to clocking issues, and a patch like
appears to solve things. This matches the clock configuration from the vendor kernel.