Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752421AbdHRPkj (ORCPT ); Fri, 18 Aug 2017 11:40:39 -0400 Received: from mail-vk0-f52.google.com ([209.85.213.52]:37624 "EHLO mail-vk0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752318AbdHRPk0 (ORCPT ); Fri, 18 Aug 2017 11:40:26 -0400 MIME-Version: 1.0 From: Sriram V Date: Fri, 18 Aug 2017 21:10:25 +0530 Message-ID: Subject: Kernel Panic sysrq questions To: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 679 Lines: 24 Hi, 1. I am testing my watchdog driver. The driver uses the internal watchdog (Internal to SOC). 2. I use a single core SOC. 3. I have a workqueue which pets the watchdog every 60 seconds. 4. I trigger a kernel crash by doing a echo c > /proc/sysrq-trigger to trigger a kernel crash 5. Even after the crash, I observe that the workqueue gets periodically executed. (I have a printk inside the workqueue before the pet as a result the watchdog does not reset the board. My Understanding is When a fatal panic happens, The Kernel is in frozen state (no workques or tasks get executed). Is my understanding correct or am i missing something here. Thanks, Regards, Sriram