From mboxrd@z Thu Jan 1 00:00:00 1970 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 1FF3BC433EF for ; Tue, 2 Nov 2021 18:45:05 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 43E936103C for ; Tue, 2 Nov 2021 18:45:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 43E936103C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2776683224; Tue, 2 Nov 2021 19:44:53 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=canonical.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.b="DTJMCGuQ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BB12682F03; Tue, 2 Nov 2021 19:44:48 +0100 (CET) Received: from smtp-relay-canonical-0.canonical.com (smtp-relay-canonical-0.canonical.com [185.125.188.120]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 53E7082DB4 for ; Tue, 2 Nov 2021 19:44:45 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=canonical.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=heinrich.schuchardt@canonical.com Received: from LT2ubnt.fritz.box (ip-88-152-144-157.hsi03.unitymediagroup.de [88.152.144.157]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id 9CB483F194; Tue, 2 Nov 2021 18:44:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1635878684; bh=uML91JT8lCyAjE+EbhzrUGgXNN/hBSTgJJhG2Z46J98=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=DTJMCGuQxxD1e3urAh7D080P6slXHJiMgk0sM+TGot1RCC40qfnLFtr2XZGShBa75 CAWxMuVbtF+lzAgNqrHLgAOto2+qV+rPvH1gCBM9w2/uubNcuK4vJyFbM7l4HCmiS0 zikM8i0k8b37UV0dLLS4CQdWQ5YBswLF2+fSiV+xhy+rPvBF68YoWUHIWcHktomo5A Oi7YIxj0R9NpTIcuYMxA2WXLu2aFygOkY9NUpzDclDysJD6IbaVJ3jRM80qqt0sjWA WFqZZYp2DDYHR4oJHjgDlK5se2SWV1+JjGGJiGzLRNVcY/nzzWAVZ0yxOZvQR7loBB l6tqM3sCUPIFw== From: Heinrich Schuchardt To: Simon Glass Cc: u-boot@lists.denx.de, Heinrich Schuchardt Subject: [PATCH v2 0/2] sandbox: enable testing SYSRESET_WATCHDOG Date: Tue, 2 Nov 2021 19:44:28 +0100 Message-Id: <20211102184430.17080-1-heinrich.schuchardt@canonical.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean With CONFIG_SYSRESET_WATCHDOG=y the sandbox can use a watchdog based system reset. To make this work calling sandbox_wdt_expire_now() must lead to a reset. Further we need CONFIG_WDT_GPIO=n to actually call the right watchdog. Adjust the watchdog test to avoid a build error. With this change we can test the development suggested in [PATCH 0/4] Improved sysreset/watchdog uclass integration https://lists.denx.de/pipermail/u-boot/2021-August/458656.html v2: move test changes to Makefile Heinrich Schuchardt (2): test/dm: fix watchdog test sandbox: fix sandbox_wdt_expire_now() drivers/watchdog/sandbox_wdt.c | 1 + test/dm/Makefile | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) -- 2.32.0