Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2486686rdb; Sun, 3 Dec 2023 20:27:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IF6txMUl+CMFnL0CEl16CoVtG5JrBoDfxOsU1tRfm8fA4e6Kc8pSb/lP1h8TFVZx0GfO8Ye X-Received: by 2002:a5b:4c1:0:b0:db7:dacf:59ce with SMTP id u1-20020a5b04c1000000b00db7dacf59cemr1713689ybp.66.1701664038838; Sun, 03 Dec 2023 20:27:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701664038; cv=none; d=google.com; s=arc-20160816; b=EZvSTpHtB3BY587M206AoTH81l8fbnJ4BgrunSveZUQSVy+ugVwVReb0U8+ZFXG01j Ubyse6PAkR47SqivzdbpBd8Z9fD95XPfE26oDX2VFFQo72Njm+aihcH73/+UFwGSwHzZ ky7SKfIEVqirHABo8gHWWWcEuY5SJrFZL0MxM/oYvCZ/6lIYDW5wqWH64U+z/Rft7MJG q/iXAm0gy/ZbhZgU8fIvW9SCEbIRSsx4rVuewJWjlguTi4tmqEyxnGRt8Ua7x2FFyD+g W+e934ao2234pTZTdYb/1cnydLzeVwM11nHFCf6nyv5/TphUOo5wGVSszf8pxP38qSJf pCUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=bJ4PTWbEFMYXRtyTwEJ9LwvnXSu3ZoJI+JSTaC6PmzM=; fh=8v+Nj90+Q4zILiQHi69rGC8JqoZOGfGaOswWVzMos5U=; b=DySQIEr72YPKCSUTYeTN0hzC1CoTPWHqkKCIPc2QzomKeIr0lWRWUVTFf6NoOiaEbA NijmYM9BYnLo6sPx5dwsHxqSZbjmZ/DsscKVKbk4DS+bSslP5+GGPO0hl4uTbMzE5+L0 A65hKCS3LLo7+6AgZ0D0lrZe4rk+vDwzdL8YvltmdessY6r5MQuRkjAfRY4tpl1DOlLW Le5yKzHa2lAm9LA78gn8aduLbnJ/GATlgJG3hmQlbBQKgDg6JMsqHfn8B+Ms2P2HVVXF Z51TwCvqpMHn/PDCb6QIhb6VkwmI8dK4APP3idvVBXUr9WIvNSnh1iUAuNSK1oKPdjic Bu0Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id f6-20020a631f06000000b005c678d5eecdsi2159458pgf.163.2023.12.03.20.27.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Dec 2023 20:27:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 7EAF0807E466; Sun, 3 Dec 2023 20:27:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229869AbjLDE0r (ORCPT + 99 others); Sun, 3 Dec 2023 23:26:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229510AbjLDE0q (ORCPT ); Sun, 3 Dec 2023 23:26:46 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 41506DF; Sun, 3 Dec 2023 20:26:52 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 265A1165C; Sun, 3 Dec 2023 20:27:39 -0800 (PST) Received: from [10.162.41.8] (a077893.blr.arm.com [10.162.41.8]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 63D513F762; Sun, 3 Dec 2023 20:26:48 -0800 (PST) Message-ID: <58882cab-89ce-4554-aee4-24e70d82fc09@arm.com> Date: Mon, 4 Dec 2023 09:56:45 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V2 1/7] coresight: replicator: Move ACPI support from AMBA driver to platform driver Content-Language: en-US To: Sudeep Holla Cc: linux-arm-kernel@lists.infradead.org, suzuki.poulose@arm.com, Lorenzo Pieralisi , Mike Leach , James Clark , Maxime Coquelin , Alexandre Torgue , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, coresight@lists.linaro.org, linux-stm32@st-md-mailman.stormreply.com References: <20231201062053.1268492-1-anshuman.khandual@arm.com> <20231201062053.1268492-2-anshuman.khandual@arm.com> <20231201123515.gntwvhsxd5nzojn7@bogus> From: Anshuman Khandual In-Reply-To: <20231201123515.gntwvhsxd5nzojn7@bogus> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sun, 03 Dec 2023 20:27:16 -0800 (PST) On 12/1/23 18:05, Sudeep Holla wrote: > On Fri, Dec 01, 2023 at 11:50:47AM +0530, Anshuman Khandual wrote: >> Add support for the dynamic replicator device in the platform driver, which >> can then be used on ACPI based platforms. This change would now allow >> runtime power management for repliacator devices on ACPI based systems. >> >> The driver would try to enable the APB clock if available. Also, rename the >> code to reflect the fact that it now handles both static and dynamic >> replicators. >> >> Cc: Lorenzo Pieralisi >> Cc: Sudeep Holla > > Except the minor nit below which may apply also for few other patches > in the series > > Acked-by: Sudeep Holla # For ACPI related changes > Tested-by: Sudeep Holla # Boot and driver probe only > > [...] > >> diff --git a/drivers/hwtracing/coresight/coresight-replicator.c b/drivers/hwtracing/coresight/coresight-replicator.c >> index b6be73034996..64de0bee02ec 100644 >> --- a/drivers/hwtracing/coresight/coresight-replicator.c >> +++ b/drivers/hwtracing/coresight/coresight-replicator.c >> @@ -38,6 +38,7 @@ DEFINE_CORESIGHT_DEVLIST(replicator_devs, "replicator"); >> struct replicator_drvdata { >> void __iomem *base; >> struct clk *atclk; >> + struct clk *pclk; > > [minor nit] Perhaps can be documented as well ? Sure, will add the following comment above the structure. @pclk: optional clock for the core parts of the replicator.