Linux MultiMedia Card development
 help / color / mirror / Atom feed
* UHS2 init fail
@ 2025-05-10  9:10 raoul via Bugspray Bot
  2025-05-13  7:23 ` Adrian Hunter
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: raoul via Bugspray Bot @ 2025-05-10  9:10 UTC (permalink / raw)
  To: linux-mmc, ulf.hansson

raoul writes via Kernel.org Bugzilla:

Hello,

I have a PCSpecialist notebook with SD/MMC card reader. When I insert my SD card I can browse it in Gnome, but I see the following errors in dmesg:

mmc0: SDHCI_UHS2_CAPS_PTR(65535) is wrong.
mmc0: UHS2 init fail.
mmc0: failed to initial phy for UHS-II!
mmc0: SDHCI_UHS2_CAPS_PTR(65535) is wrong.
mmc0: UHS2 init fail.
mmc0: failed to initial phy for UHS-II!
mmc0: new UHS-I speed SDR104 SDXC card at address 59b4
mmcblk0: mmc0:59b4 ED2S5 119 GiB
mmcblk0: p1

The device:

Class: 0805 SD Host Controller
Vendor: 17a0 Genesys Logic
Device: 9767 GL9767 SD Host Controller
Svendor: 1d05 AIstone GLobal
SDEvice: 5006 unknown
Revision: 03

Thanks

View: https://bugzilla.kernel.org/show_bug.cgi?id=220103#c0
You can reply to this message to join the discussion.
-- 
Deet-doot-dot, I am a bot.
Kernel.org Bugzilla (bugspray 0.1-dev)


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

* Re: UHS2 init fail
  2025-05-10  9:10 UHS2 init fail raoul via Bugspray Bot
@ 2025-05-13  7:23 ` Adrian Hunter
  2025-06-22  6:40 ` raoul via Bugspray Bot
  2025-06-23 15:05 ` raoul via Bugspray Bot
  2 siblings, 0 replies; 6+ messages in thread
From: Adrian Hunter @ 2025-05-13  7:23 UTC (permalink / raw)
  To: raoul via Bugspray Bot, Ben Chuang, victor.shih; +Cc: linux-mmc, ulf.hansson

+ Ben and Victor

On 10/05/2025 12:10, raoul via Bugspray Bot wrote:
> raoul writes via Kernel.org Bugzilla:
> 
> Hello,
> 
> I have a PCSpecialist notebook with SD/MMC card reader. When I insert my SD card I can browse it in Gnome, but I see the following errors in dmesg:
> 
> mmc0: SDHCI_UHS2_CAPS_PTR(65535) is wrong.
> mmc0: UHS2 init fail.
> mmc0: failed to initial phy for UHS-II!
> mmc0: SDHCI_UHS2_CAPS_PTR(65535) is wrong.
> mmc0: UHS2 init fail.
> mmc0: failed to initial phy for UHS-II!
> mmc0: new UHS-I speed SDR104 SDXC card at address 59b4
> mmcblk0: mmc0:59b4 ED2S5 119 GiB
> mmcblk0: p1
> 
> The device:
> 
> Class: 0805 SD Host Controller
> Vendor: 17a0 Genesys Logic
> Device: 9767 GL9767 SD Host Controller
> Svendor: 1d05 AIstone GLobal
> SDEvice: 5006 unknown
> Revision: 03
> 
> Thanks
> 
> View: https://bugzilla.kernel.org/show_bug.cgi?id=220103#c0
> You can reply to this message to join the discussion.


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

* Re: UHS2 init fail
  2025-05-10  9:10 UHS2 init fail raoul via Bugspray Bot
  2025-05-13  7:23 ` Adrian Hunter
@ 2025-06-22  6:40 ` raoul via Bugspray Bot
  2025-06-23  8:26   ` Adrian Hunter
  2025-06-23 15:05 ` raoul via Bugspray Bot
  2 siblings, 1 reply; 6+ messages in thread
From: raoul via Bugspray Bot @ 2025-06-22  6:40 UTC (permalink / raw)
  To: ulf.hansson, ben.chuang, victor.shih, linux-mmc, adrian.hunter

raoul writes via Kernel.org Bugzilla:

With kernel 6.15.3 and the latest linux-firmware (20250613), same sd card, I'm seeing this now:

