From: Marc Gonzalez <marc.w.gonzalez@free.fr>
To: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Neil Armstrong <neil.armstrong@linaro.org>,
Arend van Spriel <aspriel@gmail.com>,
Franky Lin <franky.lin@broadcom.com>,
Hante Meuleman <hante.meuleman@broadcom.com>,
Kalle Valo <kvalo@kernel.org>, Eric Dumazet <edumazet@google.com>,
Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com>,
Alexander Prutskov <alep@cypress.com>,
Joseph chuang <jiac@cypress.com>,
Kevin Hilman <khilman@baylibre.com>,
Jerome Brunet <jbrunet@baylibre.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
Angus Ainslie <angus@akkea.ca>, Pierre-Hugues Husson <phh@phh.me>,
linux-wireless@vger.kernel.org, linux-mmc@vger.kernel.org,
linux-amlogic@lists.infradead.org
Subject: Re: [RFC PATCH] brcmfmac: add 43751 SDIO ids and initialization
Date: Mon, 13 Mar 2023 15:53:40 +0100 [thread overview]
Message-ID: <b76fdfb1-753a-db17-e732-63046a336936@free.fr> (raw)
In-Reply-To: <da979443-7a99-b0c8-911b-c5a0d21d595f@free.fr>
On 13/03/2023 15:41, Marc Gonzalez wrote:
> NOTA BENE: for mmc1, in both runs, kernel probes 10 times and fails with:
>
> [ 1.265231] mmc_attach_sdio failed with -110
> [ 1.373006] mmc1: new HS200 MMC card at address 0001
> [ 1.377242] mmcblk1: mmc1:0001 SCA16G 14.7 GiB
> [ 1.383718] mmcblk1boot0: mmc1:0001 SCA16G 4.00 MiB
> [ 1.387257] mmcblk1boot1: mmc1:0001 SCA16G 4.00 MiB
> [ 1.391912] mmcblk1rpmb: mmc1:0001 SCA16G 4.00 MiB, chardev (246:0)
>
> mmc_attach_sdio() fails but mmc_add_card() succeeds anyway...?
> Confused.
> mmc_attach_sdio() doesn't call mmc_add_card() if it exits prematurely.
This might be because mmc1 and mmc2 are of "different nature".
[ 2.083053] mmc2: new ultra high speed SDR50 SDIO card at address 0001
[ 2.093918] CPU: 1 PID: 35 Comm: kworker/1:1 Not tainted 6.2.0-rc8 #300
[ 2.100464] Hardware name: SEI Robotics SEI510 (DT)
[ 2.105296] Workqueue: events_freezable mmc_rescan
[ 2.110038] Call trace:
[ 2.126856] mmc_add_card+0xfc/0x2d0
[ 2.130392] mmc_attach_sdio+0x22c/0x3c0
[ 2.134273] mmc_rescan+0x258/0x2f0
[ 2.137723] process_one_work+0x1cc/0x320
[ 2.141691] worker_thread+0x14c/0x450
[ 2.145399] kthread+0x10c/0x110
[ 2.148591] ret_from_fork+0x10/0x20
/* below message from call_driver_probe() getting ENODEV */
[ 2.152299] mmcblk: probe of mmc2:0001 rejects match -19
[ 2.176589] YO mmc1
[ 2.180263] YO mmc1
[ 2.183937] YO mmc1
[ 2.187621] YO mmc1
[ 2.191299] YO mmc1
[ 2.194972] YO mmc1
[ 2.198649] YO mmc1
[ 2.202326] YO mmc1
[ 2.206000] YO mmc1
[ 2.209674] YO mmc1
[ 2.209687] mmc_attach_sdio failed with -110
[ 2.318954] mmc1: new HS200 MMC card at address 0001
[ 2.322515] CPU: 1 PID: 20 Comm: kworker/1:0 Not tainted 6.2.0-rc8 #300
[ 2.329061] Hardware name: SEI Robotics SEI510 (DT)
[ 2.333892] Workqueue: events_freezable mmc_rescan
[ 2.338635] Call trace:
[ 2.355453] mmc_add_card+0xfc/0x2d0
[ 2.358989] mmc_attach_mmc+0xf0/0x180
[ 2.362698] mmc_rescan+0x280/0x2f0
[ 2.366148] process_one_work+0x1cc/0x320
[ 2.370115] worker_thread+0x14c/0x450
[ 2.373824] kthread+0x10c/0x110
[ 2.377015] ret_from_fork+0x10/0x20
[ 2.381265] mmcblk1: mmc1:0001 SCA16G 14.7 GiB
[ 2.389945] mmcblk1boot0: mmc1:0001 SCA16G 4.00 MiB
[ 2.391199] mmcblk1boot1: mmc1:0001 SCA16G 4.00 MiB
[ 2.395897] mmcblk1rpmb: mmc1:0001 SCA16G 4.00 MiB, chardev (246:0)
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next prev parent reply other threads:[~2023-03-13 14:56 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-03 18:19 Unsupported WiFi adapter on S905X2 board Marc Gonzalez
2023-03-06 9:17 ` Neil Armstrong
2023-03-06 10:24 ` [RFC PATCH] brcmfmac: add 43751 SDIO ids and initialization Marc Gonzalez
2023-03-06 10:41 ` Marc Gonzalez
2023-03-07 14:40 ` Marc Gonzalez
2023-03-07 23:15 ` Franky Lin
2023-03-08 12:47 ` Marc Gonzalez
2023-03-08 17:21 ` Franky Lin
2023-03-08 17:37 ` Neil Armstrong
2023-03-22 17:40 ` Marc Gonzalez
2023-04-04 15:59 ` Marc Gonzalez
2023-03-09 10:16 ` Marc Gonzalez
2023-03-09 12:13 ` Marc Gonzalez
2023-03-09 14:29 ` Ulf Hansson
2023-03-09 16:45 ` Marc Gonzalez
2023-03-09 17:51 ` Marc Gonzalez
2023-03-13 13:55 ` Marc Gonzalez
2023-03-13 14:41 ` Marc Gonzalez
2023-03-13 14:53 ` Marc Gonzalez [this message]
2023-03-13 17:09 ` Marc Gonzalez
2023-03-13 20:04 ` Martin Blumenstingl
2023-03-13 21:42 ` Marc Gonzalez
2023-03-14 7:27 ` Ulf Hansson
[not found] ` <c7e48c6f-530b-7198-b8bb-fc927a2fdc66@free.fr>
2023-03-14 11:08 ` Ulf Hansson
2023-03-14 16:37 ` Marc Gonzalez
2023-03-15 20:55 ` Ulf Hansson
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=b76fdfb1-753a-db17-e732-63046a336936@free.fr \
--to=marc.w.gonzalez@free.fr \
--cc=alep@cypress.com \
--cc=angus@akkea.ca \
--cc=aspriel@gmail.com \
--cc=edumazet@google.com \
--cc=franky.lin@broadcom.com \
--cc=hante.meuleman@broadcom.com \
--cc=jbrunet@baylibre.com \
--cc=jiac@cypress.com \
--cc=khilman@baylibre.com \
--cc=kvalo@kernel.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=neil.armstrong@linaro.org \
--cc=phh@phh.me \
--cc=pieter-paul.giesberts@broadcom.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