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 A4732C43334 for ; Tue, 12 Jul 2022 11:35:15 +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=dEOd8i/EpPWW8e F4iBpBvcJHdcogalW9+mpGItNUCQVNtPMayduArBAr2b8jNkN0XGS2zCqFdVxrtdaGjuqCJy6bSKO OTczA6WrIl+X7VepM7dAcTuNwTWXQO/BsZ8d+VMlz2xutrb1vOOMxmVhhXC+up1xahGfmFsC7XvVJ om5Q3i39JCDuf+ECa+jb4gHFWTbpx7NqYj0lDik5NcysGgV4cw+C8rJY4gWJPFCkfiM8ze0j44xIK nbnOGazr1dcksF103dkGUgrzY8mWoZs/EoKWepZCEz1fIpbSdTHw4rV2CC1+KW0nCEakJQ9Bro1cT ewLi6IZg7/qt/1sbBh4g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBE9e-00AUrV-0P; Tue, 12 Jul 2022 11:34:14 +0000 Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBE9a-00AUpu-Ct for linux-arm-kernel@lists.infradead.org; Tue, 12 Jul 2022 11:34:11 +0000 Received: by mail-pg1-x532.google.com with SMTP id 72so7359554pge.0 for ; Tue, 12 Jul 2022 04:34:07 -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=AyZLVnJOfk8Tv6TtGpOoeRkeSR/b2bV4cgBFR+EBkHCgQMDbETZffoXTdHDIUPNu9w MPceWlvtTUpd2Il2fH9qVvKyKGmHid9Ubmmx11ImERS2dK8RJMsD/jHRXt9qjLKyqbqB Ye28s/LK71UsY72Kl4jB7XGuGUGKLQHFCfvN4= 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=UA6WcIvLuhz/SIV12wzsy18+lP7OQWhc8tfn0U1mBfP8102pBeh4F1ZEtVZvw1JS1G 1X0yFH4K45Gv7SsT11tBvXQafVy+l3KnfHCuwCE2ze3clwf+AkxYoWTFZhEbR6pIpOFU LwDNnuEE09RzR6dObI/q1X70tSeRW0w3QacvfyO4NP+bDBeH3o1rDQPFLnhhYnYSx5l4 IQN5S4SozfoyWRBplQtiAC7MXLrd5nW1s4lbyb2kJAsDC+jRu8kl8UQN2ectnVYqb4Z+ tVcdsSM8/kfaZugKPeeSjW3JtAGnQq2qX9dfPRYcxJ73dgZ8pGWHlPbr+yZ3z6vTj0CO B7og== X-Gm-Message-State: AJIora/wqJzCFJnlRNR0+x4WE+hi7B87X/iRl/mOKy72/G39i+LRy0z/ RlcB9YYveuJor1VaAF0Y0nGsrw== X-Google-Smtp-Source: AGRyM1treUZQGKzP/srWrhQQXfnWw5A2LzmcIyergVoaqHN/hKKC5TFTd7y1OL9WwsehvALKJwR1NA== X-Received: by 2002:a63:5b16:0:b0:416:1b3b:9562 with SMTP id p22-20020a635b16000000b004161b3b9562mr5669714pgb.146.1657625647430; Tue, 12 Jul 2022 04:34:07 -0700 (PDT) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:d1a9:ca7d:e86f:cf6f]) by smtp.gmail.com with ESMTPSA id 80-20020a621653000000b0052890d61628sm6537967pfw.60.2022.07.12.04.34.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jul 2022 04:34:06 -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:34:00 +0800 Message-Id: <20220712113402.871838-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_043410_458326_412EA69C 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