[  396.669202] mmc0: UHS2 Lane sync fail in 150ms.
[  396.669209] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[  396.669211] mmc0: sdhci: Sys addr:  0x00000000 | Version:  0x00000005
[  396.669215] mmc0: sdhci: Blk size:  0x00000000 | Blk cnt:  0x00000000
[  396.669218] mmc0: sdhci: Argument:  0x00000000 | Trn mode: 0x00000000
[  396.669222] mmc0: sdhci: Present:   0x230f00f0 | Host ctl: 0x00000000
[  396.669225] mmc0: sdhci: Power:     0x000000bf | Blk gap:  0x00000000
[  396.669228] mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x0000002f
[  396.669231] mmc0: sdhci: Timeout:   0x00000007 | Int stat: 0x00000000
[  396.669233] mmc0: sdhci: Int enab:  0x00ff0083 | Sig enab: 0x00ff0083
[  396.669236] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[  396.669239] mmc0: sdhci: Caps:      0x39783281 | Caps_1:   0x1803257f
[  396.669242] mmc0: sdhci: Cmd:       0x00000000 | Max curr: 0x000000c8
[  396.669245] mmc0: sdhci: Resp[0]:   0x00000000 | Resp[1]:  0x00000000
[  396.669248] mmc0: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
[  396.669251] mmc0: sdhci: Host ctl2: 0x00009117
[  396.669253] mmc0: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x0000000000000000
[  396.669258] mmc0: sdhci_uhs2: ==================== UHS2 ==================
[  396.669259] mmc0: sdhci_uhs2: Blk Size:  0x00000000 | Blk Cnt:  0x00000000
[  396.669262] mmc0: sdhci_uhs2: Cmd:       0x00000000 | Trn mode: 0x00000000
[  396.669265] mmc0: sdhci_uhs2: Int Stat:  0x00000000 | Dev Sel : 0x00000000
[  396.669268] mmc0: sdhci_uhs2: Dev Int Code:  0x00000000
[  396.669269] mmc0: sdhci_uhs2: Reset:     0x00000000 | Timer:    0x000000a7
[  396.669272] mmc0: sdhci_uhs2: ErrInt:    0x00000000 | ErrIntEn: 0x00030000
[  396.669275] mmc0: sdhci_uhs2: ErrSigEn:  0x00030000
[  396.669277] mmc0: sdhci: ============================================
[  396.669277] mmc0: cannot detect UHS2 interface.
[  396.669278] mmc0: failed to initial phy for UHS-II!
[  396.679710] mmc0: SDHCI_UHS2_CAPS_PTR(65535) is wrong.
[  396.679711] mmc0: UHS2 init fail.
[  396.679712] mmc0: failed to initial phy for UHS-II!
[  396.925968] mmc0: new UHS-I speed SDR104 SDXC card at address 59b4
[  396.947290] mmcblk0: mmc0:59b4 ED2S5 119 GiB
[  396.948374]  mmcblk0: p1

View: https://bugzilla.kernel.org/show_bug.cgi?id=220103#c2
You can reply to this message to join the discussion.
-- 
Deet-doot-dot, I am a bot.
Kernel.org Bugzilla (bugspray 0.1-dev)


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

* Re: UHS2 init fail
  2025-06-22  6:40 ` raoul via Bugspray Bot
@ 2025-06-23  8:26   ` Adrian Hunter
  2025-06-24 10:27     ` Ulf Hansson
  0 siblings, 1 reply; 6+ messages in thread
From: Adrian Hunter @ 2025-06-23  8:26 UTC (permalink / raw)
  To: raoul via Bugspray Bot, ulf.hansson, ben.chuang, victor.shih,
	linux-mmc

On 22/06/2025 09:40, raoul via Bugspray Bot wrote:
> raoul writes via Kernel.org Bugzilla:
> 
> With kernel 6.15.3 and the latest linux-firmware (20250613), same sd card, I'm seeing this now:
> 
> [  396.669202] mmc0: UHS2 Lane sync fail in 150ms.
...
> [  396.679712] mmc0: failed to initial phy for UHS-II!

There are 3 patches that make all these messages debug-only.
The patches are queued for 6.17 but can be found in linux-next (1)
or mmc tree 'next' branch (2).

6f3a2f9fd8161cb6a04d982ab1027321f7c8709c mmc: sdhci-uhs2: Adjust some error messages and register dump for SD UHS-II card
757611fc4bc52d9e2986e54df1d12c914e2da08c mmc: sdhci: Add a helper function for dump register in dynamic debug mode
790dc30477f2dec029a47ca536bc945557541395 mmc: core: Adjust some error messages for SD UHS-II cards

(1) https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
(2) https://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git next

> [  396.925968] mmc0: new UHS-I speed SDR104 SDXC card at address 59b4
> [  396.947290] mmcblk0: mmc0:59b4 ED2S5 119 GiB
> [  396.948374]  mmcblk0: p1

IIRC the card was not a UHS-II card, so initializing
UHS-I is success.  The messages may be ignored, but
will not appear from 6.17 onward.

> 
> View: https://bugzilla.kernel.org/show_bug.cgi?id=220103#c2
> You can reply to this message to join the discussion.


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

* Re: UHS2 init fail
  2025-05-10  9:10 UHS2 init fail raoul via Bugspray Bot
  2025-05-13  7:23 ` Adrian Hunter
  2025-06-22  6:40 ` raoul via Bugspray Bot
@ 2025-06-23 15:05 ` raoul via Bugspray Bot
  2 siblings, 0 replies; 6+ messages in thread
