From patchwork Sun Sep 5 13:12:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 12476093 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=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 BB17BC433EF for ; Sun, 5 Sep 2021 13:14:42 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 8644560F45 for ; Sun, 5 Sep 2021 13:14:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8644560F45 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=9tLzSlEX8207lkGXTDvqX5FAhCvRr2dA2/HuFqCwyzc=; b=2WoKXfh47vfyAe 6e8K+mEb70Dn6noC4P90i/miw4NYMt7NnzB4BFwm5jsi/s3KaxYo8dyXvg51vWdM2AO1TTeh0QwW+ Fa5oN7A6Og1gyaZDI8uRyvV4byjaM9ORAq0ZrcnNLGuLR8WFllq1yBw9Wg9dcwlBw7NO1+aOg5F71 ZCGOthjeeggsbDzdY83DfXB7ea8bpMlZb6MZ+2o2b6vB5BELb2dAahpJ0I3MfBK1hCIG74dcM/DjC o6FstpUg60Dr8QojwWS+gGlc07hC2EwqLMxoCzeB3Fv+vqYh88W4ZaZRA7J2++XTOVx4fOQnLgRPn Uf5jIt/uqOTIggm4cpKw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mMrx9-00Fmzi-Gk; Sun, 05 Sep 2021 13:12:55 +0000 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mMrx4-00Fmyw-8M for linux-arm-kernel@lists.infradead.org; Sun, 05 Sep 2021 13:12:52 +0000 Received: by mail-pl1-x62b.google.com with SMTP id q3so2331167plx.4 for ; Sun, 05 Sep 2021 06:12:49 -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=trmoX4/mXFyoA+IsgLAnbNXqKcGcV7esjUPwUmwIlCM=; b=POQW7UUmTkZuStnwNW3j3xo/g25QBfG4hcVO93HcBst9fCejcmLzrWLTnC4HFYIV52 qz4EsGvJVFHefALASHumAUwb2aIegmKd0Zktr90qKj4O7WVsdEymH9aytExW2ZXjmGZs kkfE1j22NHcK0Xkp4tiXFV72VlCQGwJWiQpcZPeMeQUZghXLdZ3s6OU7dDrIIGIDS/jC JNBo8vNmiMN1L4bPJNMHOGwpNzxeaDY5AnEPRX7QCBtNXkmQzGeKbZ5LbW92BbOUslAn s+UiK8bTih8TaqRUWUQzkInLbvFC1y4qAUDcSpZ+Q8TAIITptd7rSq8fPn9030ylVJ7T /SHw== 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=trmoX4/mXFyoA+IsgLAnbNXqKcGcV7esjUPwUmwIlCM=; b=nOIWm2tT4EHzTqLLbjf/ewSKe8HxU+Y4xYYO548QsJRHqMq25lm4rB2FlJyIKet9qc ctuQ6LjTbCtTuRDZ/l5byDW0LtwD2xRzdHthvcFHGFyw+XPcHbl8SWWC/maIgvjS25mt MxXve+eKGxxoRIU9RcuPqTPU96bzle99MF2QHEMJCHf8EnGBut+uON4Gp4J6TDSRsEDc usVy9k7ZP3FRQr2fUImvhdlOcCeqCzs8IPZIWMDO/i9qfME9zoJyKgSkNfAj+IUkFaFb ncKc9TMod+y93MxHF1Ia2Ifa8X5BSSHQwMiHPga+x2P1ZMfUJ20li7WUVonmNJwMsSBV +FwA== X-Gm-Message-State: AOAM532PsA/fa/PCvsayIrmnc7Vt4lPS0uPY0UHxpF06mzLkq8FQWYZ7 O1inVUntsvGmUxLiMwA7JzXEuA== X-Google-Smtp-Source: ABdhPJze7PB5Ueo5yCToFRwMUSFfDWmilvGSYOYqVyEiBQPErLNwmFOJ/4JjfvUBOB1NHtuJSPKbjg== X-Received: by 2002:a17:90b:3742:: with SMTP id ne2mr8981618pjb.218.1630847569045; Sun, 05 Sep 2021 06:12:49 -0700 (PDT) Received: from localhost ([204.124.181.224]) by smtp.gmail.com with ESMTPSA id gk12sm2734308pjb.39.2021.09.05.06.12.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Sep 2021 06:12:48 -0700 (PDT) From: Leo Yan To: Mathieu Poirier , Suzuki K Poulose , Mike Leach , James Clark , Alexander Shishkin , coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Leo Yan Subject: [PATCH v3 0/2] coresight: Fix for snapshot mode Date: Sun, 5 Sep 2021 21:12:35 +0800 Message-Id: <20210905131237.1035322-1-leo.yan@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-20210905_061250_398907_F50DF43A X-CRM114-Status: GOOD ( 11.28 ) 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 In the previous patch set for fixing CoreSight snapshot mode [1], the patch for perf tool has been merged into the mainline kernel [2]; other two patches for CoreSight driver have been left out. This patch series resends these two missed out patches, alongside patches 01 and 02 are updated with minor improvement commits. This patch series has been tested on Arm64 Juno board. Changes from v2: - Minor improvement the commits for patches 01 and 02. [1] https://lore.kernel.org/lkml/20210701093537.90759-1-leo.yan@linaro.org/ [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2f01c200d4405c4562e45e8bb4de44a5ce37b217 Leo Yan (2): coresight: tmc-etr: Use perf_output_handle::head for AUX ring buffer coresight: Update comments for removing cs_etm_find_snapshot() drivers/hwtracing/coresight/coresight-etb10.c | 2 +- drivers/hwtracing/coresight/coresight-tmc-etf.c | 2 +- drivers/hwtracing/coresight/coresight-tmc-etr.c | 12 ++++-------- 3 files changed, 6 insertions(+), 10 deletions(-)