From patchwork Mon Feb 1 18:13:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 12059635 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B2E0C433E0 for ; Mon, 1 Feb 2021 18:15:36 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0160864DE1 for ; Mon, 1 Feb 2021 18:15:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0160864DE1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject: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=5q16Zmz78s460Khl6LG5uODd0hqHq02YIEEEpO1R6aw=; b=XOU5GtOqj54gtxZvNFlZxpnRUh iJRUuFPGYhkXMl1xj4l/Pictv4DD3fCIdIjRJ8uwQ0aNDVsUQcIBj8CoKogSaO5GOTUmrbfNqAZrc lXZf1uj6X1hdsDhn7zFcHVbD6pz8xV829hpa+mfO3994kOZZIamvrNrHpcadDuWkwt4/w1aZw1rTH ffESyEjQTlNRWtHhGbS2ROTVJo+Qihb9utaSzivWsu97KF6UDjwHe1j4y3drlAUFpvnrJ0LcagKP2 rJQ3XqLSMKHjBXThmvaWODbITjI6b/BmJiYmgwvwFVCzVNQkpb7Z9/Ol3irfluFx8Y7Dd23vtCupJ f6LJcjkA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l6di3-0002w7-5X; Mon, 01 Feb 2021 18:13:59 +0000 Received: from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l6dhz-0002tL-L9 for linux-arm-kernel@lists.infradead.org; Mon, 01 Feb 2021 18:13:57 +0000 Received: by mail-pg1-x529.google.com with SMTP id s23so11350326pgh.11 for ; Mon, 01 Feb 2021 10:13:54 -0800 (PST) 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=VFOgTpiHkBF9ofh5+M0K4tbztjSHqDaQ0oqqJs8XkY4=; b=k4bze/SFDxy7CPmT7uqiZ6GEQyb260r5neivI7YcW+CBssKphZw719AYcgEq8i4qG1 mxqvf3m5stalT7qBkdXfSQOZCj8SKYAFs1vHypA0lGjPiNZlZ/EjC9uyfUvr2stiNgC2 YApE3tvZ6Q0HcmFndyP5Zf60lbwqzseR34auEFxPaaR2iwVhxV4+WrFRDpALyBfEXBKu oeE8F+PEzVtYO+6LOTXMLRpZYJMnxjczCSnRMSqsq6DmykyOgTGxwCGFP/4lC6rmJIdA LrI5URdI9drPU9TiDBII1AvDs0aujLbFDhB/JTnPKJQEXZEPH3POQphB4OAHlEiyHesc XHIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=VFOgTpiHkBF9ofh5+M0K4tbztjSHqDaQ0oqqJs8XkY4=; b=TX8GSzh6SMGbnm0W4KmVc4zZKqOQ4fieHpvOB0pcSaEvkBTtFQMpCRKXU5/ybDFwnW pCndFKuOXqK+vZeDSqbHhVV5agqrs6TXsl82Qx6/yJw+YXbBTQ6RZ7tSJn1kxN2ZszQE XrK/ISG/WHDXH73YISWwlzcAejEjVP0of7I7uCCI2NA5m5CiCSzBWmd6r5EHGN+NZxez X5wPbGUTJtfCSQYRr0b4sX+AaMyCwDbZQ528EKwmOA4HFcBDAT4tc+AIBrOduIqgV7kt 3qRx2vCKyMlMcnvggH2SrPNSQoDzK74yCXoYmazDUKizoEvBTyri+wrbaOGyuM34jgaQ Ua5w== X-Gm-Message-State: AOAM530Z/8WSf8FdcnD2cQYbvG3q1jqxi1+sTrNRLSVCaYKg6l7v13Hj jZov/Xa1nhPUsDrRyixqYJB5qIDK8teGMg== X-Google-Smtp-Source: ABdhPJw7V4tLJwAMxge5G8rz0q6P/BD3q+4qOVI+BlveGvSZdv0grivN1bE8kslYPk3DuTC7zljogA== X-Received: by 2002:a65:6152:: with SMTP id o18mr18239791pgv.392.1612203233048; Mon, 01 Feb 2021 10:13:53 -0800 (PST) Received: from xps15.cg.shawcable.net (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id e12sm75784pjj.23.2021.02.01.10.13.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Feb 2021 10:13:52 -0800 (PST) From: Mathieu Poirier To: gregkh@linuxfoundation.org Subject: [PATCH 00/31] coresight: Patches for v5.12 Date: Mon, 1 Feb 2021 11:13:20 -0700 Message-Id: <20210201181351.1475223-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-20210201_131355_987889_9A2BB749 X-CRM114-Status: GOOD ( 11.90 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Good day Greg, Please consider the following patches for inclusion in the coming v5.12 cycle. Note that patches 11, 13 and 14 make checkpatch angry over the lack of parentheses when defining complex macros but looking at the code I really don't see how else it could be done. Thanks, Mathieu Chunyan Zhang (1): coresight: etm4x: add AMBA id for Cortex-A55 and Cortex-A75 Jonathan Zhou (2): arm64: Add TRFCR_ELx definitions coresight: Add support for v8.4 SelfHosted tracing Markus Elfring (1): coresight: cti: Reduce scope for the variable 'cs_fwnode' in cti_plat_create_connection() Suzuki K Poulose (27): coresight: etm4x: Handle access to TRCSSPCICRn coresight: etm4x: Skip accessing TRCPDCR in save/restore coresight: Introduce device access abstraction coresight: tpiu: Prepare for using coresight device access abstraction coresight: Convert coresight_timeout to use access abstraction coresight: Convert claim/disclaim operations to use access wrappers coresight: etm4x: Always read the registers on the host CPU coresight: etm4x: Convert all register accesses coresight: etm4x: Make offset available for sysfs attributes coresight: etm4x: Add commentary on the registers coresight: etm4x: Add sysreg access helpers coresight: etm4x: Hide sysfs attributes for unavailable registers coresight: etm4x: Define DEVARCH register fields coresight: etm4x: Check for Software Lock coresight: etm4x: Cleanup secure exception level masks coresight: etm4x: Clean up exception level masks coresight: etm4x: Handle ETM architecture version coresight: etm4x: Detect access early on the target CPU coresight: etm4x: Use TRCDEVARCH for component discovery coresight: etm4x: Expose trcdevarch via sysfs coresight: etm4x: Add necessary synchronization for sysreg access coresight: etm4x: Detect system instructions support coresight: etm4x: Refactor probing routine coresight: etm4x: Run arch feature detection on the CPU coresight: etm4x: Add support for sysreg only devices dts: bindings: coresight: ETM system register access only units coresight: etm4x: Handle accesses to TRCSTALLCTLR .../testing/sysfs-bus-coresight-devices-etm4x | 8 + .../devicetree/bindings/arm/coresight.txt | 5 +- arch/arm64/include/asm/sysreg.h | 11 + drivers/hwtracing/coresight/coresight-catu.c | 12 +- drivers/hwtracing/coresight/coresight-core.c | 122 ++- .../hwtracing/coresight/coresight-cti-core.c | 18 +- .../coresight/coresight-cti-platform.c | 6 +- drivers/hwtracing/coresight/coresight-etb10.c | 10 +- .../coresight/coresight-etm3x-core.c | 9 +- .../coresight/coresight-etm4x-core.c | 810 ++++++++++++------ .../coresight/coresight-etm4x-sysfs.c | 189 ++-- drivers/hwtracing/coresight/coresight-etm4x.h | 505 ++++++++++- .../hwtracing/coresight/coresight-funnel.c | 7 +- .../coresight/coresight-replicator.c | 13 +- drivers/hwtracing/coresight/coresight-stm.c | 4 +- .../hwtracing/coresight/coresight-tmc-core.c | 16 +- .../hwtracing/coresight/coresight-tmc-etf.c | 10 +- .../hwtracing/coresight/coresight-tmc-etr.c | 4 +- drivers/hwtracing/coresight/coresight-tpiu.c | 31 +- include/linux/coresight.h | 218 ++++- 20 files changed, 1527 insertions(+), 481 deletions(-)