Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp528498pxb; Tue, 14 Sep 2021 03:11:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyU7LYiOn5pBR0Rcan7OU5b9fGYNwmr66k92CH2fGqODT7c9J3RvRBCIYzdtv9wK/f474L0 X-Received: by 2002:a5e:8d04:: with SMTP id m4mr13053191ioj.149.1631614285428; Tue, 14 Sep 2021 03:11:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631614285; cv=none; d=google.com; s=arc-20160816; b=Bjlhj7SuANJLoBWB/6QYFnE2g8RFl8WvmOLYTd+4ayEjDzEGnkmSs47GMaUrVxgaTs BQHQPBSrWveCUVTFKIw7GS/g62z8DO4Wt/chKEc1VJd4yEL3yMoG7uIIOgq2EIEj4AYF gwh1VgpPCRtkTKX7xeV06AworSGrsJIcsEDxgiInzi8Z/KZDIFvUwjwMJV12SuX1T1V6 lEUs9jvOB1xZpoAjStp9yYc0G79Pak/VnPR8VR9YYJJcWLNygGthYFa3ppOoxqQkIseS Yri1f/29ar2GKschRMri9idYkPpcBm0he+U+QtaLk4oeg9/rkwwvK0OLGMps8JYRPbqT pXVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8xfW5n5lGYHVjHYEbwTg272CCVO8ZvflsK9NBrpkrL8=; b=o8c/P2vmCyEjlRcZliYMZEuLhTqITnE4mWoDQMCih9nGqqWGFAGyvhJO/7Fqy2W1Dc jd8pcEMRXW3blswcSQW+q4ce3pLiDDcU9OO74qATsiDWcGjxEz02laciZzPdN38isWg3 ewRTQSVvt+4GhBVeeSEC8eH2LMkOAl2D4vAuNY/poKaQyiVkllcbrHELwkrp5BzSSN6i oGG4yhJYsJR8wqe2DTIQzchtwrF0r9fZ588G/OvC+XVcHoY0Satu8p3mm3SoTUwGzX0q Saoz7gN2uxGdSgpakX2IuAmGfhbLLkASrn9xVpDQ8PZDBJUdCVK44KhPMhU+PMFf/Z/O IEig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SnNwn7UQ; 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 l39si9456192jac.108.2021.09.14.03.11.13; Tue, 14 Sep 2021 03:11:25 -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=SnNwn7UQ; 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 S231389AbhINKKN (ORCPT + 99 others); Tue, 14 Sep 2021 06:10:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231352AbhINKKM (ORCPT ); Tue, 14 Sep 2021 06:10:12 -0400 Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57FB8C061762 for ; Tue, 14 Sep 2021 03:08:53 -0700 (PDT) Received: by mail-pg1-x52a.google.com with SMTP id w8so12217930pgf.5 for ; Tue, 14 Sep 2021 03:08:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=8xfW5n5lGYHVjHYEbwTg272CCVO8ZvflsK9NBrpkrL8=; b=SnNwn7UQ8QhZcGeDD0myjSpJ7z0VOD8lcXL+A4oGbNlWV0dzX/atBgXx/r4Glvvkbs fYSR6NP4moNEEX24Ry62rkXiJuDpLyPiD6gOqzoNKwpCRh+piuvmZYBKc51uOLIuT1cG S9vPVbBmBY2XvAB2chVphNaTjYMF2pMMmgYrs9DGMHcnGOu5AnU602gPxeMmXBjMCk1H NdZHpRk17CLU7mQ+1Eq2AfLAYdS7wq+S8xpQ7cQgppsLpTNRLF4Mo5ZZJewjZDLvu/tA EbIO+i2m4o/IO9ArY6gXKXstApZ/+bcDLL34I/uavVWnYCTh67rNUCOWez8oGU4fjvPi hhtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=8xfW5n5lGYHVjHYEbwTg272CCVO8ZvflsK9NBrpkrL8=; b=izOlCjJ5kz8dvwuHUUdIY0ZjuHaavJvva7fzQpep/ZPWD9I3gbM/N2vih8GT5OPcdm iZEA2pcmbiOP7UY2nzNbt8wuzc8LaG9jDr5s+wMfoHNV3mvf3lq2mE334mQcyT9EZjeq tTR8pnH5uFPrT+Hte0N4Xpkjy58K94zHojsdHt+F5Z+Kf1Agz6BWxgB/etWIUogFZDtB gC9r8O8n0S+UPzCMmvHR4JPhqjOhW8sMLOlns36C/9EJZQp05SYcuI9WSzu2ouNi4HJQ OwBSZxZ4YU3Q4A7XwqyqjLKmPI2YANknnZWwhcOc6ZfojMCyDEDKjbDAPqsPHpOYiIYT SPJw== X-Gm-Message-State: AOAM532urCeB1S2HGm3vZ2cW/GUkiAeTU9JtYfOHWSJAXr9Ci+lwcarT eQjlbuPi6aEDMPSs0CYvsaWDpw== X-Received: by 2002:a63:7045:: with SMTP id a5mr14635597pgn.404.1631614132722; Tue, 14 Sep 2021 03:08:52 -0700 (PDT) Received: from leoy-ThinkPad-X240s ([204.124.181.224]) by smtp.gmail.com with ESMTPSA id g9sm8012220pfh.13.2021.09.14.03.08.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Sep 2021 03:08:52 -0700 (PDT) Date: Tue, 14 Sep 2021 18:08:47 +0800 From: Leo Yan To: Suzuki K Poulose Cc: Mathieu Poirier , Mike Leach , Alexander Shishkin , coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 2/2] coresight: Update comments for removing cs_etm_find_snapshot() Message-ID: <20210914100847.GD1538480@leoy-ThinkPad-X240s> References: <20210912125748.2816606-1-leo.yan@linaro.org> <20210912125748.2816606-3-leo.yan@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 14, 2021 at 10:27:26AM +0100, Suzuki Kuruppassery Poulose wrote: [...] > > diff --git a/drivers/hwtracing/coresight/coresight-tmc-etr.c b/drivers/hwtracing/coresight/coresight-tmc-etr.c > > index d23c7690f29a..ce14eb83925c 100644 > > --- a/drivers/hwtracing/coresight/coresight-tmc-etr.c > > +++ b/drivers/hwtracing/coresight/coresight-tmc-etr.c > > @@ -1573,9 +1573,8 @@ tmc_update_etr_buffer(struct coresight_device *csdev, > > /* > > * In snapshot mode we simply increment the head by the number of byte > > - * that were written. User space function cs_etm_find_snapshot() will > > - * figure out how many bytes to get from the AUX buffer based on the > > - * position of the head. > > + * that were written. User space will figure out how many bytes to get > > + * from the AUX buffer based on the position of the head. > > */ > > if (etr_perf->snapshot) > > handle->head += size; > > > > > Thanks for the revised patch, I have queued both the patches. Cool, and thanks Suzuki!