From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6F6E6C43603 for ; Mon, 16 Dec 2019 17:57:49 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 157DF2166E for ; Mon, 16 Dec 2019 17:57:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="G1vjoMTq"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="OebV8do5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 157DF2166E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:From:To:Subject: References:In-Reply-To:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=YlqavkMGdLnJaYH7gTJbDQv3zNuJwqjRsgmvfbRhzhk=; b=G1vjoMTqOupyQt MriOEhJOngSHYLSWyF6MX5cMkPr8libQkcAdIyegX83m+QhuSqT2kXHTKBCAr0v7DuJu682zVkveY Kc0+KavhWuD/sixN19/ACMTvtISqC5iYjZU8RoQ9bsBYx/Z6U/XPiQZFRX3Mv8P239NMwQ/txp0Xy jGn+sPL+XWS0WG+BWusq+JTe9RIfLVpLd4lIYwmgoNxntVOYUt0MH3gt1F7JdxshNaEdxh0h5+DM9 zgA8TmGgx7VnQlpfxGPKzVozQehZ0Yv66n+ouJwJoNx9FF0WfCqUGBCHNeDAkmwK19/n15pIQY0no NrVCggppsoZEudxZncug==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1igucp-0001FX-AY; Mon, 16 Dec 2019 17:57:43 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1igucm-0001FD-JU for linux-arm-kernel@lists.infradead.org; Mon, 16 Dec 2019 17:57:41 +0000 Received: from kernel.org (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 33577205ED; Mon, 16 Dec 2019 17:57:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576519060; bh=V5QHOa8XPQM7/lLWcL52Ytgn4XqcFJ66wAdiIaUqteQ=; h=In-Reply-To:References:Subject:To:From:Cc:Date:From; b=OebV8do5Qlf6t07vKBJlHVFAGg0zfCRvbxhRAI2z3ivThZXyikzgcv6x/u3o3PCTv BmElfU8AQn9n9H/YvqlHhZz3idMzkFtTOTcIu5/o8KOhZi3C+7/YktDgeGQHD6G25H IGb1QURFfsdfuqX4tNH2iEC0txowf0NAgKyAdmso= MIME-Version: 1.0 In-Reply-To: <20191128102531.817549-1-alexandre.belloni@bootlin.com> References: <20191128102531.817549-1-alexandre.belloni@bootlin.com> Subject: Re: [PATCH] clk: at91: fix possible deadlock To: Alexandre Belloni From: Stephen Boyd User-Agent: alot/0.8.1 Date: Mon, 16 Dec 2019 09:57:39 -0800 Message-Id: <20191216175740.33577205ED@mail.kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191216_095740_664457_E9F29371 X-CRM114-Status: UNSURE ( 8.35 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre Belloni , Michael Turquette , linux-kernel@vger.kernel.org, Michał Mirosław , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Quoting Alexandre Belloni (2019-11-28 02:25:31) > Lockdep warns about a possible circular locking dependency because using > syscon_node_to_regmap() will make the created regmap get and enable the > first clock it can parse from the device tree. This clock is not needed to > access the registers and should not be enabled at that time. > > Use the recently introduced device_node_to_regmap to solve that as it looks > up the regmap in the same list but doesn't care about the clocks. > > Reported-by: Micha\u0142 Miros\u0142aw > Signed-off-by: Alexandre Belloni > --- Applied to clk-fixes _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel