Re: [PATCH] mmc: pwrseq: Use highest priority for eMMC restart handler
From: Heiko Stübner
Date: Thu Oct 22 2015 - 11:51:36 EST
Am Donnerstag, 22. Oktober 2015, 08:34:38 schrieb Doug Anderson:
> Note that personally I would only choose the "highest" priority as an
> absolute last resort. Leaving a little extra slack in there means
> that when the next person comes up with a really good reason to run
> before you do that they can do it without changing your code.
just to reiterate, restart-handlers are generally not meant as "things to do
before restart", but "are supposed to restart the system, nothing else" [0].
Just in this case there hasn't been a better solution found for the needed
reset even in emergency-reboots ... but this misappropriation of restart-
handlers should not spread into further realms, so there shouldn't be a "next
person" ;-) .
[0] http://permalink.gmane.org/gmane.linux.kernel/1968815
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/