Re: Usage of restart_handler in pwrseq_emmc

2015-06-03 Thread Guenter Roeck
On 06/03/2015 03:01 AM, Marek Szyprowski wrote: Hello, On 2015-06-02 17:29, Heiko Stübner wrote: I'm confused by the pwrseq-emmc registering a restart_handler for resetting an emmc in a panic-reboot case at priority 129 to "schedules it just before system reboot". >From what I remember from th

Re: Usage of restart_handler in pwrseq_emmc

2015-06-03 Thread Marek Szyprowski
Hello, On 2015-06-02 17:29, Heiko Stübner wrote: I'm confused by the pwrseq-emmc registering a restart_handler for resetting an emmc in a panic-reboot case at priority 129 to "schedules it just before system reboot". >From what I remember from the restart-handler discussion the actuall usage is

Re: [PATCH] mmc: core: Attach PM domain prior probing of SDIO func driver

2015-06-03 Thread Ulf Hansson
[...] >> > * When we create a device which we know has a PM domain which should be >> > attached, try to look up that PM domain. >> > * If we find the PM domain, attach the domain, otherwise create the >> > domain but mark it "incomplete". >> > * When the device is attempted to be probed, forc

[RFC PATCH] mmc: core: Optimize case for exactly one erase-group budget TRIM

2015-06-03 Thread David Jander
In the (not so unlikely) case that the mmc controller timeout budget is enough for exactly one erase-group, the simplification of allowing one sector has an enormous performance penalty. We optimize this special case by introducing a flag that prohibits erase-group boundary crossing, so that we can