Message ID | 20230801094052.750416-1-anshuman.khandual@arm.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp2557824vqg; Tue, 1 Aug 2023 02:57:37 -0700 (PDT) X-Google-Smtp-Source: APBJJlFoMBBsHo2Clv7NOlONaeh/rOKEmpqaPwWmDqGw68i4pC9Hht0ZZoGcuImN6B1XxCGJWPmY X-Received: by 2002:a05:6402:26ce:b0:522:3ad2:33f5 with SMTP id x14-20020a05640226ce00b005223ad233f5mr9720527edd.2.1690883856825; Tue, 01 Aug 2023 02:57:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690883856; cv=none; d=google.com; s=arc-20160816; b=hg7QZPsgTk245oijFNAmDFEYl2G14DRW4P7yEeXuXwtWxlSyyVY7bcuIiPSsfcyGxX x2KbKm7raOQO/nLOlJ4UZeZZv2hz3QGDce35ypKaNULQoA0j3hfJgznlD8Wa0uryszs7 iv0jU0YOImyxXjisDaeqoOxW4qMaq/O+7BVrNr2RCfWO3YAZwzJuBykdVm0vlBhSNn6s ESo+4GZCQaJQXQzWlcclATHuOF7BZRbSpOc8ma0t2VJ5n3a2ze09vlKK4FzTGTtlM/e7 sOZqngwuamAMU++NJFsxjKfOex+tESJHtaXlbi1TjV3PQN0gxiioSCim5karfxsWlsQl m+5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=759v0tcUuRP6/2j7DhCqL5AcWiotrZqtSDQIUGvpLys=; fh=PK7qZE2l3RufuWL/yvUO8bu8mrcIpscTWlY+prmDsuM=; b=u5tPDfdB15dCbys/aRBDDaPKKh7SnlYiVxb6Afr4rWXlctMHWCUTuJx5nfAZbFI8AU wBtQFYVQH7W7YHG/G0ETcZNlV/imlgLMcbGxXZAVRvIA5fk9za/wvPnq2GwA4xKKVX3E rQ7Jl+TRgVpeRGRSeQ2ylB4xJbM872vOht+br9yCsji9eSrpBP0L8aKTNRfLyU++vQXP ElZd5FXi55oz5+Q3tKhu3LTJx1Pi5J5TLuRPrZv8crLNmYIXBh6j/7cfQcq56idpmum8 u/60i6xulxciVIqafqwd++5WEQlJpaPvVd3bo8Z0xT1n6Ka8omARcatut8cAud9G1eZF qJxg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n26-20020a056402515a00b0052255161ea1si7907931edd.45.2023.08.01.02.57.12; Tue, 01 Aug 2023 02:57:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233426AbjHAJnr (ORCPT <rfc822;cambridge8321@gmail.com> + 99 others); Tue, 1 Aug 2023 05:43:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233404AbjHAJn0 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 1 Aug 2023 05:43:26 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9B5DD5FF0 for <linux-kernel@vger.kernel.org>; Tue, 1 Aug 2023 02:41:09 -0700 (PDT) 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 18643D75; Tue, 1 Aug 2023 02:41:49 -0700 (PDT) Received: from a077893.arm.com (unknown [10.163.53.114]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 16DC03F5A1; Tue, 1 Aug 2023 02:41:00 -0700 (PDT) From: Anshuman Khandual <anshuman.khandual@arm.com> To: linux-arm-kernel@lists.infradead.org, suzuki.poulose@arm.com Cc: Anshuman Khandual <anshuman.khandual@arm.com>, Sami Mujawar <sami.mujawar@arm.com>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Mike Leach <mike.leach@linaro.org>, Leo Yan <leo.yan@linaro.org>, Alexander Shishkin <alexander.shishkin@linux.intel.com>, James Clark <james.clark@arm.com>, coresight@lists.linaro.org, linux-kernel@vger.kernel.org Subject: [PATCH V2 0/4] coresight: trbe: Enable ACPI based devices Date: Tue, 1 Aug 2023 15:10:48 +0530 Message-Id: <20230801094052.750416-1-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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, URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773020230865828330 X-GMAIL-MSGID: 1773020230865828330 |
Series |
coresight: trbe: Enable ACPI based devices
|
|
Message
Anshuman Khandual
Aug. 1, 2023, 9:40 a.m. UTC
This series enables detection of ACPI based TRBE devices via a stand alone purpose built representative platform device. But as a pre-requisite this changes coresight_platform_data structure assignment for the TRBE device. This series is based on v6.5-rc4 kernel, is also dependent on the following EDK2 changes posted earlier by Sami. https://edk2.groups.io/g/devel/message/107239 https://edk2.groups.io/g/devel/message/107241 Changes in V2: - Refactored arm_spe_acpi_register_device() in a separate patch - Renamed trbe_acpi_resources as trbe_resources - Renamed trbe_acpi_dev as trbe_dev Changes in V1: https://lore.kernel.org/all/20230728112733.359620-1-anshuman.khandual@arm.com/ Cc: Sami Mujawar <sami.mujawar@arm.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Suzuki K Poulose <suzuki.poulose@arm.com> Cc: Mike Leach <mike.leach@linaro.org> Cc: Leo Yan <leo.yan@linaro.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: James Clark <james.clark@arm.com> Cc: coresight@lists.linaro.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Anshuman Khandual (4): arm_pmu: acpi: Refactor arm_spe_acpi_register_device() arm_pmu: acpi: Add a representative platform device for TRBE coresight: trbe: Add a representative coresight_platform_data for TRBE coresight: trbe: Enable ACPI based TRBE devices arch/arm64/include/asm/acpi.h | 3 + drivers/hwtracing/coresight/coresight-trbe.c | 15 +- drivers/hwtracing/coresight/coresight-trbe.h | 1 + drivers/perf/arm_pmu_acpi.c | 145 ++++++++++++++----- include/linux/perf/arm_pmu.h | 1 + 5 files changed, 122 insertions(+), 43 deletions(-)
Comments
On Tue, Aug 01, 2023 at 03:10:48PM +0530, Anshuman Khandual wrote: > This series enables detection of ACPI based TRBE devices via a stand alone > purpose built representative platform device. But as a pre-requisite this > changes coresight_platform_data structure assignment for the TRBE device. > > This series is based on v6.5-rc4 kernel, is also dependent on the following > EDK2 changes posted earlier by Sami. > > https://edk2.groups.io/g/devel/message/107239 > https://edk2.groups.io/g/devel/message/107241 > > Changes in V2: > > - Refactored arm_spe_acpi_register_device() in a separate patch > - Renamed trbe_acpi_resources as trbe_resources > - Renamed trbe_acpi_dev as trbe_dev > > Changes in V1: > > https://lore.kernel.org/all/20230728112733.359620-1-anshuman.khandual@arm.com/ > > Cc: Sami Mujawar <sami.mujawar@arm.com> > Cc: Catalin Marinas <catalin.marinas@arm.com> > Cc: Will Deacon <will@kernel.org> > Cc: Mark Rutland <mark.rutland@arm.com> > Cc: Suzuki K Poulose <suzuki.poulose@arm.com> > Cc: Mike Leach <mike.leach@linaro.org> > Cc: Leo Yan <leo.yan@linaro.org> > Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> > Cc: James Clark <james.clark@arm.com> > Cc: coresight@lists.linaro.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-kernel@vger.kernel.org FYI: if you pass '--cc-cover' to git send-email, it will CC all these folks on the series, which I think is better when you're reviewing stuff (I didn't receive patches 3 and 4). Will
On 8/1/23 20:22, Will Deacon wrote: > On Tue, Aug 01, 2023 at 03:10:48PM +0530, Anshuman Khandual wrote: >> This series enables detection of ACPI based TRBE devices via a stand alone >> purpose built representative platform device. But as a pre-requisite this >> changes coresight_platform_data structure assignment for the TRBE device. >> >> This series is based on v6.5-rc4 kernel, is also dependent on the following >> EDK2 changes posted earlier by Sami. >> >> https://edk2.groups.io/g/devel/message/107239 >> https://edk2.groups.io/g/devel/message/107241 >> >> Changes in V2: >> >> - Refactored arm_spe_acpi_register_device() in a separate patch >> - Renamed trbe_acpi_resources as trbe_resources >> - Renamed trbe_acpi_dev as trbe_dev >> >> Changes in V1: >> >> https://lore.kernel.org/all/20230728112733.359620-1-anshuman.khandual@arm.com/ >> >> Cc: Sami Mujawar <sami.mujawar@arm.com> >> Cc: Catalin Marinas <catalin.marinas@arm.com> >> Cc: Will Deacon <will@kernel.org> >> Cc: Mark Rutland <mark.rutland@arm.com> >> Cc: Suzuki K Poulose <suzuki.poulose@arm.com> >> Cc: Mike Leach <mike.leach@linaro.org> >> Cc: Leo Yan <leo.yan@linaro.org> >> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> >> Cc: James Clark <james.clark@arm.com> >> Cc: coresight@lists.linaro.org >> Cc: linux-arm-kernel@lists.infradead.org >> Cc: linux-kernel@vger.kernel.org > > FYI: if you pass '--cc-cover' to git send-email, it will CC all these > folks on the series, which I think is better when you're reviewing stuff > (I didn't receive patches 3 and 4). My bad, forgot --cc-cover on the command line.