From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757205AbbE2RxR (ORCPT ); Fri, 29 May 2015 13:53:17 -0400 Received: from mail-ob0-f173.google.com ([209.85.214.173]:33346 "EHLO mail-ob0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756212AbbE2RxH (ORCPT ); Fri, 29 May 2015 13:53:07 -0400 MIME-Version: 1.0 In-Reply-To: <556889D9.5070707@codeaurora.org> References: <=fu.wei@linaro.org> <1432548193-19569-1-git-send-email-fu.wei@linaro.org> <1432548193-19569-6-git-send-email-fu.wei@linaro.org> <5564A44A.5000606@codeaurora.org> <55686960.5010503@codeaurora.org> <556889D9.5070707@codeaurora.org> Date: Sat, 30 May 2015 01:53:06 +0800 Message-ID: Subject: Re: [PATCH v3 5/6] Watchdog: introduce ARM SBSA watchdog driver From: Fu Wei To: Timur Tabi Cc: Suravee Suthikulpanit , Linaro ACPI Mailman List , linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Wei Fu , G Gregory , Al Stone , Hanjun Guo , Ashwin Chaugule , Arnd Bergmann , Guenter Roeck , vgandhi@codeaurora.org, wim@iguana.be, Jon Masters , Leo Duran , Jon Corbet , Mark Rutland , Catalin Marinas , Will Deacon Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Timur On 29 May 2015 at 23:46, Timur Tabi wrote: > On 05/29/2015 09:32 AM, Fu Wei wrote: >> >> It is a SPI, every CPU can get it, >> But maybe I miss something, but please let me know if other CPU can >> not get the interrupt. > > > There's only one watchdog device, so there's only one interrupt. I don't > know which CPU will get the interrupt, but the watchdog is not a per-CPU > device. > OK, first of all, I know, there maybe only watchdog in the system, but the Interrupter is SPI, that means maybe some other device can also trigger the same Interrupter or maybe(in SMP) other CPU will handle it. If this interrupter is triggered, that means system has goes wrong, who knows what is wrong , I have to make sure that system get into that routine ,because of the WS0, if not I won't do panic. And in a interrupter routine , checking the Interrupter status register is right way to do. > -- > Qualcomm Innovation Center, Inc. > The Qualcomm Innovation Center, Inc. is a member of the > Code Aurora Forum, a Linux Foundation Collaborative Project. -- Best regards, Fu Wei Software Engineer Red Hat Software (Beijing) Co.,Ltd.Shanghai Branch Ph: +86 21 61221326(direct) Ph: +86 186 2020 4684 (mobile) Room 1512, Regus One Corporate Avenue,Level 15, One Corporate Avenue,222 Hubin Road,Huangpu District, Shanghai,China 200021