Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp997199rdb; Fri, 1 Dec 2023 04:37:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IEssWccL4IPIZeqYUhCCWlJsCgKsTS7bXwBsCX6s0Yyg0a2Vd5EJv2/qqzo9ts376xBQRge X-Received: by 2002:a17:90a:1da:b0:280:2652:d45 with SMTP id 26-20020a17090a01da00b0028026520d45mr23874317pjd.20.1701434255744; Fri, 01 Dec 2023 04:37:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701434255; cv=none; d=google.com; s=arc-20160816; b=B4PUF7lDSbuL9lIfcwizBM56WJlYY3hWMWWlvJOO7oXrYmyaOCH6XXCC/0zXywwdED jyU7wlFq/i99NCqxU5Ekw0c8u9DTWl41IUZgMhsrKDXzBTi/voYFrvW3XytV4p0trRkb vDeXe9fKNLKkfHtAjk/tWGoUbwVTkBniH5uiqQ24yw3etgyJSu3lBS/av5fpTMFA1Ill VyLuH34qW0FGq3AMoQDzZ9Rp66g9rZkJ96hEWweuJwpgDO/g5T1htWsU4KA08HQW8l6u BXv8V4qERsgCWh4zLCytLJFHWQYfKQQCzLQovA3Y2N2qoXzcdeZCHPtAhMuAlAS0Z3Ai /6iQ== 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; bh=tXPW9Dcu68cCDxQ/GOtW0KbdJwfeYVzlPcW0UKAeiEY=; fh=IAPWe4TxxH++dWJMk9LsgoVT40HMQLG56K72otHPuF0=; b=H9VWphgZ9P0a0pBOpSbuPAr5hbGoGsE2nQUi4qieH82HL3JrEjNYH4IAmr7S7erbyX 0qhKR3JnG60F9Ao4Pc4mxC507RvcKiWMSbF9v25OHszOB5RrT0NzLfyfFn5WKh8i8BLD 4dqF+tQU455y8jPpLs7WvNW9BHc0+nj/KHNjvvJkoZZ6FoswSRjbA8PYFm63RceEU8wU 4mM4DqRb2WtQKoL0eSekRFjPnyl2Mu4EMBFUCy/iT03KCemBFFzwit3h1yvv4aavVdus XmLtwpTXVPQP6FClnP98AeT3in6gQBveS9+Y/otVwawCcaEocsKZDU6fR/L2Fngtgg3e Yv5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id mp11-20020a17090b190b00b00285ca86a26esi5588293pjb.179.2023.12.01.04.37.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 04:37:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id 301618061B54; Fri, 1 Dec 2023 04:37:24 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378866AbjLAMhO (ORCPT + 99 others); Fri, 1 Dec 2023 07:37:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378844AbjLAMhN (ORCPT ); Fri, 1 Dec 2023 07:37:13 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9283513E; Fri, 1 Dec 2023 04:37:19 -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 C0B9A1007; Fri, 1 Dec 2023 04:38:05 -0800 (PST) Received: from bogus (unknown [10.57.42.162]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0C17D3F5A1; Fri, 1 Dec 2023 04:37:16 -0800 (PST) Date: Fri, 1 Dec 2023 12:35:15 +0000 From: Sudeep Holla To: Anshuman Khandual Cc: linux-arm-kernel@lists.infradead.org, suzuki.poulose@arm.com, Lorenzo Pieralisi , Sudeep Holla , 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 Subject: Re: [PATCH V2 1/7] coresight: replicator: Move ACPI support from AMBA driver to platform driver Message-ID: <20231201123515.gntwvhsxd5nzojn7@bogus> References: <20231201062053.1268492-1-anshuman.khandual@arm.com> <20231201062053.1268492-2-anshuman.khandual@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231201062053.1268492-2-anshuman.khandual@arm.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Fri, 01 Dec 2023 04:37:24 -0800 (PST) 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 ? -- Regards, Sudeep