Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1833762pxk; Tue, 1 Sep 2020 08:52:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXMAN2C/fxWsbgqjr3M9AD7LUlJ+CP9oZAoqm8l3O2uRbB90zWE3kpMHJCtj5vScQrnGZF X-Received: by 2002:a17:906:6a52:: with SMTP id n18mr1975520ejs.58.1598975572391; Tue, 01 Sep 2020 08:52:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598975572; cv=none; d=google.com; s=arc-20160816; b=EeKOesoQnyzKGr0xBYml0hmvEGMcFtfEC83LxNAPJUyilp31IdrGCR8zWtt3qTkO9J Tt5yxm8Y7oxWKTWYPRAU6xCs22F+m7YdorW7Cpn3Rs5yTMI0yCDWPv+RWUkdLDsM+N2I mfs5jiz6SS+Cr59KhnoEnDEF1L044cGNiv71YoVNBKnuyRN7DD7XoA+z5CM+rYMqChHi pKZRYAlqUAWHEojBj8SsScCh1MzTiuprrBKzCuS79zpyb9kY6pkBhOo8lR/FIrLVOZ1s nj+blck93AZ2K82WPoX1bnYj7+0znWcsBYTPES1XHUGAy7S4Sktfo3bVs1diiOrp708i AtAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=tHPi+SjkOF6w9APKcpbiTQrV0DyQaBz6SgJbSF6lXMk=; b=ZIAIptHEqNAEaNH9Q7xlYAtQJVGZ2KC7gftrFURmAUBcFD343rreqiHXm0buUweFif 7FwBS2NqElSABxOQ3FVMn2shX6C0gRJfZMwbBOlrCzdbx3Vb8QQin55EsHcVe21mzyaw tkh/i/NF+Y7Jjhd/RbW4eUnix5AfZuyCqFv3bHBP0+kswhUVfQdbckLe2HfF6HTeL06v ETlcyK/vot7B5qC/KiZi2/V0ZQ9pp0tVcYlNreWCLm12ilDVlqiMk1He+KRVIiI/g88y c2MNgC3d/MKAcq8E/8AdhAmWzjRRycNoC/j/CWs6Hd1d878GCvUskjOHSfXFDA7cK2zR yybg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=3NjA7NmE; 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 va2si868485ejb.14.2020.09.01.08.52.29; Tue, 01 Sep 2020 08:52:52 -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; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=3NjA7NmE; 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 S1732031AbgIAPvD (ORCPT + 99 others); Tue, 1 Sep 2020 11:51:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727114AbgIAPu1 (ORCPT ); Tue, 1 Sep 2020 11:50:27 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6356C061247; Tue, 1 Sep 2020 08:50:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=tHPi+SjkOF6w9APKcpbiTQrV0DyQaBz6SgJbSF6lXMk=; b=3NjA7NmECoivZ7oLm1KxCRgUdI gcm8mw9F1Z8G3GoMzLr1uhEe84sAtLIki46X+4JpIaR7wmlZB8eyeWkPscMyUauxVt2QhcldUDJhu N7Bv7E8wgOmUSrXr561FZuMQhOw6QWKNQRgQtDqbWInsG1Pe2tUPw5tDx3n7GugRm7rfQNcN70TkM bMaZ5J4hqMKSrjKSjP7eJgvWSnmHBM2IETGWnLmyF/pgz6fBOjDKT9BJJw4oP3lgyzK8THMYh6bTX svOA2UkXDiIopjcIIfQ1h1rvsR74sGInfUraA3hmPzVvFT2nqTYtD+EDxH6ZUswkP5IYdTAr02s8E hmIvzZCQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kD8Y4-0001I2-Tt; Tue, 01 Sep 2020 15:50:17 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 2A878307936; Tue, 1 Sep 2020 17:50:15 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 03B3220D7C0E3; Tue, 1 Sep 2020 17:50:14 +0200 (CEST) Date: Tue, 1 Sep 2020 17:50:14 +0200 From: peterz@infradead.org To: Lina Iyer Cc: Ulf Hansson , Naresh Kamboju , paulmck@kernel.org, "Rafael J. Wysocki" , Saravana Kannan , open list , linux-mmc , lkft-triage@lists.linaro.org, rcu@vger.kernel.org, Linux PM , Anders Roxell , Arnd Bergmann , Rajendra Nayak , John Stultz , Stephen Boyd , Lars Povlsen , madhuparnabhowmik10@gmail.com, Viresh Kumar , Vincent Guittot , Thomas Gleixner Subject: Re: WARNING: suspicious RCU usage - sdhci-pltfm: SDHCI platform and OF driver helper Message-ID: <20200901155014.GF2674@hirez.programming.kicks-ass.net> References: <20200831194402.GD2855@paulmck-ThinkPad-P72> <20200901104206.GU1362448@hirez.programming.kicks-ass.net> <20200901154417.GD20303@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200901154417.GD20303@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 01, 2020 at 09:44:17AM -0600, Lina Iyer wrote: > > > > > > I could add RCU_NONIDLE for the calls to pm_runtime_put_sync_suspend() > > > > > > and pm_runtime_get_sync() in psci_enter_domain_idle_state(). Perhaps > > > > > > that's the easiest approach, at least to start with. > I think this would be nice. This should also cover the case, where PM domain > power off notification callbacks call trace function internally. Right? That's just more crap for me to clean up later :-( trace_*_rcuidle() and RCU_NONIDLE() need to die, not proliferate.