Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp335083pxb; Wed, 18 Aug 2021 03:39:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybmUKK/y/0elG4HEhmS1GtKiuuKsriHtXew63VsUg6B77WvqMjfRyn2lKeJJjg8Dik0CRw X-Received: by 2002:a02:29c1:: with SMTP id p184mr7409000jap.32.1629283178037; Wed, 18 Aug 2021 03:39:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629283178; cv=none; d=google.com; s=arc-20160816; b=OAdSjiRnkbayXOfZwAW+G1fqrb56a8u4Zjg5nlfE6IYN+FPN6KEs3xST1OpBrHwtKS H4omhwawXxzRIhKYPhAOlYn+ZIA9qyCvvQotLNX4HVVFkzW+dhfua0tOMl/oLE0357Wu suNK0IMhfOIyAsg8txMJFf7xvsb1mnQK71lCUmlNhjbnb6s42u8nj2/QaHjQnfdqMCQT stUBvv4M6k9dI3yFfSk3ZAx8Rqe6UNPA9IpQtTfHO2tp8CsX/K+6B/PYM/nRn46GQeyE XwItoYvnLk5fwqRyCdwzWuqLVNRQoZKWv9oCoWjwPng01XQuFswiSRqEE2JJsJtuUuSc WLhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Um+yr1mFKT12u3P3VhQH+WtnGiTvn1MkOZsKvhOkGzk=; b=XHnJpXbj2ORlQZaWegWPPu8bA3IwtoaTXQzz6uy0X/N07ddAnz7NH8FgJUUdR2uECT oAGELTwMzOMovt3ymZN1A2j6pnExXY1czd2zHOddLO2IiC7cJusqNeWvOSB0hBKMLNKV LyT4fOEhEn1hp0P3fJa2yJfbiVnKb+HtU2lMlY3L3X0wHBi1c27Lc6chSrjKm4gDbm6M nrn/eHzQv2yv7uip01qJ8b8qBPwXlwzZHP/PiU8ZI9JzVFbB4crTio+B0wjSODYgcOeR qm/9Cf0y4s1hobUt+EzwbHClFOHYWSARlaB2HhrJIVLbbuLS3JJsWVDNrCe6T2YvIENM Gb6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=I6nOA7Sa; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n8si5926525jat.62.2021.08.18.03.39.26; Wed, 18 Aug 2021 03:39:38 -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=@kernel.org header.s=k20201202 header.b=I6nOA7Sa; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234439AbhHRKij (ORCPT + 99 others); Wed, 18 Aug 2021 06:38:39 -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