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 X-Spam-Level: X-Spam-Status: No, score=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 481CAC2B9F4 for ; Mon, 14 Jun 2021 15:35:06 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 12A3D61241 for ; Mon, 14 Jun 2021 15:35:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 12A3D61241 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ORQIKa6eY6W0Nh1WuZ6kF7vw2ETnL173oZcQ2XJ4fLw=; b=mlNzw+2eCNFxUM 2wSk0KfYeqnm+z9IDk39xwRvITCTa4MnZBsDVp13PDSxqW7CR5BthDllkaxfuOD6jMWDj9VUdUoNV ur7C/qz/aEEUAnLFzk9VOmQFmWUf3It+PRq8mDIs45bdLnL0Ke4WyzTv6UzPy1Sc0QD0vnoSwJTnl nAAX73EvHSyaO1pgApJVUkSIGSDcJ+A8iDbJclgraYNHRELyV6Ua1QmlLH1p80vtKCWnhodldLQe2 EW3DEQ3gBcrWIDJ9akJzchCgG4sIpr+ocgpoz16bAALDYhmlzAu99XwzEU0hsd4uI/w1kYVM6hkyH 64GZMc4ZJb9sJWlCbNtg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lsoa7-00ElrI-0E; Mon, 14 Jun 2021 15:32:55 +0000 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lsoTd-00Ej74-Q8 for linux-arm-kernel@lists.infradead.org; Mon, 14 Jun 2021 15:26:15 +0000 Received: by mail-ej1-x636.google.com with SMTP id ce15so17313744ejb.4 for ; Mon, 14 Jun 2021 08:26:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nm9qn1QbSihHVUPv//yaqJU+HrAYckEVtZ9B21qTXrI=; b=jJ6sATRUdBVFcYYPylcLs/v7Aei8uAfnQJwgkue+Lghb2tEoigmVTVRU2TsNRVHKLO jdGTbnj1XBPcT9CnE49RelbZ543aJ2ieb49ZKMmJI2AOGNpvQVBbaH2ueygXkGRbWfQY 5gBSalNM5M43l416bt6IYRXXSbPhErgSeGxJZIo2MtBgwF6+paP7E6w9vholxgfCc58N nxcAmPBfipuG+fFxWSJ312BLxzbMYN0IunKmAlngjQyW8X8CZSAeKVhckuMETvkjfN/9 r+QLIpQrL0ZoNdtj4a+MbLN4wk0GRCI5fh6b0hp/E4tPIprxmQBovw/x6swfRscipqvn oAKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=nm9qn1QbSihHVUPv//yaqJU+HrAYckEVtZ9B21qTXrI=; b=LhxbN7ei8sRprhAW7Lbbv/OPFQO6cYXFfvLt9VgPS3yLlm349MlV0a8cAz/PmlhK5r /DDYpLtxEFfBtM3srRsXdIKY6eGN21FBpA8zN01/tHZDnSchYvpN5NTAO7Td2ao+OLfk HQbew9oUg1/v68dzltZFwsie2qgRT809OW3ywLMsEYv7pZbPw1OUEQBix+l5ozFfswk8 OqaPRIAXJItB5KjJA+jBLLhw5RS0EpkhiY1k0an6tntzabofLuZjSw+xs8Bobd9mBI4R lFx5QC0tEEBd0UUVzVrbeMw8utL8v0pxGLj/a0sSE16KtBRRYChZk4hZnrgMTxqRdeqF myqg== X-Gm-Message-State: AOAM533oy06qs9poGgy+TYcRdttUbvY+KTOR4UAiCwy/L+hHYBCV7lGe 7HS+bOw2S9K/1ha6NWcXhChhkw== X-Google-Smtp-Source: ABdhPJwdfZPNqiUr0DYnkyAiU26gMo0l4LAgX5ie3j31dfHeeBU2o2iYOVwcbw8F4SPHbpq+ajfceQ== X-Received: by 2002:a17:907:9617:: with SMTP id gb23mr15762024ejc.483.1623684371770; Mon, 14 Jun 2021 08:26:11 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6:f666:9af6:3fed:e53b]) by smtp.gmail.com with ESMTPSA id jo13sm7534746ejb.91.2021.06.14.08.26.11 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Jun 2021 08:26:11 -0700 (PDT) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Viresh Kumar Cc: Mounika Grace Akula , Krzysztof Kozlowski , Laurent Pinchart , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 19/33] arm64: zynqmp: Add reset-on-timeout to all boards and modify default timeout value Date: Mon, 14 Jun 2021 17:25:27 +0200 Message-Id: <5848a81447921240fddfe2f5749ae0746fcbbdbd.1623684253.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210614_082613_875765_42B4420C X-CRM114-Status: GOOD ( 15.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Mounika Grace Akula This patch adds reset-on-timeout to FPD WDT which will trigger an interrupt to PMU when watchdog expiry happens and PMU takes the necessary action. If this property is not enabled, reason will not be known when watchdog expiry happens. This patch also modifies the default timeout to 60 seconds. Reason is that if u-boot enables WDT, it will set the timeout to 10 seconds and this is not enough to boot till Linux and start the WDT application in Linux. 60 seconds is the maximum safest value to boot till Linux and start the WDT application. Users need to change this timeout value to fit their needs. Signed-off-by: Mounika Grace Akula Signed-off-by: Michal Simek --- Changes in v2: None arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index bd3f0d456ca4..80332e3b4d6a 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -830,7 +830,8 @@ watchdog0: watchdog@fd4d0000 { interrupt-parent = <&gic>; interrupts = <0 113 1>; reg = <0x0 0xfd4d0000 0x0 0x1000>; - timeout-sec = <10>; + timeout-sec = <60>; + reset-on-timeout; }; lpd_watchdog: watchdog@ff150000 { -- 2.32.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel