Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp45697pxj; Thu, 10 Jun 2021 14:20:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWhi9TjruDtXBSmGLt6Vyl+MEDyCebWkcLRWEzcsHbZV6FdHwuFKKgzMH8NHUJvDxn6YhL X-Received: by 2002:a17:906:ca4c:: with SMTP id jx12mr466152ejb.155.1623360023223; Thu, 10 Jun 2021 14:20:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623360023; cv=none; d=google.com; s=arc-20160816; b=tr7ah8IuFqZ/8ct/0J9BZXVW0cs/j8Np5CS+QAduUMhuC5YgPiXIEFOFMq0+k0bKOR qn+nmcUyfhU6Dk4Eguon89ABFtC+t+eYph5djAheYBPIUc71jJNagSSWcAv4ocXSbyuV ltqrD0Rpobu9kN5rOCvMoWl8o8up44p7zxN5LLtSGfzszKTUKtoJAHocZNwd/Sesl4jM GsgzhLU56uHXTkxYtlraX2OLnpTHiHDsq/YBbKsdk/5BTenTp15kvWG3q62/rhHLCMZc spA6DdOcSG0QCpoADgFtCKpoQi7WS3mRA8sR+turtH6VeC3Nmtv5GXZTloTtoZY79GLa a9Xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=so8eXo9V+y7UW0kzOqL7D9DbbcWmGxu3kpYV0WhOpbs=; b=pob7X5ZJrw49rqTXtSPILKSGtkmrAXRVyOMpa95S6jyU1ziCw2z9Vtz6RwkKR2wcrp lAFqIy7oaeFr9p1DLg+QyvqelGnHofgceowGp1o3C0VyP1IMj8SNTEAETgcHjA+iLFNH F7NaCxMsd3rOd/rer2wV3lKyY9ZyPlEdvawUCgHexVPPt2hsAzA5tjbN88FyV44IzJiF TUvc7in4k6bCilrmFQPJHRrp3+isK2pdnK0fEWBFt94glhKWlRZfat1TGhXnTCntot11 jS9EJOl+oY7rnJbEk1p5BjT2tVavokO16DdhaCmO0muNZINPvxCt0is3InKoW+38RcPk g1cQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XxfqYczG; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cz11si3119504edb.37.2021.06.10.14.19.59; Thu, 10 Jun 2021 14:20:23 -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=pass header.i=@kernel.org header.s=k20201202 header.b=XxfqYczG; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230281AbhFJVUN (ORCPT + 99 others); Thu, 10 Jun 2021 17:20:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:49344 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229963AbhFJVUM (ORCPT ); Thu, 10 Jun 2021 17:20:12 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8483F61362; Thu, 10 Jun 2021 21:18:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623359895; bh=so8eXo9V+y7UW0kzOqL7D9DbbcWmGxu3kpYV0WhOpbs=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=XxfqYczG8QwvrY8aclg9g8W9rROovo/65gGEIPDu6ebReuz/5cMhF1AWPIVjHJAIf iJ3BIOxgP6Iu8OWz7FdO53fpWcGSO91yX+QWoEx1KkxyLnn2Z5roke4g5SDHyblGo9 mjU/4NXXLmRxUMKdpH9BY/q2f7R/1rh38udM8WlQZy58BDO81olRVp+XtFkCMjN4QS JPqJ3GUWyQ1Lxg9YkZvNZWyKRr+zOk6h/YC6snjaKw7HpabO6ZJHmnx8bWwAhqkxX1 4UhCt6F8SumFGEAfyMjW4ggcEyKeyBroECNAeqHEdYUYaGbT3aNrHaF/+eDN/zT8AG r7Aj/HxTJ0a+g== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <20210610071758.1560592-1-sean@geanix.com> Subject: Re: [PATCH] clk: fix possible circular locking in clk_notifier_register() From: Stephen Boyd Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org To: Michael Turquette , Sean Nyekjaer Date: Thu, 10 Jun 2021 14:18:14 -0700 Message-ID: <162335989440.9598.5831025849742947247@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Sean Nyekjaer (2021-06-10 00:23:30) > On 10/06/2021 09.17, Sean Nyekjaer wrote: > > Allocating memory with prepare_lock mutex held makes lockdep unhappy > > when memory pressure makes the system do fs_reclaim on eg. rawnand using > > clk. > >=20 > > Push the allocation outside the lock. > >=20 > [...] > >=20 > > Signed-off-by: Sean Nyekjaer > Fixes: b2476490ef111 ("clk: introduce the common clock framework") >=20 > We could possibly add this fixes tag ^^ Sure.