From patchwork Fri May 13 17:05:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 12849100 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 7D3E8C433EF for ; Fri, 13 May 2022 17:06:22 +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=zkzxPjeQw8jeeCTLJB4JWHGO8V32W/SX+rmirUurOds=; b=MOuSSZyQZ67kYJ aHzRBBwCCSfziQOndCJC2LrE7M43FO8X1QStqcMB6IQbudlx0xUxq0DNT6sfZlOoSYT7XhU6IaFEZ K3YydcwkcSwmExtID1ezu/wemWa3g/pcw/y4UGebmVzyt2NQSwzafE9wK5Muf+3HP82xqBNnmitwp slQjUETaGnLLdQiMoQx0veulVUJC8R3Cq/SXiT+mcQURkXZ6iKPOKGcjWC3irUVKCJcNfQ8vgFse7 T3fVMWqGK6r1a1+APra53WLHltZx6ALTtg7hc7RyDlWX1FgeptytdTvyooQ1JCne0HWHc431AAZT0 GB6g22WmoqcTIOHNIkYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1npYjB-00GzWo-Dy; Fri, 13 May 2022 17:05:21 +0000 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1npYj8-00GzVA-BK for linux-arm-kernel@lists.infradead.org; Fri, 13 May 2022 17:05:19 +0000 Received: by mail-pf1-x435.google.com with SMTP id a11so8215326pff.1 for ; Fri, 13 May 2022 10:05:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=VxUbVIJfDPKovOH85qumbwINB246mdu93fA8EKGD0Q4=; b=r9DxuHYSlxU+T16xfaZ3O/UPZmGzM29cDZT+o/GKLRYX58IeBo5mKJFhPcJ+6+KWLp kvkNJkaYVRprSwjfb8+qiP02Wk3RKfR/H5hjqjvqW3JA+7y3GZS92EQwwN3P8gRXWBXS 3Zq0QNUhjQsOag72nAT3p33sJCbeOhnM3BiHpu0FSomwUvLVeUHsqz6Mu0XbdNijm/ap cPyTZWNnlwB+lPMjq8kK2xk7tvK/FtX1MZtWh2AjOFY+CqIfct7ZJxqTsrflvVCvRHY3 AuXsDly1u4YGbFr4mMBJ7m1mYdmp2G5zjA+2ilP2tX4daUN1AIht2wNMa/KvruK9krJq LCzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=VxUbVIJfDPKovOH85qumbwINB246mdu93fA8EKGD0Q4=; b=tv2QcKqBVEUuweBZlBHf2pWKrY8qlaMJt3GBPIokToqkkoRpuRZXYkdyNE7tCIer4S cpEFNqYtmwP8w8w8y1Lf9jMFgXgag4MfSKhk/7Ry+3SilG491Lq9hZEiaI2BQw93TpTL HoVRSYkVNTPsK0aCgEG48Dy7hPgyy/PZ7r0HlgtD28Sde6hOt6RFP3/kUDOK6b6PIMZr 5ymkb3AdLH310039galfHiAiFcue5b1EmLW9ylIUW2WGzl6pcW41JiQ/3nksZa/aiYUo W9B91Z/GlC35iIFvhwaTD50zTB0n2+OZOnfGvXKQZjcCnUBSgqAzC+QXsA/C7AI7ICXI hxzg== X-Gm-Message-State: AOAM531mDysikDMB0X+/QMsImOJe1j6k36WQGUccXL/sBR9mKo2CjoNJ 2TPe9G0FssZIF55YI0oFmC30wZORshX+BA== X-Google-Smtp-Source: ABdhPJwdRXoorZL9b6hOiDqo5sleRd9CEftCksC+uwX4Yxr3B8G/og8vtC/wYi+5Gmu3sUpc0Wb98A== X-Received: by 2002:a05:6a00:e8e:b0:4fa:a52f:59cf with SMTP id bo14-20020a056a000e8e00b004faa52f59cfmr5394126pfb.84.1652461515669; Fri, 13 May 2022 10:05:15 -0700 (PDT) Received: from p14s.cg.shawcable.net (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id fr2-20020a17090ae2c200b001d94c194a67sm1821748pjb.18.2022.05.13.10.05.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 10:05:14 -0700 (PDT) From: Mathieu Poirier To: gregkh@linuxfoundation.org Cc: coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Suzuki.Poulose@arm.com Subject: [GIT PULL] Coresight changes for v5.19 Date: Fri, 13 May 2022 11:05:13 -0600 Message-Id: <20220513170513.3276002-1-mathieu.poirier@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220513_100518_436952_06974094 X-CRM114-Status: UNSURE ( 9.12 ) 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 The following changes since commit ce522ba9ef7e2d9fb22a39eb3371c0c64e2a433e: Linux 5.18-rc2 (2022-04-10 14:21:36 -1000) are available in the Git repository at: git@gitolite.kernel.org:pub/scm/linux/kernel/git/coresight/linux.git tags/coresight-next-v5.19 for you to fetch changes up to 1adff542d67a2ed1120955cb219bfff8a9c53f59: coresight: cpu-debug: Replace mutex with mutex_trylock on panic notifier (2022-05-09 16:03:24 +0100) ---------------------------------------------------------------- Coresight changes for v5.19 Good day Greg, Please consider those for the the upcoming v5.19 merge window when you have time. This pull request includes: - Work to uniformise access to the ETMv4 registers, making it easier to look for and change register accesses. - A correction to a probing failure when looking for links between devices. - The replacement of a call to mutex_lock() with a mutex_trylock() in the panic notifier of the cpu-debug infrastructure to avoid a possible deadlock. Signed-off-by: Mathieu Poirier ---------------------------------------------------------------- Guilherme G. Piccoli (1): coresight: cpu-debug: Replace mutex with mutex_trylock on panic notifier James Clark (15): coresight: etm4x: Cleanup TRCIDR0 register accesses coresight: etm4x: Cleanup TRCIDR2 register accesses coresight: etm4x: Cleanup TRCIDR3 register accesses coresight: etm4x: Cleanup TRCIDR4 register accesses coresight: etm4x: Cleanup TRCIDR5 register accesses coresight: etm4x: Cleanup TRCCONFIGR register accesses coresight: etm4x: Cleanup TRCEVENTCTL1R register accesses coresight: etm4x: Cleanup TRCSTALLCTLR register accesses coresight: etm4x: Cleanup TRCVICTLR register accesses coresight: etm3x: Cleanup ETMTECR1 register accesses coresight: etm4x: Cleanup TRCACATRn register accesses coresight: etm4x: Cleanup TRCSSCCRn and TRCSSCSRn register accesses coresight: etm4x: Cleanup TRCSSPCICRn register accesses coresight: etm4x: Cleanup TRCBBCTLR register accesses coresight: etm4x: Cleanup TRCRSCTLRn register accesses Mao Jinlong (1): coresight: core: Fix coresight device probe failure issue drivers/hwtracing/coresight/coresight-core.c | 33 ++-- drivers/hwtracing/coresight/coresight-cpu-debug.c | 7 +- drivers/hwtracing/coresight/coresight-etm3x-core.c | 2 +- .../hwtracing/coresight/coresight-etm3x-sysfs.c | 2 +- drivers/hwtracing/coresight/coresight-etm4x-core.c | 136 +++++----------- .../hwtracing/coresight/coresight-etm4x-sysfs.c | 180 +++++++++++---------- drivers/hwtracing/coresight/coresight-etm4x.h | 120 +++++++++++--- 7 files changed, 268 insertions(+), 212 deletions(-)