Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933283AbdC3KYM (ORCPT ); Thu, 30 Mar 2017 06:24:12 -0400 Received: from foss.arm.com ([217.140.101.70]:44514 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932906AbdC3KYJ (ORCPT ); Thu, 30 Mar 2017 06:24:09 -0400 Subject: Re: spin_lock behavior with ARM64 big.Little/HMP To: Vikram Mulukutla References: <400ab4b8b2354c5b9283f6ed657363a0@codeaurora.org> <8d9d6333-0ebe-65c4-c6f1-3e3475e3e535@arm.com> <537888bcf5dd5ea3c3418fc9e9e3ff79@codeaurora.org> Cc: Sudeep Holla , Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel-owner@vger.kernel.org From: Sudeep Holla Organization: ARM Message-ID: Date: Thu, 30 Mar 2017 11:23:54 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <537888bcf5dd5ea3c3418fc9e9e3ff79@codeaurora.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 847 Lines: 27 On 30/03/17 05:12, Vikram Mulukutla wrote: > > Hi Sudeep, > >> >> Interesting. Just curious if this is r0p0/p1 A53 ? If so, is the errata >> 819472 enabled ? > > Sorry for bringing this up after the loo-ong delay, but I've been > assured that the A53 involved is > r0p1. I've also confirmed this > problem on multiple internal platforms, and I'm pretty sure that it > occurs on any b.L out there today. Also, we found the same problematic > lock design used in the workqueue code in the kernel, causing the same > livelock. It's very very rare and requires a perfect set of circumstances. > > If it would help I can provide a unit test if you folks would be > generous enough to test it on the latest Juno or something b.L that's > also upstream. > Sure, please do share the unit test. I will give that a try on Juno. -- Regards, Sudeep