Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1094428imu; Wed, 9 Jan 2019 11:31:08 -0800 (PST) X-Google-Smtp-Source: ALg8bN6f/IR/gFwGp/Mt+sEe+yP+zHLKRZ+DbAslfkbWvgtCkFMdMTx3gPkL1YzivwFZJKYLPb+L X-Received: by 2002:a63:e615:: with SMTP id g21mr6695788pgh.290.1547062268566; Wed, 09 Jan 2019 11:31:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547062268; cv=none; d=google.com; s=arc-20160816; b=QP0Adh6lkE670eA/1Tf0dJwPNsfaZOwPc7+MIzavSHjru+5CHCgQ9M/Xtt5QWJBO1K dCAaboDZZdvjXN8WzXLDQIsrj3trto9EI3o2QX2J6NzMBR6/XVfoCaSTKgeTwZNOAqv4 O/OLQ120JU5uJvr0SaVQh23Lo2uLn6kMRbZOXYRn2B+DCdINsHBtg+qtONpUQzTJAtEM ZtRiPO6SF79PLG/pluBm0mBNTvwGUCvQPE8KeTMpF+ZKCgKb+34RIKy4xXfyDgMf5dFR rNC7I8PKGVHu7E9csZETVqSjwo4oc5eK4wJUMI4AcSWPrIuHmU/LtGx5BK/qkP9AFqJL 2L4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature; bh=RKPshhc+omfJYCtuXPuAya9KkK9i0EWZU4C1maNrLic=; b=G/ED+oxY1nDyjD8br3qSklHaUi4GST7H4ttSPKyiklPQu7Llww7A/cwRcXkBe/EPMo s4/WQR7DTiQXbAHWY1mQmvfWpxmbu25qXPDfmE18yKEvnvFUVFbOVIEXFOTdfBePqC7d iTbeUAwAnBSbKK+OszM7/cQQUBMCw72zIHP3Sibe5XA4npoX6Vb6AwED8sfsyTx8TuZA siRwZ2NAGGgU8lDWNJyatYpzSqRHgeYCXED8pdGwMX1hwWJ6oU4dJivpi1851N163Lzt nZuCmUVdESS/zW+Wa4ialu804i1jymDAQW3UW5xIVxS5Blosip1H9HsBBeHcs29ejFVc aowQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=AscLUH9m; dkim=pass header.i=@codeaurora.org header.s=default header.b=AFkn4l0i; 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 k26si9224816pgb.72.2019.01.09.11.30.53; Wed, 09 Jan 2019 11:31: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=AscLUH9m; dkim=pass header.i=@codeaurora.org header.s=default header.b=AFkn4l0i; 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 S1728462AbfAIT2t (ORCPT + 99 others); Wed, 9 Jan 2019 14:28:49 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:48246 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727826AbfAIT2t (ORCPT ); Wed, 9 Jan 2019 14:28:49 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 0C74A609CD; Wed, 9 Jan 2019 19:28:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1547062128; bh=gz/RW69cV/3MnbCSx5rOIAbS706C6JlpwqF6HQBxYuo=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=AscLUH9mJgr+CwKmm1KVCtVh07gA6UHm2Mo64BADNQ8fUofzYzjC3usEiOBNxVqvb ckwtwfSuaCcSKZk7mXhQ5iP+l4WD5gZ3CXWji/3AJFGghhA7m7ehL0XC2yIoXjI/7d jkf3rCj6wknMGUl9pkVemhYP/G+E5kYyfmMlDCX8= 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 [10.226.60.81] (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jhugo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id CC7BF609D1; Wed, 9 Jan 2019 19:28:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1547062127; bh=gz/RW69cV/3MnbCSx5rOIAbS706C6JlpwqF6HQBxYuo=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=AFkn4l0irQrsCXk6Bscce1BxbBeZbzc3uREd4NLHaUsnXxHekmjMzvP76OKppaaH5 1KIXnse6maog9VYtTKjKJPm8hYTp3OUguWdKuTLOV1mzTLrOz8XRn0Utr9OOuxd+Ql hVtMQqFSEU/AoLj8JpAxuaSS/1yW80+KXkV9EGAc= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org CC7BF609D1 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 Subject: Re: [PATCH v1 2/6] clk: qcom: Skip halt checks on gcc_usb3_phy_pipe_clk for 8998 To: Stephen Boyd , mturquette@baylibre.com Cc: bjorn.andersson@linaro.org, andy.gross@linaro.org, david.brown@linaro.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, kishon@ti.com, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, gregkh@linuxfoundation.org, balbi@kernel.org, linux-usb@vger.kernel.org References: <1546620615-2389-1-git-send-email-jhugo@codeaurora.org> <154706034090.15366.11081837995313995010@swboyd.mtv.corp.google.com> From: Jeffrey Hugo Message-ID: Date: Wed, 9 Jan 2019 12:28:44 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <154706034090.15366.11081837995313995010@swboyd.mtv.corp.google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/9/2019 11:59 AM, Stephen Boyd wrote: > Quoting Jeffrey Hugo (2019-01-04 08:50:15) >> The gcc_usb3_phy_pipe_clk is generated by the phy, but is also used by >> the phy during init. The clock needs to be enabled during the init >> sequence, but may not be fully active until after the init sequence is >> complete. This causes a catch-22 if the clock status is checked during >> enable. As a result, skip the checks to avoid the troubling situation. > > I will ask again, is anyone going to fix this in the phy driver? In > theory it isn't needed if the phy driver can do things differently, but > last time I checked I was told that the phy team said it had to be done > this way. > Interesting. I was unaware of past discussion(s) on this. Thank you for taking the change, but I'll try having a look to see if maybe I can prove your theory going forward. -- Jeffrey Hugo 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.