Hi there,
We use J721S2 and SDK8.4
When we performed some temperature stress test, we got an eMMC error from Linux kernel as below.
[87489.660360] mmc0: cqhci: timeout for tag 27
It seems related to eMMC access timeout. We like to know is this timeout value depends on the value in SDHCI setting or not?
Now its setting is as below,
mmc0: sdhci: Timeout: 0x0000000e
If it is not where we can find out the timeout value for cqhci?
Because we would like to extend the cqhci timout value.
Thanks,
Sean
=========error log from Linux==================================
[87428.456913] mmc0: running CQE recovery
[87489.660360] mmc0: cqhci: timeout for tag 27
[87489.665585] mmc0: cqhci: ============ CQHCI REGISTER DUMP ===========
[87489.673620] mmc0: cqhci: Caps: 0x000030c8 | Version: 0x00000510
[87489.681654] mmc0: cqhci: Config: 0x00000001 | Control: 0x00000000
[87489.689685] mmc0: cqhci: Int stat: 0x00000000 | Int enab: 0x00000006
[87489.697716] mmc0: cqhci: Int sig: 0x00000006 | Int Coal: 0x00000000
[87489.705748] mmc0: cqhci: TDL base: 0x00000000 | TDL up32: 0x00000000
[87489.713780] mmc0: cqhci: Doorbell: 0x30000000 | TCN: 0x00000000
[87489.721814] mmc0: cqhci: Dev queue: 0x00000000 | Dev Pend: 0x00000000
[87489.729846] mmc0: cqhci: Task clr: 0x00000000 | SSC1: 0x00011000
[87489.737877] mmc0: cqhci: SSC2: 0x00000000 | DCMD rsp: 0x00000000
[87489.745908] mmc0: cqhci: RED mask: 0xfdf9a080 | TERRI: 0x00001d2c
[87489.753939] mmc0: cqhci: Resp idx: 0x00000000 | Resp arg: 0x00000000
[87489.761969] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[87489.770001] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00001004
[87489.778033] mmc0: sdhci: Blk size: 0x00007200 | Blk cnt: 0x00000000
[87489.786067] mmc0: sdhci: Argument: 0x00000001 | Trn mode: 0x00000000
[87489.794099] mmc0: sdhci: Present: 0x01ff00f0 | Host ctl: 0x00000018
[87489.802130] mmc0: sdhci: Power: 0x0000000b | Blk gap: 0x00000080
[87489.810161] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x0000fa07
[87489.818192] mmc0: sdhci: Timeout: 0x0000000e | Int stat: 0x00000000
[87489.826224] mmc0: sdhci: Int enab: 0x02ff4000 | Sig enab: 0x02ff4000
[87489.834255] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[87489.842285] mmc0: sdhci: Caps: 0x7cecc801 | Caps_1: 0x98002407
[87489.850317] mmc0: sdhci: Cmd: 0x00003013 | Max curr: 0x00000000
[87489.858348] mmc0: sdhci: Resp[0]: 0x00ff8080 | Resp[1]: 0x00000000
[87489.866379] mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000
[87489.874409] mmc0: sdhci: Host ctl2: 0x00000000
[87489.879947] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x0000000000000000
[87489.888844] mmc0: sdhci: ============================================
[87489.896884] mmc0: running CQE recovery
[87489.902748] blk_update_request: I/O error, dev mmcblk0, sector 4824016 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0

