From patchwork Mon Sep 28 16:34:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 11804061 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BB4BC6CB for ; Mon, 28 Sep 2020 16:35:37 +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 8D7B12080C for ; Mon, 28 Sep 2020 16:35:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="MZUEH5lS"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="YhwHAbX1" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8D7B12080C 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+patchwork-linux-arm=patchwork.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=WfquDontHcaVheJx9nFBmwswjSCcYzdTkmAs0ElvZ2E=; b=MZUEH5lSyIuspnG0qMd0utQ+C7 1J4XzrhjSgrnD50LajoYAKqIlOdOG2Gej8qYWxTZcxdFT60qFVz2oYW+xCllJQOXUOu/l1nufS6uW INmobLtocYN5MX2sdLzaY8yyf9ZAXLYXxdiuezsEVoAsByjDy2z1ot6nJeqBQpNkXPo3Wq9qu3GJH Zxa3L4gKg5pxq7daQw1gPBkinkSPdsjPRC2sozokvPd76AZfVJ4/MO2BpVK1zya5i9dc8DpyxLWzi TvQTFPF6M57FtgsilAEHTRqlNqDQynZEzZOoV3eblwl9J3AFMFmoIlD6H0D2kA5aiKFnQE8QbifKX uyXXfGfQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kMw7V-0000X7-V5; Mon, 28 Sep 2020 16:35:22 +0000 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kMw7Q-0000V4-NJ for linux-arm-kernel@lists.infradead.org; Mon, 28 Sep 2020 16:35:18 +0000 Received: by mail-pg1-x542.google.com with SMTP id 5so1330647pgf.5 for ; Mon, 28 Sep 2020 09:35: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=PrvttkunEoO9fIi9mHq/ppahufjhXG5TFJ21mEg/pKA=; b=YhwHAbX1pUfXUZHZ0f8PFeSsWmL+V3RYm/lHIDeXo6OaMYP+UAi5HVKP+rQbGSMnfA bWweHKLOKwJKDJDanxAd7AtVRlupUCNpDS2c4T+GiPL9ez8ND/IX0vVvQlq+Gi/kPkih RM9umXQ/Uxw9niCd5kbKknxS6P920pXANna+tg6Pdu9o+InyENkagHUXRYow0J18OOQ3 +FhogWZo9vnE852nR2rwhX5zuEbOOeEWSEsqWbhI+eaLrHyKlgqxV/JiLXAxun8eHQYo hdGaD9xC3bWqxF6PoSj8wq68iCjZ269/agu6TfcKfFobp8kQ/ZOEccWROpNCNX5wFbb7 byUg== 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=PrvttkunEoO9fIi9mHq/ppahufjhXG5TFJ21mEg/pKA=; b=hwZVS6wfNhHBZVnLxUr/v9o5Cu6uwuR0IUsHm9z06UUPR2d3UfWsxfqogJ5fo+xuQn qXVtVUQnrGGv7DdC3tKxNyggJxb6K3uE8Pg5fkv4ipvsRwUwYMMsbsNfGxVAQ+qHH8Tv Odms7cto1jDzxPYAidZtpiRLG+Uod9zIIvjpTsNh5+DE2beg73R1wibpsqREDt1EQIjd R2mzCrI2enUZPKnRx5YrToy/swO27EmfTQjN+VBfwBmb4NJNMOtKLnfcAIcquzkNxoCs t+Y+0rEyExnksVdcAF18BQZMfjVhNtUgWYyBhSexLkrNuDZfRJPa//y9g9zKtL0YcH93 wR8Q== X-Gm-Message-State: AOAM530Cypoh2/qAzWwKk7Q7iOd/prArN5BdNk4ckDq/DpQqHY7Z8le0 R+X8ctDNfE4yZ/t2FIHZGB1klQ== X-Google-Smtp-Source: ABdhPJyLxnQ3bu81o+/qsJR7CxTUdldNai6Dt5V1e75ZNa79IuhkE5dizZmRNXGEukNmsrUHsXuJUg== X-Received: by 2002:a65:47c4:: with SMTP id f4mr1755344pgs.329.1601310914605; Mon, 28 Sep 2020 09:35:14 -0700 (PDT) Received: from xps15.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [68.147.8.254]) by smtp.gmail.com with ESMTPSA id f19sm2345640pfd.45.2020.09.28.09.35.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Sep 2020 09:35:14 -0700 (PDT) From: Mathieu Poirier To: gregkh@linuxfoundation.org Subject: [PATCH 00/25] coresight: Next v5.9-rc7 Date: Mon, 28 Sep 2020 10:34:48 -0600 Message-Id: <20200928163513.70169-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-20200928_123516_805147_DA92A24A X-CRM114-Status: GOOD ( 14.31 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:542 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Good day, This is the second part we were hoping for, i.e CoreSight modularisation, and a fix for a copy/paste error in the context save/restore process. Please consider for the next merge window. Applies on top of your "char-misc-next" branch. Thanks, Mathieu Kim Phillips (8): coresight: Use IS_ENABLED for CONFIGs that may be modules coresight: etm3x: Allow etm3x to be built as a module coresight: etm4x: Allow etm4x to be built as a module coresight: etb: Allow etb to be built as a module coresight: tpiu: Allow tpiu to be built as a module coresight: tmc: Allow tmc to be built as a module coresight: funnel: Allow funnel driver to be built as module coresight: replicator: Allow replicator driver to be built as module Mian Yousaf Kaukab (2): coresight: Export global symbols coresight: tmc-etr: Add function to register catu ops Mike Leach (2): coresight: cti: Fix remove sysfs link error coresight: cti: Fix bug clearing sysfs links on callback Sai Prakash Ranjan (1): coresight: etm4x: Fix save and restore of TRCVMIDCCTLR1 register Tingwei Zhang (12): coresight: cpu_debug: Add module name in Kconfig coresight: cpu_debug: Define MODULE_DEVICE_TABLE coresight: Add coresight prefix to barrier_pkt coresight: Add try_get_module() in coresight_grab_device() coresight: stm: Allow to build coresight-stm as a module coresight: etm: perf: Fix warning caused by etm_setup_aux failure coresight: cti: Add function to register cti associate ops coresight: cti: Don't disable ect device if it's not enabled coresight: cti: Increase reference count when enabling cti coresight: cti: Allow cti to be built as a module coresight: catu: Allow catu drivers to be built as modules coresight: core: Allow the coresight core driver to be built as a module drivers/hwtracing/coresight/Kconfig | 54 ++++-- drivers/hwtracing/coresight/Makefile | 26 +-- drivers/hwtracing/coresight/coresight-catu.c | 37 ++++- drivers/hwtracing/coresight/coresight-catu.h | 2 - .../{coresight.c => coresight-core.c} | 154 +++++++++++++++--- .../hwtracing/coresight/coresight-cpu-debug.c | 2 + .../{coresight-cti.c => coresight-cti-core.c} | 67 ++++++-- drivers/hwtracing/coresight/coresight-etb10.c | 28 +++- .../hwtracing/coresight/coresight-etm-perf.c | 13 +- .../hwtracing/coresight/coresight-etm-perf.h | 5 +- ...resight-etm3x.c => coresight-etm3x-core.c} | 154 +++++++++++++----- ...resight-etm4x.c => coresight-etm4x-core.c} | 88 +++++++--- .../hwtracing/coresight/coresight-funnel.c | 65 +++++++- .../hwtracing/coresight/coresight-platform.c | 1 + drivers/hwtracing/coresight/coresight-priv.h | 23 ++- .../coresight/coresight-replicator.c | 65 +++++++- drivers/hwtracing/coresight/coresight-stm.c | 20 ++- drivers/hwtracing/coresight/coresight-sysfs.c | 2 + .../{coresight-tmc.c => coresight-tmc-core.c} | 25 ++- .../hwtracing/coresight/coresight-tmc-etf.c | 2 +- .../hwtracing/coresight/coresight-tmc-etr.c | 21 ++- drivers/hwtracing/coresight/coresight-tmc.h | 3 + drivers/hwtracing/coresight/coresight-tpiu.c | 20 ++- include/linux/coresight.h | 3 +- 24 files changed, 728 insertions(+), 152 deletions(-) rename drivers/hwtracing/coresight/{coresight.c => coresight-core.c} (92%) rename drivers/hwtracing/coresight/{coresight-cti.c => coresight-cti-core.c} (94%) rename drivers/hwtracing/coresight/{coresight-etm3x.c => coresight-etm3x-core.c} (90%) rename drivers/hwtracing/coresight/{coresight-etm4x.c => coresight-etm4x-core.c} (96%) rename drivers/hwtracing/coresight/{coresight-tmc.c => coresight-tmc-core.c} (95%)