On Sat, Oct 12, 2019 at 11:47:35PM +0200, Stefan Agner wrote: > From: Stefan Agner <stefan.ag...@toradex.com> > > Use the kernels restart handler to register the PSCI system reset > capability. The restart handler use notifier chains along with > priorities. This allows to use restart handlers with higher priority > (in case available) while still supporting PSCI. > > Since the ARM handler had priority over the kernels restart handler > before this patch, use a slightly elevated priority of 160 to make > sure PSCI is used before most of the other handlers are called. >
There's an attempt(rather pull request[1]) to consolidate these into new system power/restart handler. -- Regards, Sudeep [1] https://lore.kernel.org/linux-arm-kernel/20191002131228.4085560-1-thierry.red...@gmail.com