Message ID | 20180524001335.15457-5-wak@google.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40rqfk2Vghz9s2S for <incoming@patchwork.ozlabs.org>; Thu, 24 May 2018 10:15:58 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="Cb2Chd1c"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 40rqfj2CCFzF1Hj for <incoming@patchwork.ozlabs.org>; Thu, 24 May 2018 10:15:57 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="Cb2Chd1c"; dkim-atps=neutral X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=flex--wak.bounces.google.com (client-ip=2607:f8b0:4001:c0b::24a; helo=mail-it0-x24a.google.com; envelope-from=31gmgwwmkb9mlz95dd5a3.1dbh970ddia7hih.doaz0h.dg5@flex--wak.bounces.google.com; receiver=<UNKNOWN>) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="Cb2Chd1c"; dkim-atps=neutral Received: from mail-it0-x24a.google.com (mail-it0-x24a.google.com [IPv6:2607:f8b0:4001:c0b::24a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 40rqcq2GFgzF1HF for <skiboot@lists.ozlabs.org>; Thu, 24 May 2018 10:14:16 +1000 (AEST) Received: by mail-it0-x24a.google.com with SMTP id r76-v6so177917itc.0 for <skiboot@lists.ozlabs.org>; Wed, 23 May 2018 17:14:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:date:in-reply-to:message-id:references:subject:from:to :cc; bh=NSJlW2S780mY0EPBWEs3xDe6DX1qSjkopgxq4VW2ykA=; b=Cb2Chd1cF4Cc0p90wZ4jEvk0Xfm/Y0YXtvTBqMUVd+SwkNPyFaUTlHfwZJYY1xLFfk 6JYB0y7ha70ebVHkM6OA11cQQkeF9zSFay/Xo60DX8nHBQYqku+64p5Almvqf7ZWg4iS cDAz0SyL/er6CZ0urryBYjlpg+J2kQhChYTTcPzL4m1kP2n/DEkOGP3XjLIQDqGnHRh8 3QiM0h7WNxPnGUfkBHIjt3Ugfn1OyrwiiQ7dLn9Ic0+4IPnL9zahKcNdtutRGZfMNZhn tadk+N55yK+Rlq/+aojMLDTkzoE6GkZ/QfcBoL2g04F171nvSqhbARf4FgV1sLoCgAbu e7VA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:in-reply-to:message-id :references:subject:from:to:cc; bh=NSJlW2S780mY0EPBWEs3xDe6DX1qSjkopgxq4VW2ykA=; b=NHeba7Od3awLLsOqw2Qu3rcFXZiILeEekTttXLSm7kxS5mP00K4gJ9h9oQT6+3izlD 29XC4J4wqkHfdefL8n5oenWGYNORN21BztyUXMWxzSZFL7YzCdb8siaS1b7FN8PvLvc2 ZoH6CtQ/bGV7pMV11odbQYg29QL/TAbuKDPoRN2rinQycjsH/FngyJmRfwg7VKdMe1UJ 2W6/wqJYTHPtQllTa4EtMIYQmwrhqrvrETVnFarubwS7k49hgFCcBGZ+tMV7hdKsOyQV 17PwieBhAWmRrKwiEUKv8iLoOIQ7H1h/30oVo9Utfc0IVx6NCjCFLZEDtCskGQS3wC+O nxOQ== X-Gm-Message-State: ALKqPwcMuZGipZR/xE7O8Sp5kkvGB4IA7Z3Mnqg1qPZOcFMdN+PbRJsh holDCUhpHYl8eIjc93usbMCfDlb4sksyhe63MkGc8T/gog9yZ+rgDH+s34CAjI7rpM3vKR141XL IbaNglk74nCWwUs4OP7wqMq7YEHD+MYQRF7mbT+PXmIQIfxvKN8/cu1Qq X-Google-Smtp-Source: AB8JxZoI6rZeZjEAC9d/vm4Xn3/rXbR17vDmokJLUL0sNgig5BNaRUWMeEJLTHfxFAIghmf11Zah0DI= MIME-Version: 1.0 X-Received: by 2002:a24:a088:: with SMTP id o130-v6mr3598325ite.35.1527120854281; Wed, 23 May 2018 17:14:14 -0700 (PDT) Date: Wed, 23 May 2018 17:13:30 -0700 In-Reply-To: <20180524001335.15457-1-wak@google.com> Message-Id: <20180524001335.15457-5-wak@google.com> References: <20180524001335.15457-1-wak@google.com> X-Mailer: git-send-email 2.17.0 From: "William A. Kennington III" <wak@google.com> To: skiboot@lists.ozlabs.org, alistair@popple.id.au, jk@ozlabs.org Subject: [Skiboot] [PATCH 4/9] ipmi-watchdog: Don't disable at shutdown X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Mailing list for skiboot development <skiboot.lists.ozlabs.org> List-Unsubscribe: <https://lists.ozlabs.org/options/skiboot>, <mailto:skiboot-request@lists.ozlabs.org?subject=unsubscribe> List-Archive: <http://lists.ozlabs.org/pipermail/skiboot/> List-Post: <mailto:skiboot@lists.ozlabs.org> List-Help: <mailto:skiboot-request@lists.ozlabs.org?subject=help> List-Subscribe: <https://lists.ozlabs.org/listinfo/skiboot>, <mailto:skiboot-request@lists.ozlabs.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" <skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> |
Series |
ipmi-watchdog: Fixes for error handling and general cleanups
|
expand
|
diff --git a/hw/ipmi/ipmi-watchdog.c b/hw/ipmi/ipmi-watchdog.c index e8efba2b4..b5cb5fee4 100644 --- a/hw/ipmi/ipmi-watchdog.c +++ b/hw/ipmi/ipmi-watchdog.c @@ -121,14 +121,9 @@ void ipmi_wdt_stop(void) void ipmi_wdt_final_reset(void) { - /* todo: this is disabled while we're waiting on fixed watchdog - * behaviour */ -#if 0 set_wdt(WDT_RESET_ACTION | WDT_PRETIMEOUT_SMI, WDT_TIMEOUT, WDT_MARGIN/10, true); - reset_wdt(NULL, (void *) 1); -#endif - set_wdt(WDT_NO_ACTION, 100, 0, false); + sync_reset_wdt(); ipmi_set_boot_count(); cancel_timer(&wdt_timer); }
The op-build linux kernel has been configured to support the ipmi watchdog. This driver will always handle the watchdog by either leaving it enabled if configured, or by disabling it during module load if no configuration is provided. This increases the coverage of the watchdog during the boot process. The watchdog should no longer be disabled at any point during skiboot execution. Signed-off-by: William A. Kennington III <wak@google.com> --- hw/ipmi/ipmi-watchdog.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)