Re: SDHCI: linux-6.11: mmc0: Reset 0x2 never completed

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

 



On Wed, 20 Nov 2024 at 09:28, Pankaj Pandey <pankaj.embedded@xxxxxxxxx> wrote:
>
> Hi All,
>
> My target board(ARMv8-A AArch32 processor), supports the "Synopsys DWC
> MSHC controller." I am using the Linux 5.4 kernel and have enabled the
> following configurations to support the "SDHCI platform driver for
> Synopsys DWC MSHC":
>
> CONFIG_MMC_SDHCI=y
> CONFIG_MMC_SDHCI_PLTFM=y
> CONFIG_MMC_SDHCI_OF_DWCMSHC=y
>
> This setup works perfectly on Linux 5.4, successfully detecting all
> microSD cards. However, when I use the same driver configuration with
> Linux 6.11.0, I encounter the below mentioned error:
>
> sdhci: Secure Digital Host Controller Interface driver
> sdhci: Copyright(c) Pierre Ossman
> sdhci-pltfm: SDHCI platform and OF driver helper
> mmc0: sdhci: Version:   0x00000005 | Present:  0x020f0000
> mmc0: sdhci: Caps:      0x276e648a | Caps_1:   0x08008071
> SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
> mmc0: sdhci: Auto-CMD23 available
> mmc0: SDHCI controller on 48102000.sdhci [48102000.sdhci] using ADMA
> mmc0: Timeout waiting for hardware cmd interrupt.
> mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
> mmc0: sdhci: Sys addr:  0x00000000 | Version:  0x00000005
> mmc0: sdhci: Blk size:  0x00000000 | Blk cnt:  0x00000000
> mmc0: sdhci: Argument:  0x00000c00 | Trn mode: 0x00000000
> mmc0: sdhci: Present:   0x020f0000 | Host ctl: 0x00000001
> mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
> mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x0000fa07
> mmc0: sdhci: Timeout:   0x00000000 | Int stat: 0x00000000
> mmc0: sdhci: Int enab:  0x00ff1083 | Sig enab: 0x00ff1083
> mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
> mmc0: sdhci: Caps:      0x276e648a | Caps_1:   0x08008071
> mmc0: sdhci: Cmd:       0x0000341a | Max curr: 0x00000000
> mmc0: sdhci: Resp[0]:   0x00000000 | Resp[1]:  0x00000000
> mmc0: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
> mmc0: sdhci: Host ctl2: 0x00000000
> mmc0: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000000
> mmc0: sdhci: ============================================
> mmc0: Reset 0x2 never completed.
>
> =====================================================
>
> Please find mmc debug info and dts file changes for references:-
>
> root@devkit-e7:~# cat /sys/kernel/debug/mmc0/ios
> clock:          400000 Hz
> actual clock:   400000 Hz
> vdd:            21 (3.3 ~ 3.4 V)
> bus mode:       2 (push-pull)
> chip select:    1 (active high)
> power mode:     2 (on)
> bus width:      0 (1 bits)
> timing spec:    0 (legacy)
> signal voltage: 0 (3.30 V)
> driver type:    0 (driver type B)
>
> sdmmc: sdhci@48102000 {
>                         compatible = "snps,dwcmshc-sdhci";
>                         reg = <0x48102000 0x1000>;
>                         interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>,
>                                      <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
>                         clocks = <&syst_hclk>, <&syst_hclk>;
>                         clock-names = "core", "bus";
>                         bus-width = <4>;
> max-frequency = <25000000>;
>                         status = "okay";
>                 };
>
> Kindly request you to please let me know if I am missing anything.

Would it be possible for you to do a "git bisect" to see if we can
find if there is a particular commit causing the problem?

Moreover, we have v6.12 now, so it seems reasonable to give that a try too.

Kind regards
Uffe




[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