Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1518525ybt; Sat, 11 Jul 2020 12:51:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzVZ2a9RH3jviZ24WZCyc7f2c2zVtD6r+K1alKVAl8NPr8H7iMFR8GBFd7yQj9sUN5nBpuL X-Received: by 2002:a05:6402:2064:: with SMTP id bd4mr81529768edb.180.1594497105294; Sat, 11 Jul 2020 12:51:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594497105; cv=none; d=google.com; s=arc-20160816; b=CcSjyfA2r4iYz4IRAk9JP3fY9Q+lDXAKS4M9L1AZAq4HFnpIFGm7cgZfZVI+cVcauO ZP0KVpMmbsmTuHGU8BiqcyTVSchmgruzgRR9HW7ueMCQd0Ql2TZRULS/avqiTFMkNbS4 iAkV3f/jB7AFd6y9XRo9lhgB117lHuLzGX57TlkesQzgMf2u5VPg7hfSrIhzOiORIM/X 6OvT3J9kalXIRXfa17xTozgjKAvgXfZIDu1ciTWiZu7jBaOL5iu6glQNkOPEDsi2wyyW 3lBFyKB4+We9i/KzqRPtmEiQgLPHN5BvyVlgJfZVOVeY3bTxKsmmNG6Sl3dVK8FFQpRw vXvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=VoSY9o0RP9wz1n1HlqTdIGycNdQ3hE09iYAJAJNhPFo=; b=BgUc5g1megFr/8o3DlHecbE5pCpY1+p88Ngp6FLWEZ5LCNL4MYqpEch5FjWGcH4S2o IzhCYC2DxE5aPAw76vW+4cNCEAAPCwbkbIXNETkHY9h552RVFJ+9MhcH8des3v/iqUZ3 fMJFsvrpwDRd4redC3PXcPSCeOp3eC1fazCESJ76Itn3QGUkn+3nh9AjRnzPNUtAUkL+ eKHhYi42tiV0YtCG/U8sy4rwTx6uaRZcC8XsGwXuQ7z5lJyF+joisqAOekhmETBQ3AX6 qh8DOqcSOySMFiJd/wg8XhfOWydTrbcE1HsB0eRD/twGdYIxjFs9Vk94FDE52QNiG8Ut j3DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kuzkh7Dy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a14si5988502eds.487.2020.07.11.12.51.22; Sat, 11 Jul 2020 12:51:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kuzkh7Dy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727074AbgGKTt7 (ORCPT + 99 others); Sat, 11 Jul 2020 15:49:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726963AbgGKTt6 (ORCPT ); Sat, 11 Jul 2020 15:49:58 -0400 Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB67FC08E6DC for ; Sat, 11 Jul 2020 12:49:58 -0700 (PDT) Received: by mail-pj1-x1043.google.com with SMTP id cm21so4037280pjb.3 for ; Sat, 11 Jul 2020 12:49:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=VoSY9o0RP9wz1n1HlqTdIGycNdQ3hE09iYAJAJNhPFo=; b=kuzkh7Dyi7gvfKHgz0jDxv9ItbDA51VPP8+B5RL67FMOAvkA7sCXY4mkhOD+fGVr1r mv8MlJQnOxtcff2aUtBQEqxn4dYEW2qXEyT4uq7I40BtRfTGXnkfS6hCzl+7Hy8b1nS5 B4aP39WQ6DgfKtxK8Hs02ijiAFb6wGHnwJlyMEfxhfKcYWssU3ZkvshdRuk/2no0gAWW rVUvCjAAEOE/RxT5XeZFwnd43ey7L3prJc6BmWh8F3ZXqohoPl6dO+gMg4REiJHoT5ld 7iXIFj86iz5L67nqqOwmbrczbF1jGkG+fsiiQHkDFdBHtlNd1a7loILLtxTwGUVlSGyu 97FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=VoSY9o0RP9wz1n1HlqTdIGycNdQ3hE09iYAJAJNhPFo=; b=kk8y0QQptmVBDbW7J2vL9MorYNxc7y++XskiauYZ09z9wroOPQAdhrjmSCZJdRwvEE FID0dh+NM5zBbpsJRN4LkLyratdjds+Uj00lOj9hHfz12LkNzB3VeLIoZnVRC/uKwapj wKVd9AeCp7BuTYNbyCGgYERhI6NKAYW+VPqBBrph5OhP7eaai16rTImdcKcNi3Uxv6bo E8c1FIzNkbWeMW2vtE1Zv/j5Go0PG6NWXKXH2s2oTuOVIWE9m1SIwR4xQQt5FDemQ9ym wz0FzFkhyUbYrt9R6YnHv8KDVcepxwrVP+3iSZaoSub9yyyvyTS1Qex6PG5jp9sRmVe5 jVHg== X-Gm-Message-State: AOAM531UZAPPPC3M1EeOR19SqYN/M46UARKCHU4pMyEPojB6Z1U0ski1 EhD6Lp8AdOmb6OUCgu/LZVPIvQ== X-Received: by 2002:a17:902:d352:: with SMTP id l18mr21833035plk.56.1594496998213; Sat, 11 Jul 2020 12:49:58 -0700 (PDT) Received: from builder.lan (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id b4sm9665353pfo.137.2020.07.11.12.49.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Jul 2020 12:49:57 -0700 (PDT) Date: Sat, 11 Jul 2020 12:47:46 -0700 From: Bjorn Andersson To: Stephen Boyd Cc: Konrad Dybcio , skrzynka@konradybcio.pl, Andy Gross , Michael Turquette , Rob Herring , linux-arm-msm , linux-clk@vger.kernel.org, DTML , Linux Kernel Mailing List Subject: Re: [PATCH 1/1] clk: qcom: smd: Add support for MSM8992/4 rpm clocks Message-ID: <20200711194746.GA388985@builder.lan> References: <20200623230018.303776-1-konradybcio@gmail.com> <159303797640.62212.15039388585433005717@swboyd.mtv.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <159303797640.62212.15039388585433005717@swboyd.mtv.corp.google.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 24 Jun 15:32 PDT 2020, Stephen Boyd wrote: > Quoting Konrad Dybcio (2020-06-24 08:09:18) > > I should also note that for quite some time a hack [1] > > has been needed on some platforms for the RPMCC to register. > > > > This includes 8992/94, 8956/76 and possibly many more. > > > > With that commit, RPMCC registers fine. > > > > What happens if that patch isn't applied? Does the system crash? Because > I'd rather not merge a patch in clk tree that causes the system to fail > to boot. The state machine code in the SMD implementation finds the RPM channel, but it's in a state that indicates that the remote side is still closing/cleaning up from when the bootloader had it open. The result is that we never probe the RPM driver. I merged a patch that would cause the logic here to be a little bit more aggressive/optimistic, but that had to be reverted because it prevented the modem from coming up cleanly after a crash. And I unfortunately still don't have any hardware that manifest this problem that I can debug this on myself. But I think it's fine to merge the rpmcc patch (which I see you did). Thanks, Bjorn