From: Ian Ray <ian.ray@gehealthcare.com>
To: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ulf Hansson <ulf.hansson@oss.qualcomm.com>,
Ulf Hansson <ulfh@kernel.org>,
Shawn Lin <shawn.lin@rock-chips.com>,
Kamal Dasu <kamal.dasu@broadcom.com>,
stable@vger.kernel.org, linux-mmc@vger.kernel.org,
linux-kernel@vger.kernel.org, ian.ray@gehealthcare.com
Subject: Re: [PATCH] mmc: core: Don't program invalid host driver type for fixed eMMC type
Date: Tue, 6 Oct 2026 13:44:58 +0300 [thread overview]
Message-ID: <asTRKmmNKIyGw_PO@zeus> (raw)
In-Reply-To: <ae9b702d-6a19-4f97-8117-b6626e69cc9d@intel.com>
On Tue, Oct 06, 2026 at 10:28:23AM +0300, Adrian Hunter wrote:
> On 01/10/2026 18:39, Ian Ray wrote:
> > On Wed, Sep 30, 2026 at 10:00:47PM +0300, Adrian Hunter wrote:
> >> On 29/09/2026 16:06, Ulf Hansson wrote:
> >>> + Adrian
> >>>
> >>> On Sat, Sep 26, 2026 at 2:29 PM Ian Ray <ian.ray@gehealthcare.com> wrote:
> >>>>
> >>>> The host controller driver type value used by the MMC core [1] _mostly_
> >>>> overlaps with the eMMC device I/O driver strength value [2] as shown in
> >>>> the table below; however, there is _no_ host mapping for eMMC value 4.
[...]
> >
> > The "invalid driver type" warning that I originally observed originates
> > in sdhci_set_ios_common() which is shared by all SDHCI hosts (IIUC).
> >
> > Thus any SDHCI host configured with `fixed-emmc-driver-type = <4>` would
> > log that warning.
>
> The warning is valid. SDHCI does not support value 4 and doesn't know
> what is a valid alternative or even if there is one. That is up to the
> driver to sort out. If other drivers do it the same way, then a
> helper or something could be added.
[...]
> The objective is not to avoid the warning. The warning is valid. The
> objective is to provide a valid value. 4 is not.
Thank you, I will send a v2 in which sdhci_esdhc_imx_set_ios implements
a bounds check against MMC_SET_DRIVER_TYPE_D.
prev parent reply other threads:[~2026-10-06 10:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-26 12:29 [PATCH] mmc: core: Don't program invalid host driver type for fixed eMMC type Ian Ray
2026-09-29 13:06 ` Ulf Hansson
2026-09-30 19:00 ` Adrian Hunter
2026-10-01 15:39 ` Ian Ray
2026-10-06 7:28 ` Adrian Hunter
2026-10-06 10:44 ` Ian Ray [this message]
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=asTRKmmNKIyGw_PO@zeus \
--to=ian.ray@gehealthcare.com \
--cc=adrian.hunter@intel.com \
--cc=kamal.dasu@broadcom.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=shawn.lin@rock-chips.com \
--cc=stable@vger.kernel.org \
--cc=ulf.hansson@oss.qualcomm.com \
--cc=ulfh@kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.