Message ID | 20230201144536.593367-1-suzuki.poulose@arm.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=1q1ol1NA; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4P6Psj11LLz23j9 for <incoming-imx@patchwork.ozlabs.org>; Thu, 2 Feb 2023 01:47:53 +1100 (AEDT) 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:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=gq+/5UkNLs/QKlUT8AckcJ83cSTT4NzybMJ3D7ZfEIg=; b=1q1ol1NA2/o+V8 kU7W0yhbAROL6uAMStxIkzTghKafyOmWRNwym7mC5rOogL/sPXG+XAyqRHZlzFAZGucWk2GrZ2p5x wiFOkYU9ch0HLmGjVkzN2+JYKqxEucemXliyPlsL1Ai5fQutncLXgl1JvRvicvm0C4kAh9EueEVBS sfWPLbbRVXUlrI+dQrtituLQ2S0bTi8Ru6k8U1/BQAv2fzvNVZcGz8At4aCojT4TJqbTPgurZrkQx 2FbUXjNTInvUwstQJN7mLQvx+mGtAPuYuAZAxMI5mzJSXi6bU+6uZchVEB4J+xBYUeX9T7iEvGSM+ xybMHy+yGN/pB/VaewIA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNEOa-00CUQ8-EQ; Wed, 01 Feb 2023 14:47:32 +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 1pNEMt-00CTbi-QC for linux-arm-kernel@lists.infradead.org; Wed, 01 Feb 2023 14:45:50 +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 72BC3C14; Wed, 1 Feb 2023 06:46:25 -0800 (PST) Received: from ewhatever.cambridge.arm.com (ewhatever.cambridge.arm.com [10.1.197.1]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 5885A3F64C; Wed, 1 Feb 2023 06:45:42 -0800 (PST) From: Suzuki K Poulose <suzuki.poulose@arm.com> To: gregkh@linuxfoundation.org Cc: leo.yan@linaro.org, mike.leach@linaro.org, james.clark@arm.com, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, suzuki.poulose@arm.com Subject: [GIT PULL] coresight: Updates for v6.3 Date: Wed, 1 Feb 2023 14:45:36 +0000 Message-Id: <20230201144536.593367-1-suzuki.poulose@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230201_064547_974112_C2CEF458 X-CRM114-Status: GOOD ( 16.38 ) X-Spam-Score: -2.3 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Greg, Please find the updates for CoreSight and hwtracing subsystem for inclusion in v6.3. fyi, there is a patch to export perf_report_aux_output_id(), a perf generic helper for emitting AUX packet. This ha [...] Content analysis details: (-2.3 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [217.140.110.172 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org |
Series |
[GIT,PULL] coresight: Updates for v6.3
|
expand
|
On Wed, Feb 01, 2023 at 02:45:36PM +0000, Suzuki K Poulose wrote: > Hi Greg, > > Please find the updates for CoreSight and hwtracing subsystem for inclusion > in v6.3. fyi, there is a patch to export perf_report_aux_output_id(), a perf > generic helper for emitting AUX packet. This has been Acked by Peter and is > used by the CoreSight dynamic trace id allocation scheme. Hence routing via the > coresight tree. Pulled and pushed out, thanks. greg k-h
Hi Greg, Please find the updates for CoreSight and hwtracing subsystem for inclusion in v6.3. fyi, there is a patch to export perf_report_aux_output_id(), a perf generic helper for emitting AUX packet. This has been Acked by Peter and is used by the CoreSight dynamic trace id allocation scheme. Hence routing via the coresight tree. Kindly consider pulling. Suzuki The following changes since commit 88603b6dc419445847923fcb7fe5080067a30f98: Linux 6.2-rc2 (2023-01-01 13:53:16 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/coresight/linux.git tags/coresight-next-v6.3 for you to fetch changes up to 669c4614236a7f78a2b693d0024cbdfa8536eb5a: coresight: tmc: Don't enable TMC when it's not ready. (2023-01-30 11:45:32 +0000) ---------------------------------------------------------------- coresight: Updates for v6.3 - Dynamic TraceID allocation scheme for CoreSight trace source. Allows systems with > 44 CPUs to use the ETMs. TraceID is advertised via AUX_OUTPUT_HWID packets in perf.data. Also allows allocating trace-ids for non-CPU bound trace components (e.g., Qualcomm TPDA). - Support for Qualcomm TPDA and TPDM CoreSight devices. - Support for Ultrasoc SMB CoreSight Sink buffer. - Fixes for HiSilicon PTT driver - MAINTAINERS update: Add Reviewer for HiSilicon PTT driver - Bug fixes for CTI power management and sysfs mode - Fix CoreSight ETM4x TRCSEQRSTEVRn access Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> ---------------------------------------------------------------- Arnd Bergmann (1): Coresight: tpda/tpdm: remove incorrect __exit annotation Bagas Sanjaya (2): Documentation: coresight: Extend title heading syntax in TPDM and TPDA documentation Documentation: coresight: tpdm: Add dummy comment after sysfs list James Clark (2): coresight: cti: Prevent negative values of enable count coresight: cti: Remove atomic type from enable_req_count Junhao He (1): coresight: etm4x: Fix accesses to TRCSEQRSTEVR and TRCSEQSTR Mao Jinlong (9): coresight: cti: Add PM runtime call in enable_store coresight: core: Use IDR for non-cpu bound sources' paths. Coresight: Add coresight TPDM source driver dt-bindings: arm: Add CoreSight TPDM hardware coresight-tpdm: Add DSB dataset support coresight-tpdm: Add integration test support Coresight: Add TPDA link driver dt-bindings: arm: Adds CoreSight TPDA hardware definitions Documentation: trace: Add documentation for TPDM and TPDA Mike Leach (11): coresight: trace-id: Add API to dynamically assign Trace ID values coresight: Remove obsolete Trace ID unniqueness checks coresight: perf: traceid: Add perf ID allocation and notifiers coresight: stm: Update STM driver to use Trace ID API coresight: etm4x: Update ETM4 driver to use Trace ID API coresight: etm3x: Update ETM3 driver to use Trace ID API coresight: etmX.X: stm: Remove trace_id() callback coresight: trace id: Remove legacy get trace ID function. kernel: events: Export perf_report_aux_output_id() coresight: events: PERF_RECORD_AUX_OUTPUT_HW_ID used for Trace ID coresight: trace-id: Add debug & test macros to Trace ID allocation Qi Liu (2): drivers/coresight: Add UltraSoc System Memory Buffer driver Documentation: Add document for UltraSoc SMB driver Suzuki K Poulose (2): coresight: Fix uninitialised variable use in coresight_disable coresight: perf: Output trace id only once Yabin Cui (1): coresight: tmc: Don't enable TMC when it's not ready. Yang Yingliang (2): coresight: ultrasoc-smb: fix return value check in smb_init_data_buffer() coresight: tpda: fix return value check in tpda_probe() Yicong Yang (2): hwtracing: hisi_ptt: Only add the supported devices to the filters list MAINTAINERS: Update the entries for HiSilicon PTT device driver .../ABI/testing/sysfs-bus-coresight-devices-etm3x | 2 +- .../ABI/testing/sysfs-bus-coresight-devices-tpdm | 13 + .../testing/sysfs-bus-coresight-devices-ultra_smb | 31 + .../bindings/arm/qcom,coresight-tpda.yaml | 129 ++++ .../bindings/arm/qcom,coresight-tpdm.yaml | 93 +++ Documentation/trace/coresight/coresight-tpda.rst | 52 ++ Documentation/trace/coresight/coresight-tpdm.rst | 45 ++ Documentation/trace/coresight/ultrasoc-smb.rst | 83 +++ MAINTAINERS | 5 + drivers/hwtracing/coresight/Kconfig | 35 ++ drivers/hwtracing/coresight/Makefile | 5 +- drivers/hwtracing/coresight/coresight-core.c | 87 +-- drivers/hwtracing/coresight/coresight-cti-core.c | 23 +- drivers/hwtracing/coresight/coresight-cti-sysfs.c | 15 +- drivers/hwtracing/coresight/coresight-cti.h | 2 +- drivers/hwtracing/coresight/coresight-etm-perf.c | 31 + drivers/hwtracing/coresight/coresight-etm-perf.h | 2 + drivers/hwtracing/coresight/coresight-etm.h | 3 +- drivers/hwtracing/coresight/coresight-etm3x-core.c | 95 +-- .../hwtracing/coresight/coresight-etm3x-sysfs.c | 27 +- drivers/hwtracing/coresight/coresight-etm4x-core.c | 91 ++- .../hwtracing/coresight/coresight-etm4x-sysfs.c | 27 +- drivers/hwtracing/coresight/coresight-etm4x.h | 3 + drivers/hwtracing/coresight/coresight-stm.c | 49 +- drivers/hwtracing/coresight/coresight-tmc-core.c | 4 +- drivers/hwtracing/coresight/coresight-tmc-etf.c | 45 +- drivers/hwtracing/coresight/coresight-tmc-etr.c | 19 +- drivers/hwtracing/coresight/coresight-tmc.h | 2 +- drivers/hwtracing/coresight/coresight-tpda.c | 211 +++++++ drivers/hwtracing/coresight/coresight-tpda.h | 35 ++ drivers/hwtracing/coresight/coresight-tpdm.c | 259 ++++++++ drivers/hwtracing/coresight/coresight-tpdm.h | 62 ++ drivers/hwtracing/coresight/coresight-trace-id.c | 297 ++++++++++ drivers/hwtracing/coresight/coresight-trace-id.h | 156 +++++ drivers/hwtracing/coresight/ultrasoc-smb.c | 648 +++++++++++++++++++++ drivers/hwtracing/coresight/ultrasoc-smb.h | 125 ++++ drivers/hwtracing/ptt/hisi_ptt.c | 10 + include/linux/coresight-pmu.h | 34 +- include/linux/coresight.h | 4 +- kernel/events/core.c | 1 + 40 files changed, 2649 insertions(+), 211 deletions(-) create mode 100644 Documentation/ABI/testing/sysfs-bus-coresight-devices-tpdm create mode 100644 Documentation/ABI/testing/sysfs-bus-coresight-devices-ultra_smb create mode 100644 Documentation/devicetree/bindings/arm/qcom,coresight-tpda.yaml create mode 100644 Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml create mode 100644 Documentation/trace/coresight/coresight-tpda.rst create mode 100644 Documentation/trace/coresight/coresight-tpdm.rst create mode 100644 Documentation/trace/coresight/ultrasoc-smb.rst create mode 100644 drivers/hwtracing/coresight/coresight-tpda.c create mode 100644 drivers/hwtracing/coresight/coresight-tpda.h create mode 100644 drivers/hwtracing/coresight/coresight-tpdm.c create mode 100644 drivers/hwtracing/coresight/coresight-tpdm.h create mode 100644 drivers/hwtracing/coresight/coresight-trace-id.c create mode 100644 drivers/hwtracing/coresight/coresight-trace-id.h create mode 100644 drivers/hwtracing/coresight/ultrasoc-smb.c create mode 100644 drivers/hwtracing/coresight/ultrasoc-smb.h