From: raoul via Bugspray Bot @ 2025-06-23 15:05 UTC (permalink / raw)
  To: victor.shih, ben.chuang, ulf.hansson, linux-mmc, adrian.hunter

raoul writes via Kernel.org Bugzilla:

Ok thanks!

View: https://bugzilla.kernel.org/show_bug.cgi?id=220103#c4
You can reply to this message to join the discussion.
-- 
Deet-doot-dot, I am a bot.
Kernel.org Bugzilla (bugspray 0.1-dev)


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

* Re: UHS2 init fail
  2025-06-23  8:26   ` Adrian Hunter
@ 2025-06-24 10:27     ` Ulf Hansson
  0 siblings, 0 replies; 6+ messages in thread
From: Ulf Hansson @ 2025-06-24 10:27 UTC (permalink / raw)
  To: Adrian Hunter; +Cc: raoul via Bugspray Bot, ben.chuang, victor.shih, linux-mmc

On Mon, 23 Jun 2025 at 10:26, Adrian Hunter <adrian.hunter@intel.com> wrote:
>
> On 22/06/2025 09:40, raoul via Bugspray Bot wrote:
> > raoul writes via Kernel.org Bugzilla:
> >
> > With kernel 6.15.3 and the latest linux-firmware (20250613), same sd card, I'm seeing this now:
> >
> > [  396.669202] mmc0: UHS2 Lane sync fail in 150ms.
> ...
> > [  396.679712] mmc0: failed to initial phy for UHS-II!
>
> There are 3 patches that make all these messages debug-only.
> The patches are queued for 6.17 but can be found in linux-next (1)
> or mmc tree 'next' branch (2).
>
> 6f3a2f9fd8161cb6a04d982ab1027321f7c8709c mmc: sdhci-uhs2: Adjust some error messages and register dump for SD UHS-II card
> 757611fc4bc52d9e2986e54df1d12c914e2da08c mmc: sdhci: Add a helper function for dump register in dynamic debug mode
> 790dc30477f2dec029a47ca536bc945557541395 mmc: core: Adjust some error messages for SD UHS-II cards
>
> (1) https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> (2) https://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git next
>
> > [  396.925968] mmc0: new UHS-I speed SDR104 SDXC card at address 59b4
> > [  396.947290] mmcblk0: mmc0:59b4 ED2S5 119 GiB
> > [  396.948374]  mmcblk0: p1
>
> IIRC the card was not a UHS-II card, so initializing
> UHS-I is success.  The messages may be ignored, but
> will not appear from 6.17 onward.

Let me add a stable tag to those commits above. It seems really
annoying to get bugreports for something that really isn't a problem.

>
> >
> > View: https://bugzilla.kernel.org/show_bug.cgi?id=220103#c2
> > You can reply to this message to join the discussion.
>

Kind regards
Uffe

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

end of thread, other threads:[~2025-06-24 10:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-10  9:10 UHS2 init fail raoul via Bugspray Bot
2025-05-13  7:23 ` Adrian Hunter
2025-06-22  6:40 ` raoul via Bugspray Bot
2025-06-23  8:26   ` Adrian Hunter
2025-06-24 10:27     ` Ulf Hansson
2025-06-23 15:05 ` raoul via Bugspray Bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox