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 X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2DE02C4320E for ; Wed, 18 Aug 2021 10:38:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0DEEC6108E for ; Wed, 18 Aug 2021 10:38:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234633AbhHRKir (ORCPT ); Wed, 18 Aug 2021 06:38:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:47888 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230072AbhHRKig (ORCPT ); Wed, 18 Aug 2021 06:38:36 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D337060EB5; Wed, 18 Aug 2021 10:38:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629283081; bh=c82u97ew4Crm1pKl6m89vOH9xM0DBu4AvuwoDSaTMtA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=I6nOA7Sal3sT3pfQiX+r63/k9sY5wKVY8rL2fejingbEPdAhn0kVdtJqn9qDBmyrU JLLKYdF23tycwwAcOhDxFvsoMZGfF6Y6zvIGhJgK45axQB2bdtnG8s4Wvd+Bi+b5Rw TrmoKiCJB3kgKfHNmpY1WzUNVjK4dznUsXIAk+MpeyNuQ1/8r2go3r9NBfoFojIClp tE+VFpVb9n6bjaMsq8nAwLzUN9VAJuwBA1Yc4Y81opAnnd0wzcsNK5rsGr9PzkMRST YuGwaxJMo6DVj0UZS2tj8fMtHI4w9otrkOe00402wkr0q2Icq4yfNOIhdLyBw8hkMo +pHuGvmP5fTJg== Date: Wed, 18 Aug 2021 16:07:56 +0530 From: Vinod Koul To: Mauro Carvalho Chehab Cc: Bjorn Helgaas , linuxarm@huawei.com, mauro.chehab@huawei.com, Greg Kroah-Hartman , Kishon Vijay Abraham I , Manivannan Sadhasivam , Rob Herring , linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org Subject: Re: [PATCH v11 01/11] phy: HiSilicon: Add driver for Kirin 970 PCIe PHY Message-ID: References: <7788c5ead6d6f5a6f9e5faaee4460eb2149967c4.1628755058.git.mchehab+huawei@kernel.org> <20210818110123.33eba838@coco.lan> <20210818123037.2adef2de@coco.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210818123037.2adef2de@coco.lan> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18-08-21, 12:30, Mauro Carvalho Chehab wrote: > Em Wed, 18 Aug 2021 15:40:27 +0530 > Vinod Koul escreveu: > > Okay sounds fair to me, I think fixme should be left but the c99 style > > code commented out can be removed > > Agreed. I'll replace it with: > > + /* > + * FIXME: The enabled clocks should be disabled here by calling > + * kirin_pcie_clk_ctrl(phy, false); > + * However, some clocks used at Kirin 970 should be marked as > + * CLK_IS_CRITICAL at clk-hi3670 driver, as powering such clocks off > + * cause an Asynchronous SError interrupt, which produces panic(). > + * While clk-hi3670 is not fixed, we cannot risk disabling clocks here. > + */ sounds good! -- ~Vinod