On Mon, Jan 13, 2025 at 05:25:34PM +0100, Ahmad Fatoum wrote: > In the general case, a driver doesn't know which of system shutdown or > reboot is the better action to take to protect hardware in an emergency > situation. For this reason, hw_protection_shutdown is going to be > removed in favor of hw_protection_trigger, which defaults to shutdown, > but may be configured at kernel runtime to be a reboot instead. > > The ChromeOS EC situation is different as we do know that shutdown is > the correct action as the EC is programmed to force reset after the > short period, thus replace hw_protection_shutdown with > __hw_protection_trigger with HWPROT_ACT_SHUTDOWN as argument to > maintain the same behavior. > > No functional change. > > Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> Acked-by: Tzung-Bi Shih <tzungbi@xxxxxxxxxx>