public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Andrei Warkentin" <andrey.warkentin@gmail.com>
To: devel@edk2.groups.io, leif@nuviainc.com
Subject: Re: [edk2-devel] [PATCH 0/3] BaseTools,EmbeddedPkg,Maintainers.txt: Obsolete some drivers
Date: Wed, 29 Apr 2020 15:14:42 -0500	[thread overview]
Message-ID: <CANz0V+7EpKaPikFv_-Bz4pVoJZm5hf8wAnpnJxv5DHqa=e6a3w@mail.gmail.com> (raw)
In-Reply-To: <20200429163616.5951-1-leif@nuviainc.com>

[-- Attachment #1: Type: text/plain, Size: 2448 bytes --]

Btw, the Raspberry Pi support has its own variant of MmcDxe and SD host
drivers... the history behind that is that's the way it was in the original
MSFT port circa 2016. When I had rebased that code to 2018 edk2 (still
before Pete's work to upstream it here), the edk2 variant had significantly
diverged from the MSFT changes, so the MSFT one was taken as is (and
further evolved to fix issues around high-speed support).

It's still a goal to move away from all of that towards something generic.
The Pi has two (sometimes 3) controllers - some are kinda-SDHCI (maybe
possible with the Mde stack, if quirked via _SD_MMC_OVERRIDE_PROTOCOL),
while the other is completely non-standard.

Mde doesn't have a non-SDHCI stack. That remains a gap...

A

On Wed, Apr 29, 2020 at 11:36 AM Leif Lindholm <leif@nuviainc.com> wrote:

> We keep seeing new users (and copies) of EmbeddedPkg:s MmcDxe, which
> while it predates the MdeModulePkg SD/(E)MMCsupport is in effect
> unmaintained and also duplicates core industry standard definitions.
>
> Since we now have GetMaintainers.py to parse Maintainers.txt for us,
> extend its functionality to warn about less supported code.
>
> Then as an indication of its unsuitability for reference (or use), set
> its Status flag in Maintainers.txt to Obsolete.
>
> Once this is done, follow up and do the same with the hardware drivers
> (not the software ones) still left in EmbeddedPkg/Drivers. They were
> added back when not using the UEFI driver model was still cool, or
> simply before edk2-platforms existed.
> They should move to edk2-platforms, but most of them require some
> level of rewriting before that.
>
> 1/3 adds a warning printout to GetMaintainer.py
>
> 2/3 obsoletes EmbeddedPkg/Universal/MmcDxe/
>
> 3/3 obsoletes remaining hw drivers in EmbeddedPkg/Drivers
> Cc: Andrew Fish <afish@apple.com>
>
> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
> Cc: Bob Feng <bob.c.feng@intel.com>
> Cc: Laszlo Ersek <lersek@redhat.com>
> Cc: Liming Gao <liming.gao@intel.com>
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
>
> Leif Lindholm (3):
>   BaseTools: add handling for 'S:' flag to GetMaintainer.py
>   Maintainers.txt: mark EmbeddedPkg MmcDxe as Obsolete
>   Maintainers.txt: mark EmbeddedPkg hw drivers as bsolete
>
>  BaseTools/Scripts/GetMaintainer.py |  4 ++++
>  Maintainers.txt                    | 17 +++++++++++++++++
>  2 files changed, 21 insertions(+)
>
> --
> 2.20.1
>
>
> 
>
>

-- 
A

[-- Attachment #2: Type: text/html, Size: 3448 bytes --]

      parent reply	other threads:[~2020-04-29 20:14 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-29 16:36 [PATCH 0/3] BaseTools,EmbeddedPkg,Maintainers.txt: Obsolete some drivers Leif Lindholm
2020-04-29 16:36 ` [PATCH 1/3] BaseTools: add handling for 'S:' flag to GetMaintainer.py Leif Lindholm
2020-04-30  7:00   ` Bob Feng
2020-04-29 16:36 ` [PATCH 2/3] Maintainers.txt: mark EmbeddedPkg MmcDxe as Obsolete Leif Lindholm
2020-04-29 20:12   ` [edk2-devel] " Laszlo Ersek
2020-04-29 16:36 ` [PATCH 3/3] Maintainers.txt: mark EmbeddedPkg hw drivers as bsolete Leif Lindholm
2020-04-29 20:14   ` [edk2-devel] " Laszlo Ersek
2020-04-29 17:51 ` [PATCH 0/3] BaseTools,EmbeddedPkg,Maintainers.txt: Obsolete some drivers Ard Biesheuvel
2020-04-29 19:53   ` Leif Lindholm
2020-04-29 20:04     ` Ard Biesheuvel
2020-04-29 21:45       ` Leif Lindholm
2020-04-29 21:47         ` Ard Biesheuvel
2020-04-30 11:17           ` Laszlo Ersek
2020-04-30 13:28             ` Leif Lindholm
2020-04-30 13:43               ` Ard Biesheuvel
2020-04-30 14:59                 ` Leif Lindholm
2020-04-29 20:14 ` Andrei Warkentin [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-list 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='CANz0V+7EpKaPikFv_-Bz4pVoJZm5hf8wAnpnJxv5DHqa=e6a3w@mail.gmail.com' \
    --to=devel@edk2.groups.io \
    /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