Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp1336044rwl; Fri, 4 Nov 2022 12:40:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6spLongBVWQcpIyZq7v6VFkQHwOsnMiaBMmYZifbI1tTdNGZCynho7p75UzvlaF+R+GrIW X-Received: by 2002:a17:907:2719:b0:7ad:2da5:3ba7 with SMTP id w25-20020a170907271900b007ad2da53ba7mr35767879ejk.340.1667590806087; Fri, 04 Nov 2022 12:40:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667590806; cv=none; d=google.com; s=arc-20160816; b=NOySTlzFTwh+08UrZrl37oHesFstifn5gJBykW7vHhc9FL4MoNfbrWtz7rhJkiIrdk Vbj8oE/sRKDjrVKYqNPqJ/AVoSClWTtXgxqWDH9jAZet5M5qBpFElXYrF7+OQenG0M/c MasVtOMhr/tOgkgv/cn5+ouPpnhGcVHcNnuAsxM9F1CRQJi8t1GrsLhtcv/CDueo+NLD t4/+oq68xCxURAlHrTJVinRfFy7yz0I2iYuLjbi3dDh7PuVCMUhCFJGtoY33HG6P3gpY +TgipHADxjne2Wc0Adx2Ht+X2k494WJqKA7PGWPuI9wkXQ/oajUHVQMXn7nha9p3g4P0 MFyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=0RirpirjsLnaVPx1PgTePlEUSgmd94GAbbiGvTlUvaA=; b=MOT3g8uomEBkIa6Kq+S8teYaR7Y3dJxtvGhoKb8Vk20M6FnybMuhCUodRq+FwkGpYF fZeNCxDA5AtaTWmB8uLYqUjv9pEXymlkUbHlgXe8Q9iT+6957FOMN7e0bpgd/Ew0SThn siCl1NdESvweHAL1nX7Yz1PXIEy3mLyYhl4ehABBzXM6xNHEXZXNR/CJsnzLjQ41typG 9N67jmsZaK5B1tpo/C5L0ykeMUGIZrGHPrsoJ2OZ/MSFlkX+dgRfzWO/vtiTZFgKsx/p /l8cpaSJ10YeQPflKmR/cMIwagWmehG2S27s16VvXM5SGOvCVh1ANq2JRSY7uZzovgup /c9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=THsipqpF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cw7-20020a170906478700b007800b181a0csi6423102ejc.300.2022.11.04.12.39.41; Fri, 04 Nov 2022 12:40:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=THsipqpF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229489AbiKDTTY (ORCPT + 97 others); Fri, 4 Nov 2022 15:19:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbiKDTTW (ORCPT ); Fri, 4 Nov 2022 15:19:22 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD0FE1EAEC; Fri, 4 Nov 2022 12:19:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 465B8B82C15; Fri, 4 Nov 2022 19:19:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5A5BC433C1; Fri, 4 Nov 2022 19:19:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667589559; bh=0RirpirjsLnaVPx1PgTePlEUSgmd94GAbbiGvTlUvaA=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=THsipqpFeDHQzK5Wjt0lROYi2TKljfvb3U5POh+Arg4GREwG3NKh+6kcpkbj81GuS TM5FVc5RUqBjU8ZhFNCceMs/n/Tt5XiDeOlCvRK4dqounnFZ/otTfRuLdIY0oJBMPJ VJJHJpSni/3lcdj2hPn7di6aN/+JfoT81cZtLK3LVSkBrbJNEfBL/D/Pr57Y9+iUV7 7jXKrit0hfndiSZ330VkMIHlAKEirLgzVBpJWPrpqe9OJQIjJoRqeY3WaFXFJw8nUW mQZI/VVWix2tpzwCjFk6Me5NpMg4slyzkCoE8lwGMBgZk3n4HtbT2PvEPQev50mF8y 2idMn/RQUSeWA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20221103183030.3594899-1-swboyd@chromium.org> References: <20221103183030.3594899-1-swboyd@chromium.org> Subject: Re: [PATCH v3] clk: qcom: gdsc: Remove direct runtime PM calls From: Stephen Boyd Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, patches@lists.linux.dev, Andy Gross , Bjorn Andersson , Konrad Dybcio , linux-arm-msm@vger.kernel.org, Dmitry Baryshkov , Johan Hovold , Ulf Hansson , Taniya Das , Satya Priya , Douglas Anderson , Matthias Kaehlcke To: Michael Turquette , Stephen Boyd Date: Fri, 04 Nov 2022 12:19:16 -0700 User-Agent: alot/0.10 Message-Id: <20221104191918.D5A5BC433C1@smtp.kernel.org> X-Spam-Status: No, score=-8.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Stephen Boyd (2022-11-03 11:30:30) > We shouldn't be calling runtime PM APIs from within the genpd > enable/disable path for a couple reasons. >=20 > First, this causes an AA lockdep splat[1] because genpd can call into > genpd code again while holding the genpd lock. >=20 > WARNING: possible recursive locking detected > 5.19.0-rc2-lockdep+ #7 Not tainted Applied to clk-fixes