linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] mmc: Reduce tuning log output
@ 2022-11-11  8:42 Wenchao Chen
  2022-11-11  8:42 ` [PATCH 1/1] mmc: sdhci: Fixed too many logs being printed during tuning Wenchao Chen
  0 siblings, 1 reply; 9+ messages in thread
From: Wenchao Chen @ 2022-11-11  8:42 UTC (permalink / raw)
  To: ulf.hansson, adrian.hunter; +Cc: linux-mmc, linux-kernel, megoo.tang, lzx.stg

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-11-30  6:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-11  8:42 [PATCH 0/1] mmc: Reduce tuning log output Wenchao Chen
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

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).