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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 00BEBC4332F for ; Fri, 14 Oct 2022 10:57:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TLbN0lYtTENpa6CUIFQXcndceEdCXeaPfzpFNSjs7UY=; b=VD36Zu6mw1yYP/ t9ket6B6k82V/2/z9eDyvnC9bAJieMe4jRpSIPhpxHxaRnJ18wOn4G9FaHsIisEAEbBgKhYhTBKEd eu4qP5CjrNN34zH4GMrI6UcxrEy77zJEtSiEAOQohxkkIQqPnI1Cw64ttswWC9Tc66IcQuW/oUhsS D5MITqH4y84yScosHPzLAxvfeS9nBWaqm/F3lg7Q8dpRH8Sbp77BXVoSA98NSOio0BbEe3Mu81vEY PFrezOLbVwhvyH9dKYfdBoErupfkBAx3qiW6WeqanAgPe2jOaqsVQtPEHcjS5XJ64ayg0EW///CgN GTBiOqUa5uiDvWUYz17A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ojIMD-00ESTa-QI; Fri, 14 Oct 2022 10:56:01 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ojIMA-00EST2-E0 for linux-arm-kernel@lists.infradead.org; Fri, 14 Oct 2022 10:56:00 +0000 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 899DE13D5; Fri, 14 Oct 2022 03:56:02 -0700 (PDT) Received: from bogus (unknown [10.57.35.221]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8DD4B3F792; Fri, 14 Oct 2022 03:55:53 -0700 (PDT) Date: Fri, 14 Oct 2022 11:55:50 +0100 From: Sudeep Holla To: "Rafael J. Wysocki" Cc: Besar Wicaksono , lorenzo.pieralisi@arm.com, lenb@kernel.org, catalin.marinas@arm.com, will@kernel.org, guohanjun@huawei.com, linux-tegra@vger.kernel.org, treding@nvidia.com, jonathanh@nvidia.com, vsethi@nvidia.com, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2] ACPI: ARM Performance Monitoring Unit Table (APMT) initial support Message-ID: <20221014105550.zf7ufboxid3jryrz@bogus> References: <20220929002834.32664-1-bwicaksono@nvidia.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221014_035558_547260_855A3964 X-CRM114-Status: GOOD ( 17.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Sep 30, 2022 at 07:46:08PM +0200, Rafael J. Wysocki wrote: > On Thu, Sep 29, 2022 at 2:29 AM Besar Wicaksono wrote: > > > > ARM Performance Monitoring Unit Table describes the properties of PMU > > support in ARM-based system. The APMT table contains a list of nodes, > > each represents a PMU in the system that conforms to ARM CoreSight PMU > > architecture. The properties of each node include information required > > to access the PMU (e.g. MMIO base address, interrupt number) and also > > identification. For more detailed information, please refer to the > > specification below: > > * APMT: https://developer.arm.com/documentation/den0117/latest > > * ARM Coresight PMU: > > https://developer.arm.com/documentation/ihi0091/latest > > > > The initial support adds the detection of APMT table and generic > > infrastructure to create platform devices for ARM CoreSight PMUs. > > Similar to IORT the root pointer of APMT is preserved during runtime > > and each PMU platform device is given a pointer to the corresponding > > APMT node. > > > > Signed-off-by: Besar Wicaksono > > Acked-by: Rafael J. Wysocki > > for the change in bus.c, but as a side note, it would be good to move > all of the ARM-specific initialization into one place, so it is not > necessary to touch bus.c every time a new piece of it is added. > Agreed, I will look into that and move them all under single acpi_arm_init() or something. -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel