[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <312b244bfacca2f2b3f9b7d7e9462464@agner.ch>
Date: Mon, 14 Oct 2019 14:07:48 +0200
From: Stefan Agner <stefan@...er.ch>
To: Sudeep Holla <sudeep.holla@....com>
Cc: mark.rutland@....com, lorenzo.pieralisi@....com,
Stefan Agner <stefan.agner@...adex.com>,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] drivers: firmware: psci: use kernel restart handler
functionality
Hi Sudeep,
On 2019-10-14 12:07, Sudeep Holla wrote:
> On Sat, Oct 12, 2019 at 11:47:35PM +0200, Stefan Agner wrote:
>> From: Stefan Agner <stefan.agner@...adex.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.
Oh thanks for the pointer! Interesting timing :-)
--
Stefan
>
> --
> Regards,
> Sudeep
>
> [1]
> https://lore.kernel.org/linux-arm-kernel/20191002131228.4085560-1-thierry.reding@gmail.com
Powered by blists - more mailing lists