From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Sean Rhodes <sean@starlabs.systems>
Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org,
Arnd Bergmann <arnd@arndb.de>
Subject: Re: [PATCH 1/3] Revert "staging: remove rts5139 driver code"
Date: Tue, 7 Jan 2025 16:27:32 +0100 [thread overview]
Message-ID: <2025010718-tamale-eraser-4c49@gregkh> (raw)
In-Reply-To: <20241119121912.12383-1-sean@starlabs.systems>
On Tue, Nov 19, 2024 at 12:19:10PM +0000, Sean Rhodes wrote:
> This reverts commit 00d8521dcd236d1b8f664f54a0309e96bfdcb4f9.
>
> The staging driver that was removed, `rts5139`, worked well with multiple
> Realtek card readers and provided more comprehensive functionality than
> `rtsx_usb`. It supported features like interrupts, SSC, speed modes,
> suspend, secure erase, TRIM, and more. Additionally, its error recovery
> mechanisms were superior.
>
> Notable issues with the `rtsx_usb` driver include delayed S3 entry until
> `mmc_rescan` was frozen and data corruption on SDR104 cards. Over 100 bugs
> related to the `rtsx_usb` driver are reported on Bugzilla, with additional
> reports downstream. As a result, several forks of `rts5139` exist on
> GitHub and other repositories, which users rely on to mitigate these
> problems.
>
> Reintroducing `rts5139` addresses these deficiencies until the current
> `rtsx_usb` driver achieves feature parity and stability.
>
> Fixes: 00d8521dcd23 ("staging: remove rts5139 driver code")
> Cc: stable@vger.kernel.org
Sorry, but this isn't a stable patch, it's "add a whole new driver".
Also, who is now going to take over maintaining this driver? There's
still a lot of things left on the TODO list:
> --- /dev/null
> +++ b/drivers/staging/rts5139/TODO
> @@ -0,0 +1,9 @@
> +TODO:
> +- support more USB card reader of Realtek family
> +- use kernel coding style
> +- checkpatch.pl fixes
> +- stop having thousands of lines of code duplicated with staging/rts_pstor
> +- This driver contains an entire SD/MMC stack -- it should use the stack in
> + drivers/mmc instead, as a host driver e.g. drivers/mmc/host/realtek-usb.c;
> + see drivers/mmc/host/ushc.c as an example.
> +- This driver presents cards as SCSI devices, but they should be MMC devices.
The biggest issue is the whole mmc stack being in here. When is that
work going to happen? Why not just add the missing features to the
existing misc/ drivers instead?
I'll be glad to add this back, but I need someone to take ownership of
it in order to fix this and get it out of staging. Please feel free to
resend this series with that information.
thanks,
greg k-h
prev parent reply other threads:[~2025-01-07 15:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-19 12:19 [PATCH 1/3] Revert "staging: remove rts5139 driver code" Sean Rhodes
2024-11-19 12:19 ` [PATCH 2/3] drivers/card_reader/rtsx_usb: Add interrupt based detection Sean Rhodes
2025-01-07 15:27 ` Greg Kroah-Hartman [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=2025010718-tamale-eraser-4c49@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=arnd@arndb.de \
--cc=linux-kernel@vger.kernel.org \
--cc=sean@starlabs.systems \
--cc=stable@vger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox