From patchwork Tue Mar 21 13:38:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suzuki K Poulose X-Patchwork-Id: 13182780 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 9BC91C6FD1D for ; Tue, 21 Mar 2023 13:40:10 +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: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=XfSwUah02SKdYDmgbpcMvFv4Ymonm2DVTFF7mlL53TI=; b=Sg4kpQxvxRn54Q LxCXNFpQb3R12swN5RLhsvRadTKG96MOqd57giMgy72coHQQDXYC0V3gribUGT5vgeK6qMdjamk31 DVYPU3NmOX+D4bNNEGwW5chkxEUnqeBc0duSsSbq1uOL3q8ivAizfKtI9eYlFt5HHSAAo9x7pKlcH dm8PN+wHrRu5YBgkiTq2nAuzG5k8MaeVoh1DTR6UdVsFBsabiiBDL5Nypan/iByRcMPdZLya9+kB4 ihVulmy/9T7AoDiMoQAT5T84xzBmHoLyS4P4kK0C2OEtO0dZkqJ5mGYcX/Z9+k17p4IjFOZ6qnItr 5RrvU65ik2k4phiOVaBQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pecCp-00CZBH-2r; Tue, 21 Mar 2023 13:39:15 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pecCm-00CZAP-38 for linux-arm-kernel@lists.infradead.org; Tue, 21 Mar 2023 13:39:14 +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 6DA9AAD7; Tue, 21 Mar 2023 06:39:53 -0700 (PDT) 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 42F6A3F6C4; Tue, 21 Mar 2023 06:39:08 -0700 (PDT) From: Suzuki K Poulose To: gregkh@linuxfoundation.org Cc: linux-arm-kernel@lists.infradead.org, coresight@lists.linaro.org, mike.leach@linaro.org, james.clark@arm.com, anshuman.khandual@arm.com, leo.yan@linaro.org, scclevenger@os.amperecomputing.com, Suzuki K Poulose Subject: [GIT PULL] coresight: Fixes for v6.3 Date: Tue, 21 Mar 2023 13:38:52 +0000 Message-Id: <20230321133852.1551692-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-20230321_063913_053719_2BC9EEAC X-CRM114-Status: UNSURE ( 5.08 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Greg, Please find a couple of fixes for coresight self-hosted tracing for v6.3. Kindly consider pulling. Suzuki The following changes since commit eeac8ede17557680855031c6f305ece2378af326: Linux 6.3-rc2 (2023-03-12 16:36:44 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/coresight/linux.git tags/coresight-fixes-v6.3 for you to fetch changes up to 735e7b30a53a1679c050cddb73f5e5316105d2e3: coresight: etm4x: Do not access TRCIDR1 for identification (2023-03-21 12:31:02 +0000) ---------------------------------------------------------------- coresight: Fixes for v6.3 Fixes for coresight subsystem includes: - Fix etm4_enable_hw to program all the address comparator pairs (instead of half of them) - Do not access TRCIDR1 register without OSLK cleared in etm4_probe for mmio access. Signed-off-by: Suzuki K Poulose ---------------------------------------------------------------- Steve Clevenger (1): coresight-etm4: Fix for() loop drvdata->nr_addr_cmp range bug Suzuki K Poulose (1): coresight: etm4x: Do not access TRCIDR1 for identification drivers/hwtracing/coresight/coresight-etm4x-core.c | 24 +++++++++------------- drivers/hwtracing/coresight/coresight-etm4x.h | 20 ++++++------------ 2 files changed, 16 insertions(+), 28 deletions(-)