From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Horman Subject: Re: [PATCH v5 00/26] Fix watchdog on Renesas R-Car Gen2 and RZ/G1 Date: Tue, 24 Apr 2018 11:09:27 +0200 Message-ID: <20180424090926.z7red3dg34rfteg6@verge.net.au> References: <1518457475-4480-1-git-send-email-fabrizio.castro@bp.renesas.com> <20180221161326.ktvf3mlzzxith5kw@verge.net.au> <20180221183223.qacrmmuzoqlzzbpo@verge.net.au> <20180223081443.ak6kl3z72kamcxob@verge.net.au> <20180313200548.fgexoxlha3coa7hs@verge.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Geert Uytterhoeven Cc: Mark Rutland , Geert Uytterhoeven , Catalin Marinas , Michael Turquette , Will Deacon , Wolfram Sang , Wim Van Sebroeck , linux-clk , Magnus Damm , Russell King , Guenter Roeck , Fabrizio Castro , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Chris Paterson , Linux Watchdog Mailing List , Biju Das , Rob Herring , Linux ARM , Stephen Boyd , Linux-Renesas List-Id: devicetree@vger.kernel.org On Wed, Apr 18, 2018 at 03:37:29PM +0200, Geert Uytterhoeven wrote: > Hi Simon, > > On Tue, Mar 13, 2018 at 9:05 PM, Simon Horman wrote: > > I understand that the watchdog driver has been accepted and that as things > > currently stand if it is enabled in the build it will be enabled in DT and > > a crash will result. From my POV that is a regression so I have decided > > to adopt the alternate plan proposed by Geert above: in short drop DT > > patches (to avoid enabling broken driver) and enqueue mach-shmobile > > patches (which don't make things any worse. > > > > Patch-by-patch things are as follows. > > > > Dropped from "[PATCH v5 00/26] Fix watchdog on Renesas R-Car Gen2 and RZ/G1": > > > > 979d28f29742 ARM: dts: r8a7743: Adjust SMP routine size > > 0b205f679f5d ARM: dts: r8a7745: Adjust SMP routine size > > 2ad21a1d78b3 ARM: dts: r8a7790: Adjust SMP routine size > > 82c978459c77 ARM: dts: r8a7791: Adjust SMP routine size > > d303698e6ff3 ARM: dts: r8a7792: Adjust SMP routine size > > d8b8b9a1e295 ARM: dts: r8a7793: Adjust SMP routine size > > 70b3ab369773 ARM: dts: r8a7794: Adjust SMP routine size > > > > ebf26cf1b1de ARM: dts: r8a7743: Add watchdog support to SoC dtsi > > 5a4566ab3777 ARM: dts: r8a7745: Add watchdog support to SoC dtsi > > acd58e2bb1e5 ARM: dts: r8a7790: Add watchdog support to SoC dtsi > > e3f89168e72f ARM: dts: r8a7791: Add watchdog support to SoC dtsi > > e76a6a69a1fc ARM: dts: r8a7794: Add watchdog support to SoC dtsi > > 242cc1ab7f7c ARM: dts: iwg20m: Add watchdog support to SoM dtsi > > 748ed07f6c7c ARM: dts: iwg22m: Add watchdog support to SoM dtsi > > > > > > Dropped from "[PATCH/RFC 00/11] ARM: dts: rcar-gen2: Enable watchdog support": > > > > c257202482e2 ARM: dts: r8a7792: Add RWDT node > > 01ec04dec8eb ARM: dts: r8a7793: Add RWDT node > > 8e6ebe4f2f94 ARM: dts: lager: Enable watchdog support > > f223ad0198f6 ARM: dts: koelsch: Enable watchdog support > > 1d14d2bb700d ARM: dts: porter: Enable watchdog support > > bf71652fc955 ARM: dts: blanche: Enable watchdog support > > 13a0b10aeea4 ARM: dts: wheat: Enable watchdog support > > 4e247bf110b8 ARM: dts: gose: Enable watchdog support > > 2dcbd24bbf5e ARM: dts: alt: Enable watchdog support > > 7f6844c900b4 ARM: dts: silk: Enable watchdog support > > > > And applied: > > > > [v5] ARM: shmobile: rcar-gen2: Add watchdog support > > [v5] ARM: shmobile: Add watchdog support > > > > In the case of the last patch above I removed the #ifdef from the header file. > > I guess the time is ripe to apply the DTS patches again, in the following order: > 1. SMP routine size adjustments, > 2. Watchdog support additions to dtsi, > 3. Watchdog enablement for dts? > > Thanks! Thanks, I have tentatively reapplied all of the above. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from kirsty.vergenet.net ([202.4.237.240]:60783 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754044AbeDXJJc (ORCPT ); Tue, 24 Apr 2018 05:09:32 -0400 Date: Tue, 24 Apr 2018 11:09:27 +0200 From: Simon Horman To: Geert Uytterhoeven Cc: Fabrizio Castro , Philipp Zabel , Rob Herring , Mark Rutland , Wim Van Sebroeck , Russell King , Catalin Marinas , Will Deacon , Michael Turquette , Stephen Boyd , Magnus Damm , Geert Uytterhoeven , Wolfram Sang , Guenter Roeck , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Watchdog Mailing List , Linux-Renesas , Linux ARM , linux-clk , Chris Paterson , Biju Das , Ramesh Shanmugasundaram Subject: Re: [PATCH v5 00/26] Fix watchdog on Renesas R-Car Gen2 and RZ/G1 Message-ID: <20180424090926.z7red3dg34rfteg6@verge.net.au> References: <1518457475-4480-1-git-send-email-fabrizio.castro@bp.renesas.com> <20180221161326.ktvf3mlzzxith5kw@verge.net.au> <20180221183223.qacrmmuzoqlzzbpo@verge.net.au> <20180223081443.ak6kl3z72kamcxob@verge.net.au> <20180313200548.fgexoxlha3coa7hs@verge.net.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-watchdog-owner@vger.kernel.org List-Id: linux-watchdog@vger.kernel.org On Wed, Apr 18, 2018 at 03:37:29PM +0200, Geert Uytterhoeven wrote: > Hi Simon, > > On Tue, Mar 13, 2018 at 9:05 PM, Simon Horman wrote: > > I understand that the watchdog driver has been accepted and that as things > > currently stand if it is enabled in the build it will be enabled in DT and > > a crash will result. From my POV that is a regression so I have decided > > to adopt the alternate plan proposed by Geert above: in short drop DT > > patches (to avoid enabling broken driver) and enqueue mach-shmobile > > patches (which don't make things any worse. > > > > Patch-by-patch things are as follows. > > > > Dropped from "[PATCH v5 00/26] Fix watchdog on Renesas R-Car Gen2 and RZ/G1": > > > > 979d28f29742 ARM: dts: r8a7743: Adjust SMP routine size > > 0b205f679f5d ARM: dts: r8a7745: Adjust SMP routine size > > 2ad21a1d78b3 ARM: dts: r8a7790: Adjust SMP routine size > > 82c978459c77 ARM: dts: r8a7791: Adjust SMP routine size > > d303698e6ff3 ARM: dts: r8a7792: Adjust SMP routine size > > d8b8b9a1e295 ARM: dts: r8a7793: Adjust SMP routine size > > 70b3ab369773 ARM: dts: r8a7794: Adjust SMP routine size > > > > ebf26cf1b1de ARM: dts: r8a7743: Add watchdog support to SoC dtsi > > 5a4566ab3777 ARM: dts: r8a7745: Add watchdog support to SoC dtsi > > acd58e2bb1e5 ARM: dts: r8a7790: Add watchdog support to SoC dtsi > > e3f89168e72f ARM: dts: r8a7791: Add watchdog support to SoC dtsi > > e76a6a69a1fc ARM: dts: r8a7794: Add watchdog support to SoC dtsi > > 242cc1ab7f7c ARM: dts: iwg20m: Add watchdog support to SoM dtsi > > 748ed07f6c7c ARM: dts: iwg22m: Add watchdog support to SoM dtsi > > > > > > Dropped from "[PATCH/RFC 00/11] ARM: dts: rcar-gen2: Enable watchdog support": > > > > c257202482e2 ARM: dts: r8a7792: Add RWDT node > > 01ec04dec8eb ARM: dts: r8a7793: Add RWDT node > > 8e6ebe4f2f94 ARM: dts: lager: Enable watchdog support > > f223ad0198f6 ARM: dts: koelsch: Enable watchdog support > > 1d14d2bb700d ARM: dts: porter: Enable watchdog support > > bf71652fc955 ARM: dts: blanche: Enable watchdog support > > 13a0b10aeea4 ARM: dts: wheat: Enable watchdog support > > 4e247bf110b8 ARM: dts: gose: Enable watchdog support > > 2dcbd24bbf5e ARM: dts: alt: Enable watchdog support > > 7f6844c900b4 ARM: dts: silk: Enable watchdog support > > > > And applied: > > > > [v5] ARM: shmobile: rcar-gen2: Add watchdog support > > [v5] ARM: shmobile: Add watchdog support > > > > In the case of the last patch above I removed the #ifdef from the header file. > > I guess the time is ripe to apply the DTS patches again, in the following order: > 1. SMP routine size adjustments, > 2. Watchdog support additions to dtsi, > 3. Watchdog enablement for dts? > > Thanks! Thanks, I have tentatively reapplied all of the above. From mboxrd@z Thu Jan 1 00:00:00 1970 From: horms@verge.net.au (Simon Horman) Date: Tue, 24 Apr 2018 11:09:27 +0200 Subject: [PATCH v5 00/26] Fix watchdog on Renesas R-Car Gen2 and RZ/G1 In-Reply-To: References: <1518457475-4480-1-git-send-email-fabrizio.castro@bp.renesas.com> <20180221161326.ktvf3mlzzxith5kw@verge.net.au> <20180221183223.qacrmmuzoqlzzbpo@verge.net.au> <20180223081443.ak6kl3z72kamcxob@verge.net.au> <20180313200548.fgexoxlha3coa7hs@verge.net.au> Message-ID: <20180424090926.z7red3dg34rfteg6@verge.net.au> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Apr 18, 2018 at 03:37:29PM +0200, Geert Uytterhoeven wrote: > Hi Simon, > > On Tue, Mar 13, 2018 at 9:05 PM, Simon Horman wrote: > > I understand that the watchdog driver has been accepted and that as things > > currently stand if it is enabled in the build it will be enabled in DT and > > a crash will result. From my POV that is a regression so I have decided > > to adopt the alternate plan proposed by Geert above: in short drop DT > > patches (to avoid enabling broken driver) and enqueue mach-shmobile > > patches (which don't make things any worse. > > > > Patch-by-patch things are as follows. > > > > Dropped from "[PATCH v5 00/26] Fix watchdog on Renesas R-Car Gen2 and RZ/G1": > > > > 979d28f29742 ARM: dts: r8a7743: Adjust SMP routine size > > 0b205f679f5d ARM: dts: r8a7745: Adjust SMP routine size > > 2ad21a1d78b3 ARM: dts: r8a7790: Adjust SMP routine size > > 82c978459c77 ARM: dts: r8a7791: Adjust SMP routine size > > d303698e6ff3 ARM: dts: r8a7792: Adjust SMP routine size > > d8b8b9a1e295 ARM: dts: r8a7793: Adjust SMP routine size > > 70b3ab369773 ARM: dts: r8a7794: Adjust SMP routine size > > > > ebf26cf1b1de ARM: dts: r8a7743: Add watchdog support to SoC dtsi > > 5a4566ab3777 ARM: dts: r8a7745: Add watchdog support to SoC dtsi > > acd58e2bb1e5 ARM: dts: r8a7790: Add watchdog support to SoC dtsi > > e3f89168e72f ARM: dts: r8a7791: Add watchdog support to SoC dtsi > > e76a6a69a1fc ARM: dts: r8a7794: Add watchdog support to SoC dtsi > > 242cc1ab7f7c ARM: dts: iwg20m: Add watchdog support to SoM dtsi > > 748ed07f6c7c ARM: dts: iwg22m: Add watchdog support to SoM dtsi > > > > > > Dropped from "[PATCH/RFC 00/11] ARM: dts: rcar-gen2: Enable watchdog support": > > > > c257202482e2 ARM: dts: r8a7792: Add RWDT node > > 01ec04dec8eb ARM: dts: r8a7793: Add RWDT node > > 8e6ebe4f2f94 ARM: dts: lager: Enable watchdog support > > f223ad0198f6 ARM: dts: koelsch: Enable watchdog support > > 1d14d2bb700d ARM: dts: porter: Enable watchdog support > > bf71652fc955 ARM: dts: blanche: Enable watchdog support > > 13a0b10aeea4 ARM: dts: wheat: Enable watchdog support > > 4e247bf110b8 ARM: dts: gose: Enable watchdog support > > 2dcbd24bbf5e ARM: dts: alt: Enable watchdog support > > 7f6844c900b4 ARM: dts: silk: Enable watchdog support > > > > And applied: > > > > [v5] ARM: shmobile: rcar-gen2: Add watchdog support > > [v5] ARM: shmobile: Add watchdog support > > > > In the case of the last patch above I removed the #ifdef from the header file. > > I guess the time is ripe to apply the DTS patches again, in the following order: > 1. SMP routine size adjustments, > 2. Watchdog support additions to dtsi, > 3. Watchdog enablement for dts? > > Thanks! Thanks, I have tentatively reapplied all of the above.