Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1030428pxb; Sun, 12 Sep 2021 06:01:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2HkG77d3AAHM1VOFq89gvrcSyTm0RKuyGcKsQpV/IM3uqhgKOUHTGvYkmuFDyrj5Mcsj+ X-Received: by 2002:a6b:905:: with SMTP id t5mr5121941ioi.209.1631451673960; Sun, 12 Sep 2021 06:01:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631451673; cv=none; d=google.com; s=arc-20160816; b=LKQpTHqw34Fmb5n74JfdkzhsnYTf/5yiFQNmsK7ih9e7TkAkabt5yvYbgpiw7RiR3F 1P5srTDR6ecj0n8xtqg5wRNIx82r/UtcgA+ZG0h13n28chtexfaokVP0qz0AuIQ0U5f6 9v4EFtXGyHRJrSFcamgNFxBAaafh2fHg0fkbd14OJMlK+A/Mh+9cf0WrWuV5FyGXg0jh oGxf+pFkRhjh2yAGcr36eTrQXZUT0FlagQA7z7ipK2dP/6DUEhcJKMBcAgpjBFABiIlB q1el+7OoDWwo7136zhStA0ODFO3Fx+WlyPVJac6Pt7SBVYvS/AcnkqHfcByvTzMmgCPS iLZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=gziWymGKd/N4XqAzL2X7+DQr7Q04RE8infD/f3Yvzzc=; b=w4xO4KTJYAIafLvfY6bSG0qMwV3tEbhlr6iJFeoboBNthBLBc1CRpJlUS5wTJWi+tp C5skUGE+y7maq+j6rkMiZ67x9GaC+Wi3W+LRtm6r2yHxJQcZER/6Mgqvq31gPtvhE0oH ffc9voHwXiCEiFq8YdOvPFavRz7lyxNBocfazhLpqxDdbZpk30KY2b4v5asA/gEuV3wT XNMifRiEEI4zz+/uhMLeqS75pKn5R5G/bwQM9zSFNeBr3csUf2oKTVmFowuFfdo41VoR tCmHBk2QSBbY60tqqJ6VmqSZ8sF3U77P3DBLjI4WCmm8G8g+jjtN7mysfAoOKzChjjIq +DWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=t60ZqyoR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j10si4170353jat.54.2021.09.12.06.00.48; Sun, 12 Sep 2021 06:01:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=t60ZqyoR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235097AbhILNAs (ORCPT + 99 others); Sun, 12 Sep 2021 09:00:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233339AbhILNAr (ORCPT ); Sun, 12 Sep 2021 09:00:47 -0400 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 374B8C061574 for ; Sun, 12 Sep 2021 05:59:33 -0700 (PDT) Received: by mail-pj1-x1029.google.com with SMTP id v19so1740330pjh.2 for ; Sun, 12 Sep 2021 05:59:33 -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=gziWymGKd/N4XqAzL2X7+DQr7Q04RE8infD/f3Yvzzc=; b=t60ZqyoRrIwm9pu++xVzotaT7SDxxeGnrvwXGIlQFrQF/R8kty4mAQXqalHm5oPtYT 2zWzj7sTMkRbhGK5yjm3QbpC+/r5qk+e1wuFRaCHd1/iNyyc1JY30ERbRNM40YyrXXqp eZg2+Khl+TFMgUF65TmwWz2MxAJwQqkudRTjFCev+HmIma2EKCuZeMt8RIVEv21pihSa iV3tZ9g1GSzhNol629hEVE9NzmCo0h0BK8MfoY8WzWTwJI7ymtO2ibsrtSCx6XZR+V6D VdLZibP64J1chv6aRlIoJmUUJw23BH/w6qBITGxWzCB0RTyqCrVpNbamUDbjSHeaDXfY vSaA== 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=gziWymGKd/N4XqAzL2X7+DQr7Q04RE8infD/f3Yvzzc=; b=CCYnInFEEUWHSEOWeW3LepJLZ1P07Tkbmg+u3HopKTIaCuFEnzpHZPYh5w/LWslr7i xazKrR4FnfhOXGC8YBJ4A6YT2/aGlTZV5LTktDJ61coJhV9iPUfBomQdU63muCECJ+ph G/LVKYQqtNJWf2p6ivQ8nqSgKZuFYd/eBYZBsloeQ8YTmW2eiZGTpuQFBIX+Ek00ht5P Fn3vPn5oypn3PEqpxp7LX089pLkXJN+niFny3qkzqfeVtSiJ9LhfbDaFK+Oe31FsrBkG gAsmeNzsFO2rrG3dqxpGwf89z1NmqU3Eh8lM7pentt0wbZnPGPYxATJ8dfxuAQc+qVOZ DVNg== X-Gm-Message-State: AOAM530HKnRIZtumGbUR8oEtvDhlz51oHv7I7sMe87MbRCauJYju10Vi iqrqKs70WsE5WOnQ1sjImqquYg== X-Received: by 2002:a17:902:d202:b0:13a:709b:dfb0 with SMTP id t2-20020a170902d20200b0013a709bdfb0mr6146219ply.34.1631451572560; Sun, 12 Sep 2021 05:59:32 -0700 (PDT) Received: from localhost ([204.124.181.224]) by smtp.gmail.com with ESMTPSA id e11sm4120094pfn.49.2021.09.12.05.59.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Sep 2021 05:59:32 -0700 (PDT) From: Leo Yan To: Mathieu Poirier , Suzuki K Poulose , Mike Leach , Alexander Shishkin , coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Leo Yan Subject: [PATCH v4 0/2] coresight: Fix for snapshot mode Date: Sun, 12 Sep 2021 20:57:46 +0800 Message-Id: <20210912125748.2816606-1-leo.yan@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series fixes the snapshot mode in the CoreSight driver. The first patch simplifies the head pointer handling for AUX buffer, the second patch updates the driver comments to reflect the latest status for perf tool. Changes from v3: - Made the comments generic in CoreSight drivers (Suzuki). Changes from v2: - Minor improvement the commits for patches 01 and 02. 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 | 5 ++--- drivers/hwtracing/coresight/coresight-tmc-etf.c | 5 ++--- drivers/hwtracing/coresight/coresight-tmc-etr.c | 15 +++++---------- 3 files changed, 9 insertions(+), 16 deletions(-) -- 2.25.1