From: Wenchao Chen <wenchao.chen666@gmail.com>
To: ulf.hansson@linaro.org, adrian.hunter@intel.com
Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org,
megoo.tang@gmail.com, lzx.stg@gmail.com
Subject: [PATCH 0/1] mmc: Reduce tuning log output
Date: Fri, 11 Nov 2022 16:42:13 +0800 [thread overview]
Message-ID: <20221111084214.14822-1-wenchao.chen666@gmail.com> (raw)
From: Wenchao Chen <wenchao.chen@unisoc.com>
During the HS200 Tuning process, a lot of "mmc0: Got data interrupt 0x00200000
even though no data operation was in progress." logs were printed.
From the cmd in the log, it is CMD21.
[ 4.547365][ C0] mmc0: Got data interrupt 0x00200000 even though no data operation was in progress.
[ 4.564088][ C0] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 4.571213][ C0] mmc0: sdhci: Sys addr: 0x00000001 | Version: 0x00000004
[ 4.578339][ C0] mmc0: sdhci: Blk size: 0x00000080 | Blk cnt: 0x00000000
[ 4.585466][ C0] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000013
[ 4.592595][ C0] mmc0: sdhci: Present: 0x01f000f0 | Host ctl: 0x00000030
[ 4.599723][ C0] mmc0: sdhci: Power: 0x00000000 | Blk gap: 0x00000000
[ 4.606849][ C0] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
[ 4.613978][ C0] mmc0: sdhci: Timeout: 0x0000000c | Int stat: 0x00000000
[ 4.621106][ C0] mmc0: sdhci: Int enab: 0x037f000b | Sig enab: 0x037f000b
[ 4.628233][ C0] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[ 4.635360][ C0] mmc0: sdhci: Caps: 0x1e6d0080 | Caps_1: 0x08000007
[ 4.642489][ C0] mmc0: sdhci: Cmd: 0x0000153a | Max curr: 0x000003fc
[ 4.649616][ C0] mmc0: sdhci: Resp[0]: 0x00000900 | Resp[1]: 0x00000900
[ 4.656743][ C0] mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000
[ 4.663881][ C0] mmc0: sdhci: Host ctl2: 0x00003005
[ 4.669002][ C0] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000f0200200
[ 4.811901][ C0] mmc0: sdhci: ============================================
.......
[ 4.819456][ C0] mmc0: Got data interrupt 0x00200000 even though no data operation was in progress.
[ 4.835111][ C0] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 4.835116][ C0] mmc0: sdhci: Sys addr: 0x00000001 | Version: 0x00000004
[ 4.870574][ C0] mmc0: sdhci: Blk size: 0x00000080 | Blk cnt: 0x00000000
[ 4.870580][ C0] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000013
[ 4.920122][ C0] mmc0: sdhci: Present: 0x01f000f0 | Host ctl: 0x00000030
[ 4.927249][ C0] mmc0: sdhci: Power: 0x00000000 | Blk gap: 0x00000000
[ 4.934377][ C0] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
[ 4.941506][ C0] mmc0: sdhci: Timeout: 0x0000000c | Int stat: 0x00000000
[ 4.948631][ C0] mmc0: sdhci: Int enab: 0x037f000b | Sig enab: 0x037f000b
[ 4.955759][ C0] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[ 4.962887][ C0] mmc0: sdhci: Caps: 0x1e6d0080 | Caps_1: 0x08000007
[ 4.970014][ C0] mmc0: sdhci: Cmd: 0x0000153a | Max curr: 0x000003fc
[ 4.977143][ C0] mmc0: sdhci: Resp[0]: 0x00000900 | Resp[1]: 0x00000900
[ 4.984270][ C0] mmc0: sdhci: Resp[2]: 0x000ls00900 | Resp[3]: 0x00000000
[ 4.991398][ C0] mmc0: sdhci: Host ctl2: 0x00003005
[ 4.996526][ C0] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000f0200200
[ 4.811901][ C0] mmc0: sdhci: ============================================
Wenchao Chen (1):
mmc: sdhci: Fixed too many logs being printed during tuning
drivers/mmc/host/sdhci.c | 4 ++++
1 file changed, 4 insertions(+)
--
2.17.1
next reply other threads:[~2022-11-11 8:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-11 8:42 Wenchao Chen [this message]
2022-11-11 8:42 ` [PATCH 1/1] mmc: sdhci: Fixed too many logs being printed during tuning Wenchao Chen
2022-11-16 15:20 ` Ulf Hansson
2022-11-18 9:22 ` Wenchao Chen
2022-11-16 16:00 ` Adrian Hunter
2022-11-18 9:25 ` Wenchao Chen
2022-11-18 15:57 ` Adrian Hunter
2022-11-21 3:11 ` Wenchao Chen
2022-11-30 6:18 ` Adrian Hunter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221111084214.14822-1-wenchao.chen666@gmail.com \
--to=wenchao.chen666@gmail.com \
--cc=adrian.hunter@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=lzx.stg@gmail.com \
--cc=megoo.tang@gmail.com \
--cc=ulf.hansson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).