RE: [PATCH 0/2] mmc: core: Implement support for cache ctrl for SD cards

From: Avri Altman
Date: Mon May 10 2021 - 06:12:28 EST


> On Mon, 10 May 2021 at 09:40, Avri Altman <Avri.Altman@xxxxxxx> wrote:
> >
> > > In the SD spec v6.x the SD function extension registers for performance
> > > enhancements were introduced. As a part of this an optional internal
> cache
> > > on
> > > the SD card can be used to improve performance.
> > Just to verify that you are aware of that:
> > In addition to the extension Registers that were defined in the physical
> core spec,
> > there was a separate document that was released that suggest a common
> OS API's to those registers.
> > It is called "SD specification part A5, SD Extensions API specification".
>
> Thanks for the pointer!
>
> I did have a very brief look at this. The conclusion I made is that
> this is way over designed to enable support for features like cache
> and poweroff notification. However, there may be other use cases that
> could benefit from a user space library, along the lines of the SD
> Extensions API, but I can't really tell.
>
> Do you have an interest around this that you can share?
Not at the moment. Still thinking about this.

Thanks,
Avri

>
> Thanks for reviewing!
>
> Kind regards
> Uffe