Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp5587652ima; Tue, 5 Feb 2019 14:32:44 -0800 (PST) X-Google-Smtp-Source: AHgI3IY68qziGGW3OGjzs6cbcJ1GDUW6ZPt7EanChEiq70RSk2DppD41RUyjBB9lhQdbwY6wHw+a X-Received: by 2002:a17:902:2a66:: with SMTP id i93mr7342554plb.113.1549405964586; Tue, 05 Feb 2019 14:32:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549405964; cv=none; d=google.com; s=arc-20160816; b=HqTcDha3NBBLdZl8KQczpdZgxIHgzhIUXLi5P4hpem5z6HoBBQaskKkLoEpgRpfJ2x r4qVO2T2V6/t3HRNoc02NR9DwEuTb1sTtr15IpNoskAG4zXwpVQ8RK36AWvVe2J+D1Jz /7WVFON70jf5jKdnMSAV2YJ1m0ScE/5O7Sk+fJGuBbVL96ejXK3cciCVZjCHV96TYpfJ g1oYgEEmtR5ETZwY5QTHmGuPQ8RuSzwkrAJ02D7o4nwKXNi7tyUGm0HZPpJW73Cc3JT0 +27dEebuovGL0Yp3l7ZMp3c1JIdpB47xpHB2YHzSbL/rgAb8fF3RUEPB9A9XaCtNUoy/ iIIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:in-reply-to:to:user-agent:references :cc:message-id:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=vkV8HQcelqSmyrKI7m2PqGdApguPqhiRk26NTvUMSGk=; b=vSKDHXB4q2WTkZnQzrFG+9cppzUoB5es92c9NgPBzxVm5CmcL9o/lUzTVLFv2BU/LK 0m1NCszZW2Tbm173fZsTcIsSa3Y0gequRHOgzEIKoXD6uusBr1/TTO5c+e+gojJo5e36 NFFOBVI5NGYm6Ky4yW80f4cGOXKIfCQ+ICfRlmmupmBmChpZOMUbZ0WMiOH3k19RfAcO hTaop3StQqa0jiOR53blqE7dpC2ntFpyCZTi21PPOIaAOnYKtcuDrE8gpriHrdOHraD1 qE5h4Kvb0Qx9JQu8P3t/Nx8rTJGmdAXnjjHYkUhmea4xjsCp8uDgMy3OzIWBH3rS5U+g kDzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="1afT2NK/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d13si4230082plr.403.2019.02.05.14.32.28; Tue, 05 Feb 2019 14:32:44 -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=@kernel.org header.s=default header.b="1afT2NK/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727590AbfBEWcD (ORCPT + 99 others); Tue, 5 Feb 2019 17:32:03 -0500 Received: from mail.kernel.org ([198.145.29.99]:38950 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726606AbfBEWcD (ORCPT ); Tue, 5 Feb 2019 17:32:03 -0500 Received: from localhost (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 1117F2077B; Tue, 5 Feb 2019 22:32:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549405922; bh=wOvcA1CxjKZ6PmqOzv5o/xpdorhXhJKm4qvjhIcPK5w=; h=Subject:From:Cc:References:To:In-Reply-To:Date:From; b=1afT2NK/N9YwZXNohXM+mjjGybRKi0oPh3jNgDA9wb3p+k9Kq5GYj9iTVPoXBg7Sk bwOBXUTVSXl1yOejt+lTr6WYaWyIRrmPvUMMxvu1lYY4qG7x2OIV1n3k6iH3dfA2P4 JRW88q8cPFetzrdGLGHWMhxsF9xMPEXxmoK/PTlg= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v1 1/4] clk: qcom: smd: Add XO clock for MSM8998 From: Stephen Boyd Message-ID: <154940592132.169292.15811923452101983358@swboyd.mtv.corp.google.com> Cc: marc.w.gonzalez@free.fr, andy.gross@linaro.org, david.brown@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, georgi.djakov@linaro.org References: <1548866102-30224-1-git-send-email-jhugo@codeaurora.org> <1548866144-30265-1-git-send-email-jhugo@codeaurora.org> <154940408967.169292.15276398799323074789@swboyd.mtv.corp.google.com> <6e62a49a-fdb1-a087-fe83-e86aed969ae7@codeaurora.org> User-Agent: alot/0.8 To: Jeffrey Hugo , bjorn.andersson@linaro.org, mturquette@baylibre.com In-Reply-To: <6e62a49a-fdb1-a087-fe83-e86aed969ae7@codeaurora.org> Date: Tue, 05 Feb 2019 14:32:01 -0800 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Jeffrey Hugo (2019-02-05 14:15:16) > On 2/5/2019 3:01 PM, Stephen Boyd wrote: > > Quoting Jeffrey Hugo (2019-01-30 08:35:44) > >> The XO clock generally feeds into other clock controllers as the parent > >> for a lot of clock generators. > >> > >> Fixes: 6131dc81211c (clk: qcom: smd: Add support for MSM8998 rpm clock= s) > >> Signed-off-by: Jeffrey Hugo > >=20 > > We've historically left out the XO clk because it causes problems where > > the XO vote goes away during late init because nobody references it from > > the rest of the clk tree and also because RPM defers probe of the system > > and then the console blows up when it gets a clk that can't change rate. > > See commit 54823af9cd52 ("clk: qcom: Always add factor clock for xo > > clocks") for some more info on why we removed all the workarounds and > > stuff around here too. > >=20 > > So are you sure this is OK to do? > > =20 > >=20 >=20 > So, I've got pretty much everything as modules, and I haven't seen any=20 > issues. However let me take a look at the commit you point out and see. >=20 Is the name of the clk "xo_clk_src"? That isn't the name that we were expecting the XO clk from RPM to be called. You might have to look back at the history of the rpm clk driver on the list and see when Georgi dropped the XO clk from it and if there was anything wrong with that. I can't recall if this was discussed on the list or if he just told me in some hallway conversation at Connect.