[PATCH 3/6] ARM: PSCI: Register with kernel restart handler
Wolfram Sang
wsa at the-dreams.de
Thu Apr 14 01:52:43 PDT 2016
> That makes things quite tricky. Best I can think of is a series of boolean
> devicetree properties, such as
>
> broken-reset-handler
> last-resort-restart-handler
> secondary-restart-handler
> default-restart-handler
> primary-restart-handler
>
> which ends up being quite similar to the 'restart-priority' property. I'll
> do this as follow-up patch, though
Please CC me on this. I wanted to tackle this problem as well today. My
findings/conclusions so far:
* There is one driver bringing 'priority' directly to DT already: gpio-restart
* Watchdog priorities are board dependant
* Having the priorities clear at boot-time is safer than configuring them
at run-time
* The linux scheme (0-255) shouldn't be enforced in DT
So, I wondered about a "priority" binding which just states "the higher,
the more important". Then any OS can decide what to do with it. In the
Linux case, this could be: sort them and give them priority 256 -
position_in_sorted_list.
Opinions?
> - I do not see the point holding up the series for this, and it is
> really a separate problem.
Ack.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160414/86dea876/attachment-0001.sig>
More information about the linux-arm-kernel
mailing list