From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161198AbcA1NGp (ORCPT ); Thu, 28 Jan 2016 08:06:45 -0500 Received: from arroyo.ext.ti.com ([192.94.94.40]:53924 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161162AbcA1NGn (ORCPT ); Thu, 28 Jan 2016 08:06:43 -0500 From: Keerthy To: , , , , , CC: , , , , , , Subject: [PATCH 0/2] reboot: Introduce emergency_poweroff function Date: Thu, 28 Jan 2016 18:36:27 +0530 Message-ID: <1453986389-15887-1-git-send-email-j-keerthy@ti.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The series introduces a new function emergency_poweroff which shuts down the system after a configurable period of time. emergency_poweroff is appropriate in case of thermal shutdown scenario. Tested on DRA7-EVM. Keerthy (2): reboot: Introduce emergency poweroff function thermal: Use emergency_poweroff instead of orderly_poweroff for shutdown scenario arch/Kconfig | 9 +++++++++ drivers/thermal/thermal_core.c | 2 +- include/linux/reboot.h | 1 + kernel/reboot.c | 31 +++++++++++++++++++++++++++++++ 4 files changed, 42 insertions(+), 1 deletion(-) -- 1.9.1