This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM6548: `mmc1: Got data interrupt 0x00600000 even though no data operation was in progress` when using RPMB

Part Number: AM6548

Hi,

We got below error print by the kernel when using eMMC RPMB on AM6548:

```

[ 707.209027] mmc1: Got data interrupt 0x00600000 even though no data operation was in progress.
[ 707.217640] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 707.224068] mmc1: sdhci: Sys addr: 0x00000001 | Version: 0x00001004
[ 707.230493] mmc1: sdhci: Blk size: 0x00007080 | Blk cnt: 0x00000001
[ 707.236919] mmc1: sdhci: Argument: 0x00000000 | Trn mode: 0x00000013
[ 707.243345] mmc1: sdhci: Present: 0x01f700f0 | Host ctl: 0x0000003d
[ 707.249771] mmc1: sdhci: Power: 0x0000000f | Blk gap: 0x00000080
[ 707.256196] mmc1: sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
[ 707.262622] mmc1: sdhci: Timeout: 0x00000000 | Int stat: 0x00000000
[ 707.269047] mmc1: sdhci: Int enab: 0x03ff000b | Sig enab: 0x03ff000b
[ 707.275472] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[ 707.281896] mmc1: sdhci: Caps: 0x7fecc801 | Caps_1: 0x98002407
[ 707.288321] mmc1: sdhci: Cmd: 0x0000153a | Max curr: 0x00000000
[ 707.294747] mmc1: sdhci: Resp[0]: 0x00000900 | Resp[1]: 0xffc003ff
[ 707.301172] mmc1: sdhci: Resp[2]: 0x328f5903 | Resp[3]: 0x00000900
[ 707.307597] mmc1: sdhci: Host ctl2: 0x0000000b
[ 707.312031] mmc1: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x0000000080cfd200
[ 707.319150] mmc1: sdhci: ============================================

```

This could be easily triggerred with RPMB accessing, such as using mmc command to get the Write Counter:

```

mmc rpmb read-counter /dev/mmcblk1rpmb

```

The RPMB seems works with no issue, - well, at least from my testing... But this error printing is really annoying.

Any clues on what this error message is about and how to handle it?

- Baocheng