Re: [RFC 2/3] MMC: Add block quirks support.

2011-03-02 Thread Andrei Warkentin
On Wed, Mar 2, 2011 at 3:04 PM, Arnd Bergmann wrote: > On Wednesday 02 March 2011 21:48:25 Andrei Warkentin wrote: > >> > >> > Instead of the dynamic registration, I'd just put all quirks into >> > one file and have an array of them: >> >> Ideally, you'd have the most important workarounds always

Re: [RFC 2/3] MMC: Add block quirks support.

2011-03-02 Thread Arnd Bergmann
On Wednesday 02 March 2011 21:48:25 Andrei Warkentin wrote: > > > > Instead of the dynamic registration, I'd just put all quirks into > > one file and have an array of them: > > Ideally, you'd have the most important workarounds always built in, to > deal with important problems like out-of-spec

Re: [RFC 2/3] MMC: Add block quirks support.

2011-03-02 Thread Andrei Warkentin
On Wed, Mar 2, 2011 at 11:19 AM, Arnd Bergmann wrote: > On Tuesday 01 March 2011, Andrei Warkentin wrote: >> Quirks are card-specific workarounds. Usually they involve >> tuning mmcblk parameters at mmc_blk_probe time, but can >> involve affecting the way mmcblk I/O requests are handled. >> The la

Re: [RFC 2/3] MMC: Add block quirks support.

2011-03-02 Thread Arnd Bergmann
On Tuesday 01 March 2011, Andrei Warkentin wrote: > Quirks are card-specific workarounds. Usually they involve > tuning mmcblk parameters at mmc_blk_probe time, but can > involve affecting the way mmcblk I/O requests are handled. > The later is necessary to handle Sandisk out-of-spec discard suppor

[RFC 2/3] MMC: Add block quirks support.

2011-03-01 Thread Andrei Warkentin
Quirks are card-specific workarounds. Usually they involve tuning mmcblk parameters at mmc_blk_probe time, but can involve affecting the way mmcblk I/O requests are handled. The later is necessary to handle Sandisk out-of-spec discard support, and the small-writes reliability workaround for Toshiba