Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp991211rdb; Wed, 24 Jan 2024 01:05:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IFLGGbNDjdDXkyyV3UUk/7stj+s1C8jt3RjoKwcpX+4EY4SVKyufntWE5ZfTpzk47hIMC+Q X-Received: by 2002:a17:907:1c23:b0:a30:7580:52f with SMTP id nc35-20020a1709071c2300b00a307580052fmr802434ejc.136.1706087126728; Wed, 24 Jan 2024 01:05:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706087126; cv=pass; d=google.com; s=arc-20160816; b=OLjQDE3rDBlR0fDkjAN8LzwDMNLnAvJIsvlXnXaifpSVmznyxRwfZCc8Pel2bls6op yU6Otu2xaEf+hWQOJY09n+OJPlqFRnK/B3DcUJE335J7OFbw/PmgYBNiDWIscgLkSzMS U2vIjy/l6AyUvMVLm0yLTm0HkDYhB7CPqo4mi8Uqe8/BIhB9LAG00GsZs3C0GzIuH3Er nUyKgt12IW1mbZEiHrFct640qpkSTdz1nER0LeaTV++asL07PsMHRhrhHs2YqjYTWGaH NPU13xrTLPR7FTx4Y2BwGFLqraspdbc4RirziSCdTFnTa2fwwRLQU/f6mHytU0kxivaC nLCg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=9TdYwfAa3Kb++bbinJAM8F6n7j06tuxaI+2yyckzaPc=; fh=/jdPLLVpiAYRr5fdF22IPk+qnRG9T9W65ZJZJ7o97D8=; b=Sw0HI+kPw++8GhLiNrzGKfeYKAFrJVMC1ayQxj2JSEmWVMRKU7zjTNT+kvCq9QUunU KYpwKC+bLWCZY5cttHJbqksbsftGfTopwGUiQY1rtO7zHm6f+ZnXHHhF8mZmmK/EmuJF FiE/zJkiHln2UqGtqmT2YTgBlSJfAIweJ9OVuMOJVepqQUFRdTZdGkCRDOWtWCQFyO9l NdcaLvhu/So+PI6xIA4iWtRoDuGavOn3mJi+uLWAbR/Xb+U5XvCHLqrj2P4nybZ6pNOG SMXBev6HfMMoStp4Re6QHK+BEfNwbtlfq/FoDQ5qya+v93dNJxvJ0vlsqCv6WBlvphlE uMcw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WcIIr6q1; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-36675-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36675-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id s13-20020a1709062ecd00b00a2c96418b8csi11879069eji.749.2024.01.24.01.05.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 01:05:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-36675-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WcIIr6q1; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-36675-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36675-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 575F51F22CA6 for ; Wed, 24 Jan 2024 09:05:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CDAD917BC7; Wed, 24 Jan 2024 09:05:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="WcIIr6q1" Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CDD5B17BB2 for ; Wed, 24 Jan 2024 09:05:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706087117; cv=none; b=HzqQ6JdO2b7DbYSvrlG5doYwvwmZ8GpohF254tkBMb0FyqSDH80SABwzciPAEl5Qjz3pWGA51MQGhV76zQw2tznPVDqwfM4+572oNsDMeSQhkGG2ut2JCaOhtFDS+IMAR1i4cRPvjKOMSd4kf5PutFMERlwvirrxk5EYzOb3FWE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706087117; c=relaxed/simple; bh=bYGjWyfNDuuEy/uhJ2BsahwEeQkQmwNi/I2B366Ra5w=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ckuqldGufjeFFoejXmixmbkFu7Ts3bjgt/FsnmmeLlJAvg/NVdM+9av6XqQyiNXIPM44NQ18jnxkWQs8erxj2n2Qsju6QIEtPk2VqYhDDSo+DqVL/QgMLv9IFhz2uPJIKQ0sPde1O3rPQtrYSDuq0fEdaQDGq2n+MuRQIxCcVzE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=WcIIr6q1; arc=none smtp.client-ip=209.85.167.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-5100b424f8fso1308117e87.0 for ; Wed, 24 Jan 2024 01:05:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1706087113; x=1706691913; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=9TdYwfAa3Kb++bbinJAM8F6n7j06tuxaI+2yyckzaPc=; b=WcIIr6q1JjNbUJ44GICbccxKaSJ2iIJ7tzpKtG9ffIPrtoR5l0+qXYJ6/qWg4ucD6A PrgDTdSXKxI5o3hLlWT+OGXXqCiJNaSaeRUjObAT6VSMyuVpvUXuqLgyCPnAjPYkx7oi LJBozvVgB8INR5E6l303x/Ypyv66yvXwfAswQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706087113; x=1706691913; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9TdYwfAa3Kb++bbinJAM8F6n7j06tuxaI+2yyckzaPc=; b=KjAyzMKYz7ow82DyDla62dzM7edR2U/gsMl1B1o77nTE+WmdhXdBFWkFBKUg3+A6pL qDnnCoApvRKPRrNYMNDFvuf6QhjLX2knaoD/7DnTbNaZfy6NiJH7yiKx7CmvMXba+r5T NTtfSt8XAM36IJ/gRkne8vAznojcLIQ4FLtUfHrYFVIKnUr5BuJpyLlqPCpGFHGGtptH JhbVhvoJt5MtPDQbtZK65TbXG+AzllNbM0NTef/tpktnI4k23s7l6gYhqcR/h6tMlISe zhD0R0iukEYpfFTAYaSH8wy0EU50U8CIvFGdfYCiGrorcB/TCnse3eSEUilr3tDaewuG KEvA== X-Gm-Message-State: AOJu0YzEtUEZ9gtlfpxw/UNHZC0Nfs9zdbeG3b7ziWx57CYjYYM0R+Rd q3+K0DsC6szku3Ximdlikknqw9rOnAE3jCI/w1dff5Ei71aX9LDCjrj5Ei7OYUiMIjW9t50rvRp 89yGbH4s= X-Received: by 2002:a05:6512:23a4:b0:510:e95:3b32 with SMTP id c36-20020a05651223a400b005100e953b32mr723311lfv.109.1706087112793; Wed, 24 Jan 2024 01:05:12 -0800 (PST) Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com. [209.85.218.48]) by smtp.gmail.com with ESMTPSA id j9-20020a508a89000000b00554930be765sm16741570edj.97.2024.01.24.01.05.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 24 Jan 2024 01:05:12 -0800 (PST) Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a2f79e79f0cso515744466b.2 for ; Wed, 24 Jan 2024 01:05:12 -0800 (PST) X-Received: by 2002:a17:906:1756:b0:a30:cc71:7340 with SMTP id d22-20020a170906175600b00a30cc717340mr560441eje.120.1706087112019; Wed, 24 Jan 2024 01:05:12 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240124-send-upstream-v3-1-5097c9862a73@chromium.org> <786c85c7-7b38-4a2a-85ec-282196de7b5e@collabora.com> In-Reply-To: <786c85c7-7b38-4a2a-85ec-282196de7b5e@collabora.com> From: Hsin-Te Yuan Date: Wed, 24 Jan 2024 17:04:35 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3] arm64: dts: mt8195-cherry-tomato: change watchdog reset boot flow To: AngeloGioacchino Del Regno Cc: Hsin-Te Yuan , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi AngeloGioacchino, This bug can be triggered by stopping watchdog daemon and running `sleep 60 > /dev/watchdog`. Regards, Hsin-Te On Wed, Jan 24, 2024 at 4:27=E2=80=AFPM AngeloGioacchino Del Regno wrote: > > Il 24/01/24 08:51, Hsin-Te Yuan ha scritto: > > From: Hsin-Te Yuan > > > > The external output reset signal was originally disabled and sent from > > firmware. However, an unfixed bug in the firmware on tomato prevents > > the signal from being sent, causing the device to fail to boot. To fix > > this, enable external output reset signal to allow the device to reboot > > normally. > > > > Fixes: 5eb2e303ec6b ("arm64: dts: mediatek: Introduce MT8195 Cherry pla= tform's Tomato") > > Signed-off-by: Hsin-Te Yuan > > Can't trigger the bug, but also this commit gives no side effects, so: > > Reviewed-by: AngeloGioacchino Del Regno > > > > --- > > Changes in v3: > > - Add Fixes tag > > > > Changes in v2: > > - Limit the effect only on tomato. > > --- > > arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts | 4 ++++ > > arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r2.dts | 4 ++++ > > arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r3.dts | 4 ++++ > > 3 files changed, 12 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts b= /arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts > > index 2d5e8f371b6de..a82d716f10d44 100644 > > --- a/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts > > +++ b/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts > > @@ -23,3 +23,7 @@ &sound { > > &ts_10 { > > status =3D "okay"; > > }; > > + > > +&watchdog { > > + /delete-property/ mediatek,disable-extrst; > > +}; > > diff --git a/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r2.dts b= /arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r2.dts > > index 2586c32ce6e6f..2fe20e0dad836 100644 > > --- a/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r2.dts > > +++ b/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r2.dts > > @@ -43,3 +43,7 @@ &sound { > > &ts_10 { > > status =3D "okay"; > > }; > > + > > +&watchdog { > > + /delete-property/ mediatek,disable-extrst; > > +}; > > diff --git a/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r3.dts b= /arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r3.dts > > index f54f9477b99da..dd294ca98194c 100644 > > --- a/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r3.dts > > +++ b/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r3.dts > > @@ -44,3 +44,7 @@ &sound { > > &ts_10 { > > status =3D "okay"; > > }; > > + > > +&watchdog { > > + /delete-property/ mediatek,disable-extrst; > > +}; > > > > --- > > base-commit: 64b50fcb03649ca7f0d762a50e7a3484cfc1d586 > > change-id: 20230818-send-upstream-e91e615a893c > > > > Best regards, >