Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1862210pxx; Sat, 31 Oct 2020 00:16:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6zfKzoWVfCZETp+ysZILI5w9pyyrGgs9944/rKFULhFEQW/A8Dr6pOAd/1sm91S6pLz8S X-Received: by 2002:aa7:cd42:: with SMTP id v2mr6167590edw.191.1604128559974; Sat, 31 Oct 2020 00:15:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604128559; cv=none; d=google.com; s=arc-20160816; b=dvjcguPm6hh0pyZI/tvRTvytv++UJT322gPQRewtO+VK0r63nx89zvGeLatMmtPZ3/ V0BwNIbUqdDBysjOHq0vgKT3QUNhvlr+7pzHHp1lCR8q3BQ3vBf26GJ6+PsiUAbr7xuR Wryw7JF214Yg0U5ozRrU4VXN1FooohwsRJzZtgHFG+oncdu0K1B2uf44TeM9/gbF0z3T cGOcFVwtGXCGLX58sE40mwvd+/Sc3hSaIjHxYEQ1+xQVF5vRlk0tg2Q1RmQTSbAUNJIM ctd3wsVhKE5Bee1TVkam9GLWw5sfbK9TR8mGMAQcQWU4zYgBNks2kRWvD/VwodyJcVlK qYGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=NwKyMBitR97ROhD1gxYwwDd0pK4gvEWH90i9mLaPjlY=; b=HuPsGVYq1al7OXx6TmmbmsbBUuoric7Zm+9SCCLPwijtzyM0cTf7DlyS3OrXqfzMCh QVH5MdWMMZQ+QwFCMBn4Ny0fWAY6FK5UI35585yOWZRX2hI/mtm5tGLBr1qOfHF6OWaK ivxZhYP09vvir1rUhIa8mKf7c+jLEIDs7X/JstfwfmoPlHClu1ecBEIrgUvRS/liJ2jc jxSV/ZJJNtv7uTTixpv70VQAXFxjUkT61j3GvcybQb/hs99kStKGT34e8ncjCHu60/3N f22/1Te8pZSvnYIF6fkdCsDGZ9lYZDiUKwRvRnSCWwrvokr8BfCAe3jrF1u5gYW/XD49 Ai0Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u21si6767242eda.513.2020.10.31.00.15.23; Sat, 31 Oct 2020 00:15:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726308AbgJaHLt (ORCPT + 99 others); Sat, 31 Oct 2020 03:11:49 -0400 Received: from muru.com ([72.249.23.125]:47228 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725832AbgJaHLt (ORCPT ); Sat, 31 Oct 2020 03:11:49 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id A9E2680A3; Sat, 31 Oct 2020 07:11:51 +0000 (UTC) Date: Sat, 31 Oct 2020 09:11:43 +0200 From: Tony Lindgren To: Grygorii Strashko Cc: linux-omap@vger.kernel.org, Dave Gerlach , Faiz Abbas , Greg Kroah-Hartman , Keerthy , Nishanth Menon , Peter Ujfalusi , Roger Quadros , Suman Anna , Tero Kristo , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 4/4] bus: ti-sysc: Fix bogus resetdone warning for cpsw Message-ID: <20201031071143.GL5639@atomide.com> References: <20201026105812.38418-1-tony@atomide.com> <20201026105812.38418-5-tony@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Grygorii Strashko [201030 18:15]: > Hi Tony, > > On 26/10/2020 12:58, Tony Lindgren wrote: > > The cpsw SOFT_RESET register is cleard when out of reset so let's > > add SYSS_QUIRK_RESETDONE_INVERTED flag for cpsw. Otherwise we will > > get bogus "OCP softreset timed out" warnings on boot. > > Not sure if this quirk based approach is right way to move forward here. > > The cpsw/cpgmac is "ti,sysc-omap4-simple" which means sysc_omap4_simple, which, > in turn, has .srst_shift = -ENODEV. > > And above should be enough to avoid both sysc_reset() and sysc_wait_softreset() for such modules. That sounds like a much better fix indeed, I'll take a look. Thanks, Tony