[PATCH 0/1] mmc: Reduce tuning log output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Wenchao Chen <wenchao.chen@xxxxxxxxxx>

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




[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux