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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 828AFEB64DC for ; Fri, 14 Jul 2023 22:53:35 +0000 (UTC) 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:In-Reply-To:MIME-Version:References: Message-ID:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Ch9xf49b+It63vTYDvjT3tjF7gtK2GzXY6lczmr3NzI=; b=BiMq0ha2Pc9n9Z 0OyCTQTuI0EwadTj5dASgo05bzZVr1ewJ1PWt/XgKYT8ag5POgOK6vbAqAAr/7aRSP8fTwyeCoynm rh1rzv2HralIOZeK7WSnKMHn6PdVUrRV+wNIAMoGI+WCXMY23fKJSQsymw4Cxx/pVpQEojO7PvkEo 9NzQ71wo+uWnPBgB2EGa1A9ZovlH485f2f6VwRwLRyQ+fTxnGznh8ZrkXTuu9T4wMkvbZBLd8RP+6 apfZc4IlbLaA8UysLelNGw4u2xAquZumfemBxdvXZif5Byly6d2+TDn2usic3bqcBXAtKLl32UwmD pr3B1uI8OIEJDCyIK2kg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qKRep-007OxG-29; Fri, 14 Jul 2023 22:53:03 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qKRel-007OwT-2H for linux-arm-kernel@lists.infradead.org; Fri, 14 Jul 2023 22:53:01 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 36EMqefp069962; Fri, 14 Jul 2023 17:52:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1689375160; bh=Xdl/UIJvXkslSce1VW8MpUQaW13x/VEKlIU83ycgctw=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=U5X1TK5CFUbSdhtkTtJhReDA0kFL8/EfI/E8YnqoRW/TMI3fH/H/GsIzFVpfkRJUe sxUWnGMgy3b/zmjbr9VApwWF3Yzd1Hei3fIpzs4y9NA0J8iZHfll/GiHtn+qR3ssRz H7H6ss7DNJeGUu+YnTRMpH9SpPLJ52y+fvuc3nG4= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 36EMqeBU012952 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 14 Jul 2023 17:52:40 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 14 Jul 2023 17:52:40 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 14 Jul 2023 17:52:40 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 36EMqeCX093307; Fri, 14 Jul 2023 17:52:40 -0500 Date: Fri, 14 Jul 2023 17:52:40 -0500 From: Nishanth Menon To: CC: , , , , , , , , , , , , , Subject: Re: [PATCH v3 2/3] arm64: dts: ti: Add reserved memory for watchdog Message-ID: <20230714225240.dvlwqaodp2l3cczm@disfigure> References: <20230713095127.1230109-1-huaqian.li@siemens.com> <20230713095127.1230109-3-huaqian.li@siemens.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230713095127.1230109-3-huaqian.li@siemens.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230714_155259_851340_9E2189BC X-CRM114-Status: GOOD ( 20.46 ) 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 On 17:51-20230713, huaqian.li@siemens.com wrote: > From: Li Hua Qian I guess I should be explicit about this: Lets keep this dts patch as "DONOTMERGE" in subject line for driver subsystem maintainer (I don't want a repeat of cpufreq maintainers picking up dts and associated warnings that are now pending fixes), resubmit at next rc1 and I can queue up the dts once the maintainers pick up the driver and bindings. Ref: https://lore.kernel.org/all/20230714084725.27847-1-krzysztof.kozlowski@linaro.org/ > > This patch adds a reserved memory for the TI AM65X platform watchdog to > reserve the specific info, triggering the watchdog reset in last boot, > to know if the board reboot is due to a watchdog reset. > > Signed-off-by: Li Hua Qian > --- > arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi > index e26bd988e522..4bb20d493651 100644 > --- a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi > @@ -63,6 +63,12 @@ rtos_ipc_memory_region: ipc-memories@a2000000 { > alignment = <0x1000>; > no-map; > }; > + > + /* To reserve the power-on(PON) reason for watchdog reset */ > + wdt_reset_memory_region: wdt-memory@a2200000 { > + reg = <0x00 0xa2200000 0x00 0x1000>; > + no-map; > + }; > }; > > leds { > @@ -718,3 +724,7 @@ &mcu_r5fss0_core1 { > <&mcu_r5fss0_core1_memory_region>; > mboxes = <&mailbox0_cluster1>, <&mbox_mcu_r5fss0_core1>; > }; > + > +&mcu_rti1 { > + memory-region = <&wdt_reset_memory_region>; > +}; > -- > 2.34.1 > -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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 fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qKRel-007OwT-2H for linux-arm-kernel@lists.infradead.org; Fri, 14 Jul 2023 22:53:01 +0000 Date: Fri, 14 Jul 2023 17:52:40 -0500 From: Nishanth Menon Subject: Re: [PATCH v3 2/3] arm64: dts: ti: Add reserved memory for watchdog Message-ID: <20230714225240.dvlwqaodp2l3cczm@disfigure> References: <20230713095127.1230109-1-huaqian.li@siemens.com> <20230713095127.1230109-3-huaqian.li@siemens.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230713095127.1230109-3-huaqian.li@siemens.com> 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+lwn-linux-arm-kernel=archive.lwn.net@lists.infradead.org List-Archive: To: huaqian.li@siemens.com Cc: wim@linux-watchdog.org, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, huaqianlee@gmail.com, vigneshr@ti.com, kristo@kernel.org, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jan.kiszka@siemens.com, baocheng.su@siemens.com Message-ID: <20230714225240.sMlP94INNSN9H4-6uD09fyWldP4GLyiMIZRuTYm37jk@z> On 17:51-20230713, huaqian.li@siemens.com wrote: > From: Li Hua Qian I guess I should be explicit about this: Lets keep this dts patch as "DONOTMERGE" in subject line for driver subsystem maintainer (I don't want a repeat of cpufreq maintainers picking up dts and associated warnings that are now pending fixes), resubmit at next rc1 and I can queue up the dts once the maintainers pick up the driver and bindings. Ref: https://lore.kernel.org/all/20230714084725.27847-1-krzysztof.kozlowski@linaro.org/ > > This patch adds a reserved memory for the TI AM65X platform watchdog to > reserve the specific info, triggering the watchdog reset in last boot, > to know if the board reboot is due to a watchdog reset. > > Signed-off-by: Li Hua Qian > --- > arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi > index e26bd988e522..4bb20d493651 100644 > --- a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi > @@ -63,6 +63,12 @@ rtos_ipc_memory_region: ipc-memories@a2000000 { > alignment = <0x1000>; > no-map; > }; > + > + /* To reserve the power-on(PON) reason for watchdog reset */ > + wdt_reset_memory_region: wdt-memory@a2200000 { > + reg = <0x00 0xa2200000 0x00 0x1000>; > + no-map; > + }; > }; > > leds { > @@ -718,3 +724,7 @@ &mcu_r5fss0_core1 { > <&mcu_r5fss0_core1_memory_region>; > mboxes = <&mailbox0_cluster1>, <&mbox_mcu_r5fss0_core1>; > }; > + > +&mcu_rti1 { > + memory-region = <&wdt_reset_memory_region>; > +}; > -- > 2.34.1 > -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel