Commits
zhang sanshan committed 2b39a0d120f
MA-15608 [Android] diable CMDQ for emmc It may timeout when send CMD44 sometimes. It's can reproduced when run below cts case. CtsDevicePolicyManagerTestCases CtsDevicePolicyManagerTestCases This patch disable CMDQ to avoid this issue temporarily. error log: [ 214.144433] mmc2: cqhci: ============ CQHCI REGISTER DUMP =========== [ 214.150873] mmc2: cqhci: Caps: 0x0000310a | Version: 0x00000510 [ 214.157313] mmc2: cqhci: Config: 0x00001001 | Control: 0x00000000 [ 214.163752] mmc2: cqhci: Int stat: 0x00000000 | Int enab: 0x00000006 [ 214.170192] mmc2: cqhci: Int sig: 0x00000006 | Int Coal: 0x00000000 [ 214.176631] mmc2: cqhci: TDL base: 0x78049000 | TDL up32: 0x00000000 [ 214.183070] mmc2: cqhci: Doorbell: 0x00000002 | TCN: 0x80000000 [ 214.189510] mmc2: cqhci: Dev queue: 0x00000001 | Dev Pend: 0x00000000 [ 214.195950] mmc2: cqhci: Task clr: 0x00000000 | SSC1: 0x00011000 [ 214.202389] mmc2: cqhci: SSC2: 0x00000001 | DCMD rsp: 0x00000001 [ 214.208828] mmc2: cqhci: RED mask: 0xfdf9a080 | TERRI: 0x0000812c [ 214.215268] mmc2: cqhci: Resp idx: 0x00000000 | Resp arg: 0x00000001 [ 214.221707] mmc2: sdhci: ============ SDHCI REGISTER DUMP =========== [ 214.228146] mmc2: sdhci: Sys addr: 0xac14b000 | Version: 0x00000002 [ 214.234586] mmc2: sdhci: Blk size: 0x00000200 | Blk cnt: 0x00000008 [ 214.241026] mmc2: sdhci: Argument: 0x00010008 | Trn mode: 0x00000023 [ 214.247465] mmc2: sdhci: Present: 0x01f88009 | Host ctl: 0x00000030 [ 214.253905] mmc2: sdhci: Power: 0x00000002 | Blk gap: 0x00000080 [ 214.260345] mmc2: sdhci: Wake-up: 0x00000008 | Clock: 0x0000000f [ 214.266784] mmc2: sdhci: Timeout: 0x0000008f | Int stat: 0x00000000 [ 214.273224] mmc2: sdhci: Int enab: 0x107f4000 | Sig enab: 0x107f4000 [ 214.279663] mmc2: sdhci: AC12 err: 0x00000000 | Slot int: 0x00000502 [ 214.286103] mmc2: sdhci: Caps: 0x07eb0000 | Caps_1: 0x8000b407 [ 214.292542] mmc2: sdhci: Cmd: 0x00002c1a | Max curr: 0x00ffffff [ 214.298982] mmc2: sdhci: Resp[0]: 0x00000001 | Resp[1]: 0xffffffff [ 214.305421] mmc2: sdhci: Resp[2]: 0x328f5903 | Resp[3]: 0x00d00f00 [ 214.311861] mmc2: sdhci: Host ctl2: 0x00000008 [ 214.316304] mmc2: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x78098008 214.322742] mmc2: sdhci: ============================================ [ 214.329284] mmc2: running CQE recovery [ 214.334819] mmc2: cache flush error -110 Change-Id: Ia21b1465fc1097a9f111b225d2816001f20970cf Signed-off-by: zhang sanshan <pete.zhang@nxp.com>