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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 3A783CCA481 for ; Tue, 12 Jul 2022 11:33:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ubRb++YZcwFXiLERrEYJBIr6ADI9rXhZVThG1D7Rw98=; b=3Vk/rw/6RvB5Dk Qy4KOcyiMegSxzOicgDtVwSvt0Z5m38MPZvSD8QrFnOCog7ESdve4yRksdL+A7JqRP5MdRMPLSnOx eupXIPVTVEmufGo3ctKzuv2aHo2ay1tA1yasUX1D0NGDw03kgUNaj4NithnuGt2ETbuvGAQA5exTe voOkE4aX4iAuAKfGCizWtszZBPLg/9ZwwppFBAxlQGiUC3hDqje0AFjNvB5OPFvb27EfZNxDtjlI2 +nikeJFbeYlOX/O8BavSuc8OlmXJoYmkKI7yJZqQYn7kFZJfhd1zw+z3+y5scTiMW/Y2RimOhZFm3 c5IvjAF+ah0XlsYY7trA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBE7j-00ATvH-IU; Tue, 12 Jul 2022 11:32:15 +0000 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBE7g-00ATsK-5b for linux-arm-kernel@lists.infradead.org; Tue, 12 Jul 2022 11:32:13 +0000 Received: by mail-pf1-x434.google.com with SMTP id y141so7234630pfb.7 for ; Tue, 12 Jul 2022 04:32:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Oyv6ls5n5LtXZ+eFrLN0Kgir8c8eeeHctyKmi21xDfU=; b=ImsYx5Ku+Ab8MqVb/ZzRH9XFV9El4m+WUWrW9VTtX2efmRpl6j584D6ilTaioM7GuY 3VWIEvaYsJqJnJa8kNtQyoKP3nRUjATbmmw20kX0OzdXf2ckm2LhB7D57Z1bD50XZDfH PlJK0/nVT2+QXEt8i3DxTxerhl831H78bmZxc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Oyv6ls5n5LtXZ+eFrLN0Kgir8c8eeeHctyKmi21xDfU=; b=zuOFqpWrIATVS8mwhxyCk91FqB3U9TCFKDxNbczcNvhTUmdid7+5Wiw5gMn4Ss+3WN qRBn9eW9OOmYM2QdptRnlhJTkUtmwdO/ke7K65q7GMjwcopWIoiGl7EK6D4d5VAEQRUL AEAfBEnWKTX09xEh9gm5qEcD8bz7Cf3Kgc1AfvOeep2fTZmEqQMwKongSOgkTkakRxjG PEvdoPSLd/3LUwCcN50FMbveEk/Rz3HxjCBMpiqn70m1jUA7jt+PzJdjoYd/3LGEQpcn NmaidBKwkR3GFhj2z/7vRhjl+TsrwAK1pwpIDPVk3Zs7sDqrKCg3BJeXoYNofBbcYYsl zKow== X-Gm-Message-State: AJIora8+fYwlAB+PtChrEuwQR2QylaQMVO2gWMCE13X/g155n/UW7c0+ dzi7t4Ppx3IZq9dmT5ghFyYdww== X-Google-Smtp-Source: AGRyM1vNTI7P5FFRL8K9PK2KWyhjO0NXooJUOhB6blvPca1HMAd1tLyTL0bTIb9nIiSlIRA9J2QFCg== X-Received: by 2002:a63:2c89:0:b0:411:66bf:9efc with SMTP id s131-20020a632c89000000b0041166bf9efcmr19639098pgs.589.1657625528922; Tue, 12 Jul 2022 04:32:08 -0700 (PDT) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:d1a9:ca7d:e86f:cf6f]) by smtp.gmail.com with ESMTPSA id m12-20020a170902f64c00b0016bf9437766sm6527972plg.261.2022.07.12.04.32.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jul 2022 04:32:02 -0700 (PDT) From: Chen-Yu Tsai To: Michael Turquette , Stephen Boyd Cc: Chen-Yu Tsai , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, AngeloGioacchino Del Regno , =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= Subject: [PATCH 0/2] clk: Fix CLK_OPS_PARENT_ENABLE and runtime PM Date: Tue, 12 Jul 2022 19:31:05 +0800 Message-Id: <20220712113107.871623-1-wenst@chromium.org> X-Mailer: git-send-email 2.37.0.144.g8ac04bfd2-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220712_043212_257668_6C19FBCC X-CRM114-Status: GOOD ( 11.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Mike, Stephen, Here are a couple fixes for the clk core. They are unrelated but overlap in diff context, so I'm sending them together. Patch 1 makes the clk core honor CLK_OPS_PARENT_ENABLE for clk gate ops. Without this, dumping clk_summary on the MT8192 would cause the system to hang. Patch 2 reorders the runtime PM call in clk_core_unprepare() to match the order described in its original commit, and the opposite of that in clk_core_prepare(). Regards ChenYu Chen-Yu Tsai (2): clk: core: Honor CLK_OPS_PARENT_ENABLE for clk gate ops clk: core: Fix runtime PM sequence in clk_core_unprepare() drivers/clk/clk.c | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) -- 2.37.0.144.g8ac04bfd2-goog _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel