Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp85352rdb; Fri, 16 Feb 2024 23:02:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXcnlPQX7QiAP053aCE1Y97OSKlNvlPNu4esp6JG2H36UOrTOc0k01T1sKMq5r7Bh0opO7/ixi0DeIFHd2DLzm8e0wpDPisctME3tzJXg== X-Google-Smtp-Source: AGHT+IFloDn35MBuLDQofU5gYk9VXehfKQIJ4kY0xgnGijtOINP/DdSEkgTHEmKN9DTTalQj2nsq X-Received: by 2002:a17:90a:e010:b0:299:24a6:1345 with SMTP id u16-20020a17090ae01000b0029924a61345mr4903341pjy.43.1708153341150; Fri, 16 Feb 2024 23:02:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708153341; cv=pass; d=google.com; s=arc-20160816; b=v7RZNaCc6Jvl6stEmEw7jTWO7v7fgrSyShonN7LiXnVppuH62WsGNYC1Ej19tHzrnb UVAze3f9y9pLXRXtSPJHZNBg6IO83+47EqcoE4Y3i9yHmEryAQHN+HYqZiI7NNBO9ojF boqDDOim0hOra/MA8uq6ymrGUHN1vEhtA5YS1pLhIrPuQmSs2vGyM/9EJgo81jKKCF3/ H1ATziSxGQroeQdIj9h5/dTgQzbdjZDrOrc3g1rpyq+2oSG0YRlA7h4F7SyuAfa4D7YT 4zqCTkExE6oV7ah6uCu1/HD+YXClnT84RjgVb3+y2Aw4L90D+Frzyx9gKuD3qDyJznUs CPzQ== 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=hs1VlpZsxeC5GOLK06WGcIjDrl11J8nbAUzkDUfDeRs=; fh=/dPiqLQyQBXQ4WxEA34qZiLf851d7/y4puyiR2+1PcY=; b=nuqvdgLKKXa44NNe9Priee8Z0/qF1wKDSlk5xa1mGP6BIsVJiYY0M70dTcILN+rOu5 179D7bOT7F+vTkGxyrP1MGnpcpGDyittK4yFMI442ZjWj+KzlzqWFVPg/U08N2cL9aIH WDLkw/JeSqvvYYJsPLXBN2uSpnsBJPQ9I/UE7OWQjNXsVZyUcuckhrQmRP8zSMD4IKrr D6UVzOoKIwekF/ZyDrjGCh7EByoFeDOSBD8pwFqUkIopykmFPe8Q5AXtbqjg7aHFyyve WW93nUHrO2fHAnyE8C1p34QKgRXR9xqdRoNNkYloVzUzxZHMdPrP6ceVXohwi541tuA6 ejqw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=XElIW9Lk; 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-69711-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69711-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id l3-20020a17090a850300b002964c7d3e30si1145976pjn.45.2024.02.16.23.02.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 23:02:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69711-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=XElIW9Lk; 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-69711-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69711-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id A7443B215D7 for ; Sat, 17 Feb 2024 07:02:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B52A61CABA; Sat, 17 Feb 2024 07:02:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="XElIW9Lk" Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (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 BD2CC149E08 for ; Sat, 17 Feb 2024 07:02:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708153327; cv=none; b=n0fH7f++lu5AkKbkQaQO3wJn+2hedWRaSqLN5ZewtMf4Fbzr7KpKwjcYcxN71480QVtMHSAmq/TY8JvWWtKBMF393qLNvfDH9pgc40edfbBZ3YXvk+FhXRv4jbNobv43FUu2tOLRqRrWIQuJZ5gahIVlQBl0kSCeHHYNjUFK8YA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708153327; c=relaxed/simple; bh=8NpmbJ+gfmJTEv37/idmLOJq2YThJe1CWEE0taqRs0E=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=B15qUFcOi9n19Ie5oV8hTQhUpvgu0z3KlWT4TyGXY4qHYAmOYriXAhNaq2PdfHBSF1aewLGip1W1pIRlTG2nxrqQ6lcRQro8aHeETd0XSyyO75s3nTnhZUt7MPFI8U5tPLb6mhRY+1fNb9zfaHypRWL9zAEGZdoz//FGuqe/IbU= 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=XElIW9Lk; arc=none smtp.client-ip=209.85.208.42 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-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-5610cc8cc1aso2943606a12.1 for ; Fri, 16 Feb 2024 23:02:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1708153323; x=1708758123; 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=hs1VlpZsxeC5GOLK06WGcIjDrl11J8nbAUzkDUfDeRs=; b=XElIW9LkRKVbpYA2NGsfyLWSUsyvM6YwvEtJVWn4pXUiBGAbroyV7BtgGRgNoIW5Jg KVu+okL/AuvbPbkys0VdvUsQj5o7zyzyBvizjJCWn6kuWWAbWNjPS6hNOdhtjUB9Nx1t baNIY7jge0fQoeR/9qCVwIJIBkd8zilV+HOvI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708153323; x=1708758123; 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=hs1VlpZsxeC5GOLK06WGcIjDrl11J8nbAUzkDUfDeRs=; b=VDAL1SHyjQ3+w0IwAa6HaNt3WAHluqmdCUVkjQDVf6eMfwHf7mkDdcRGFqBn+qr1tz wIHVOjGgoT3nNpV37iyczJ8stAd11HSPFHYQJ9IvChS3SKM0oTHV/epPIC4RB9YYlS2M 97mWt97nrrqEKPvx4B2MWDz67SkukWyMkjMf0MyXAK7kZpyUuvIqV18jsqVOStALtQKQ ZGPZ0Tvjh8q8Qb+VZKin48SmxG9o28UIuSXB+/rLvActLU8SSANjTso/lO3I56r7T+03 wJY0wUG0WeQdD4XagBtV8j6rzo5HgsiBzFCnc6NvCA6esnkoxNG6Su+7EF2/YK/AZm7g ET1g== X-Forwarded-Encrypted: i=1; AJvYcCWihXieRBYXJqTOw/HplRptS9DeJQs/5KStvpLmm5hCYnsVkxf/lKZpXW9/sUxiK8P2Ft8e+aC9hINeqv6WaWUJmfj30U235z2ZFEne X-Gm-Message-State: AOJu0YwmJj/0+lgIlbFfmw4Gr/AHgaNZgvsjs9YXHH2xvhafauFYtuxn Fu2H9BwSqe2oi+oYMn8EH5ScNkWlOCd+OowMfEyLRyA/NRZ1bfn2SuWut6OMePcVXre60eCzfVg = X-Received: by 2002:aa7:ce09:0:b0:564:154:6802 with SMTP id d9-20020aa7ce09000000b0056401546802mr1599229edv.40.1708153323002; Fri, 16 Feb 2024 23:02:03 -0800 (PST) Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com. [209.85.218.41]) by smtp.gmail.com with ESMTPSA id ij26-20020a056402159a00b005621bdbfdb0sm672116edb.75.2024.02.16.23.02.02 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Feb 2024 23:02:02 -0800 (PST) Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-a3566c0309fso333263666b.1 for ; Fri, 16 Feb 2024 23:02:02 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVHjyfw1w+CariS6VteGSzD2DN4yvl2A5kJw9Qi8ZRNcTV1CaHSo3SA0x1+NHpQAzXFdLhDo4r3sm/xFbfz7y13++eWLtoENI3Qy4SD X-Received: by 2002:a17:906:c2d7:b0:a3c:9bc7:7a0e with SMTP id ch23-20020a170906c2d700b00a3c9bc77a0emr4749372ejb.9.1708153321660; Fri, 16 Feb 2024 23:02:01 -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: From: Hsin-Te Yuan Date: Sat, 17 Feb 2024 15:01:25 +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: 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 Hello AngeloGioacchino, I noticed that this patch does not seem to have been landed yet. Please let me know if there are any issues. Thank you, Hsin-Te On Wed, Jan 24, 2024 at 5:04=E2=80=AFPM Hsin-Te Yuan wrote: > > 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 fro= m > > > firmware. However, an unfixed bug in the firmware on tomato prevents > > > the signal from being sent, causing the device to fail to boot. To fi= x > > > this, enable external output reset signal to allow the device to rebo= ot > > > normally. > > > > > > Fixes: 5eb2e303ec6b ("arm64: dts: mediatek: Introduce MT8195 Cherry p= latform'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, > >