From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH] ARM: avoid Cortex-A9 livelock on tight dmb loops Date: Tue, 10 Apr 2018 06:41:49 -0700 Message-ID: <20180410134149.GQ5700@atomide.com> References: 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: Russell King Cc: Paul Walmsley , Rajendra Nayak , Will Deacon , Tero Kristo , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org List-Id: linux-omap@vger.kernel.org * Russell King [180410 10:43]: > diff --git a/arch/arm/mach-omap2/prm_common.c b/arch/arm/mach-omap2/prm_common.c > index 021b5a8b9c0a..d4ddc78b2a0b 100644 > --- a/arch/arm/mach-omap2/prm_common.c > +++ b/arch/arm/mach-omap2/prm_common.c > @@ -523,7 +523,7 @@ void omap_prm_reset_system(void) > prm_ll_data->reset_system(); > > while (1) > - cpu_relax(); > + cpu_do_idle(); > } > Hmm we need to check so the added WFI here does not cause an undesired change to a low power state. Adding Tero to Cc also. Regards, Tony