All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luka Gejak <luka.gejak@linux.dev>
To: linux-mmc@vger.kernel.org, ulfh@kernel.org
Cc: Luka Gejak <luka.gejak@linux.dev>
Subject: [RFC] mmc: virtual SDIO host for testing without hardware
Date: Fri, 20 Nov 2026 02:16:49 +0100	[thread overview]
Message-ID: <489102F4-2EEA-42CC-9858-AF8B9B4FFD5C@linux.dev> (raw)

Hi,

I've been working on a virtual SDIO host and card simulator that allows
testing the MMC/SDIO core and SDIO drivers without needing physical
hardware.

It uses the existing MMC core and supports normal card enumeration,
CMD52/CMD53 transfers, interrupts, insertion/ removal, and fault injection.
There's also configfs/debugfs support, KUnit tests, and kselftests.

The implementation currently adds around 8,000 lines (I know that's a lot,
it will be smaller), including tests and documentation. It's working, but
I'm still reviewing and cleaning it up, and I'm open to reducing its scope
significantly.

Before spending more time on it, I'd appreciate some feedback:

- Would something like this be accepted upstream?
- Does the overall approach make sense, and would you prefer a smaller initial implementation?
- What kind of use case or demonstration would you want to see before considering it for acceptance?

I'd also be happy to take full responsibility for maintaining it long-term,
including reviews, bug fixes, and keeping it working as the MMC core
changes.

Thanks for any thoughts or suggestions.

Best regards,
Luka Gejak

                 reply	other threads:[~2026-11-20  1:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=489102F4-2EEA-42CC-9858-AF8B9B4FFD5C@linux.dev \
    --to=luka.gejak@linux.dev \
    --cc=linux-mmc@vger.kernel.org \
    --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.