Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F10D0C433EF for ; Sun, 14 Nov 2021 13:45:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D60FD61077 for ; Sun, 14 Nov 2021 13:45:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235992AbhKNNsn (ORCPT ); Sun, 14 Nov 2021 08:48:43 -0500 Received: from rosenzweig.io ([138.197.143.207]:48428 "EHLO rosenzweig.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233638AbhKNNsh (ORCPT ); Sun, 14 Nov 2021 08:48:37 -0500 Date: Sun, 14 Nov 2021 08:18:16 -0500 From: Alyssa Rosenzweig To: Sven Peter Cc: Wim Van Sebroeck , Guenter Roeck , Hector Martin , Rob Herring , Mark Kettenis , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 2/2] watchdog: Add Apple SoC watchdog driver Message-ID: References: <20211113094732.73889-1-sven@svenpeter.dev> <20211113094732.73889-2-sven@svenpeter.dev> <95dea968-f452-4ba0-9b66-c9bc4269a52c@www.fastmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <95dea968-f452-4ba0-9b66-c9bc4269a52c@www.fastmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > >> + * This HW block has three separate watchdogs. WD0 resets the machine > >> + * to recovery mode and is not very useful for us. WD1 and WD2 trigger a normal > >> + * machine reset. WD0 additionally supports a configurable interrupt. > > > > Do we have any idea what the difference between WD1 and WD2 is? > > I've never seen macOS write to WD2 when running in our hypervisor and only > found that one when I was looking at the rest of the MMIO region. > >From what I can tell it works exactly like WD1. Makes sense, thanks.