Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1075174imu; Thu, 13 Dec 2018 09:01:08 -0800 (PST) X-Google-Smtp-Source: AFSGD/UA6qAqlns08zo7I8Kbkel1WqX4iYezOZtSZ+pOWjYCHKiJSKq+uzrbNF58xU1F2SHEH18/ X-Received: by 2002:a17:902:a5c3:: with SMTP id t3mr23961918plq.117.1544720468120; Thu, 13 Dec 2018 09:01:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544720468; cv=none; d=google.com; s=arc-20160816; b=e48wDDqhu0x1wPMaFFOQsCGLFfkzzFSMJmF8cKjtm7oJc/daNkow/LsrXWwFnSbD83 ud+LvsXMPZL8dmAv8nMsVVhoP8/omePlxsfwjBEAvdjE4jG4cT66eYeXcUmV9ojuidso l0pjc/A8lBzziOHf7YdFBFdfLAQiDUfOr8U5kHIu7H/oNvdRAezvSxgMpqJmv/hI5bc2 OTXdzQZs4wMX6o51GVi/WQtqCeqjQ//KrCBH8oAAsnR3fYo52qOJcDmW7MDK1CMvdvn0 gZnPs3nD/1g5Z/olOyH018hquwRqO5DtUmFJ9aFdOTnkxf0XQxXsODoCEa8BFQvD/ReV eoiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature:dkim-signature; bh=mWobbsf9/q5xmnTr76xhw9ahxHTiqfhVj+3lLnQbBDo=; b=qgoy6VQ71wSzstEBaK7zLjm399XobHrQTZBjc3g70Q+kfgBmN+/e5D69/UVTDZda49 /EIUuW/kPgT96lQG0ndiedlNJUM0zOzlhi9CcplZlrwfTO3f3Al2aP64yveNj8cJD/mt cEIHjZEXdrY2RFpqiC8/iUkm+rIeqWEJWvDFwsY3HWkvC+IR05NrbiODQa5pNlTW9kp2 WqEbYQV4aoJE2d4pXP+e8CI3xdD/7dHMGjW7wkgUdSftqi32OIqZWkuN4Wiermd8jwKy kRutSpHYHe2v5mW6iFwBKqB/MR9iNeunsfQq/Yu6JZmZoTZcwxUg2Z72Odzun7ZpbbDU A3sA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=BLU0B29T; dkim=pass header.i=@codeaurora.org header.s=default header.b=QKZAIc7y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w17si1635423pgl.6.2018.12.13.09.00.50; Thu, 13 Dec 2018 09:01:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=BLU0B29T; dkim=pass header.i=@codeaurora.org header.s=default header.b=QKZAIc7y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729544AbeLMQ7o (ORCPT + 99 others); Thu, 13 Dec 2018 11:59:44 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:40674 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727815AbeLMQ7o (ORCPT ); Thu, 13 Dec 2018 11:59:44 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 0841F60132; Thu, 13 Dec 2018 16:59:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1544720383; bh=dKzQjPrQFAlvgQoG9iZUPmDlA4WUnrorf26brMypZX4=; h=From:To:Cc:Subject:Date:From; b=BLU0B29TQ31UmhE8mP32B8EmlRADP1fw7zz3xGhO6AY9IQi3AEFBwZGJCHYxbg2yO n3QvVJv/s/6fC/zZHA1H5frnw5JAKci7gtFkLLqr+3mk621wS407dlIiKPRWdZgwoi cV+cuJF1z98PvTxH7rQ69sb/YyORMKyng1AIPMkY= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from jhugo-perf-lnx.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jhugo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 4E6C0602F8; Thu, 13 Dec 2018 16:59:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1544720382; bh=dKzQjPrQFAlvgQoG9iZUPmDlA4WUnrorf26brMypZX4=; h=From:To:Cc:Subject:Date:From; b=QKZAIc7y4c/QqqZ9GQiLKpyNx4AfcoPR6XmdMof91f5WH29RrbMODj0TfnOtt+yz6 sHAFrQ66339IUb777YnpFRl2+ISLx096r3rtDGRj1JUOQ7ItOziB+RPcL/o86SEWzt Sf0cSQPDA9oR+cmdM7pbiy9TU/hlfs7WHB4wP3fk= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 4E6C0602F8 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=jhugo@codeaurora.org From: Jeffrey Hugo To: sboyd@kernel.org, andy.gross@linaro.org, david.brown@linaro.org, mturquette@baylibre.com Cc: bjorn.andersson@linaro.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, marc.w.gonzalez@free.fr, Jeffrey Hugo Subject: [PATCH] clk: qcom: Leave mmss noc on for 8998 Date: Thu, 13 Dec 2018 09:59:30 -0700 Message-Id: <1544720370-11598-1-git-send-email-jhugo@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Similar to other qcom targets, gcc_mmss_noc_cfg_ahb_clk should not be disabled. Any mmss access depends on this clock, and its been observed that enabling mmssnoc_axi_rpm_clk with rpmcc results in an implicit access to mmss and will crash the system if gcc_mmss_noc_cfg_ahb_clk is disabled. Signed-off-by: Jeffrey Hugo --- drivers/clk/qcom/gcc-msm8998.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/qcom/gcc-msm8998.c b/drivers/clk/qcom/gcc-msm8998.c index 4b75a09..b371308 100644 --- a/drivers/clk/qcom/gcc-msm8998.c +++ b/drivers/clk/qcom/gcc-msm8998.c @@ -2014,6 +2014,7 @@ enum { .hw.init = &(struct clk_init_data){ .name = "gcc_mmss_noc_cfg_ahb_clk", .ops = &clk_branch2_ops, + .flags = CLK_IGNORE_UNUSED, }, }, }; -- Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.