Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1311985ybl; Fri, 23 Aug 2019 17:31:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqw2UPCO4PwJEyi9IzN7viGyQWZG21xNUxvcz28U48eAbYNN0TxCpYo0zDNZVy0S4g/r+6Ee X-Received: by 2002:a17:902:f64:: with SMTP id 91mr7660187ply.334.1566606680716; Fri, 23 Aug 2019 17:31:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566606680; cv=none; d=google.com; s=arc-20160816; b=xJnheh3f/sM5Q6ffkq4hZ9BQIoLSgRdw7EN3mJ4Axxx+9KOO49GZohIiaNVrEShDDG 6h3Jnx6Pl4QwDQYTBkeDpqPtlEaHi4JX1DL1lovy/ipiuAGAd2ptDK8ZHShXSFVBBmCn YKVtFcFOqwVQBc8LokNjgSBnruwP6Y2ThPmd/hbarts3CqatrEp/J3Y6k/wg9TB05U5Z 2oOaFRYdM+56+44recwAORGm43VVR2Kb8e5p/wfH/ArvBHi9A3pqKri5EJzwh2fm0/mK JtAB6gtNtmWWGjRe27gLzExewRDp7EepN3sAqG3+reJu/uC/T1N78Ip05bCKwbar7PBb 9erg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:references :mime-version:message-id:in-reply-to:date:dkim-signature; bh=zkT1VJzOlMpr+PFhdjulVHmUztYGPpsUcL1mcrD/sx4=; b=MROokOYPYnUXN+AoEuiun/F/WIay3L1IfTs0B/xBm6gFg/8/G876r3b7Qc1YV9rTs7 tn6I1rNct4buR74Yn4QPsWz1w+XtfdVDAXj1eII2zp58IerN25D/jQ4Jf0CdSI4kw786 deojxdX7LcEKVCvG6baZxmAUGq0QfLXOKqNf0+XZSRiCMzCmGcVdp4O7ojD/LNSgLnYp SylRO/VHuKl/d2CLkZz+rEMgk+4URG87Y/kXmtE8GjLtMM+aRPxqYVvSuK5+IDgbW5p2 Jl8CsQlpX0AYTkn9sCfgre2ioj6Zf5PkkECKXLMN7YHrYUYZwgbnfb3ZFJQ2m+WcoXIb QoKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=XV0kIGfN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j1si3019248pgb.482.2019.08.23.17.31.05; Fri, 23 Aug 2019 17:31:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=XV0kIGfN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726824AbfHXAaI (ORCPT + 99 others); Fri, 23 Aug 2019 20:30:08 -0400 Received: from mail-pf1-f201.google.com ([209.85.210.201]:52873 "EHLO mail-pf1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726416AbfHXAaI (ORCPT ); Fri, 23 Aug 2019 20:30:08 -0400 Received: by mail-pf1-f201.google.com with SMTP id a20so7621894pfn.19 for ; Fri, 23 Aug 2019 17:30:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=zkT1VJzOlMpr+PFhdjulVHmUztYGPpsUcL1mcrD/sx4=; b=XV0kIGfNLhFKDErAKV4H4RtNR00mLJJVXSCIWoEkw/0J2J6foBPWW7JP1DLkyJdJ4L kslBmPi0XhLhRoam2pwpXrta1dWTQ7E0fdwmqbqss+eWXhDlJPc3Fi4LlIXSZiFo/bst qPTbxxIAp5g0EF/0rDGLgJ3drfj00RbQvupJYLutusnyop98Z5bl9AUmCy/5uLG7jnrT WEhaEh5HdYmQzG6Jh4R7QXoWAfRasZfFn5EH3kbWZIwMNJW/EQKSQLWN9b0s1J0EiRLj 7mnEAq9of1Of2/H+G93xViCMwhHYB5b7V3wPJh49LbTX4J50fGbjmj0sp2XiR6RWkcSg 086w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=zkT1VJzOlMpr+PFhdjulVHmUztYGPpsUcL1mcrD/sx4=; b=iSSF021w7ifrjPyE5T1PR9nu3bjnv/3XWSMVyuSuv53KSY5QCF8/9RLJwf0xvXZeF/ PMewxX7bFaoDZgcMK9CKtwBZrQk/4h4h4oiUMTm4vGu7HTPDHfl/uuXE9n8KQFsK8tuK 7epWMP/3cYuQxad6GUPfodOgwosUipE7GSE+d8cj+77Z2Aa7eTNGFggteWbQGGI7L/jl 3ehnB8NenxhFlUg3H3kzssZ2xyWEEtmzn6xoaHyFgNd54PF+MFD3aUoqEAbsm/L3Fqbp nqEoiyQBuNMzoUySsmHGKtemJj4SqRRp6wI9xo3VA2TYMWrYWtrgGCUJ5OUaqdf6hAm4 2jcw== X-Gm-Message-State: APjAAAWHV/rfQQnXpm3R+ELacKAHpBr8PbLSPp8akmKRF7mAOkHWN8f6 +LvhKcZKSrkeV8o2IAuKBMh1MSznHA== X-Received: by 2002:a65:65c5:: with SMTP id y5mr6171809pgv.342.1566606606983; Fri, 23 Aug 2019 17:30:06 -0700 (PDT) Date: Fri, 23 Aug 2019 17:30:02 -0700 In-Reply-To: <20190822220915.8876-1-mathieu.poirier@linaro.org> Message-Id: <20190824003002.87657-1-yabinc@google.com> Mime-Version: 1.0 References: <20190822220915.8876-1-mathieu.poirier@linaro.org> X-Mailer: git-send-email 2.23.0.187.g17f5b7556c-goog Subject: Re: [PATCH 0/2] coresight: Add barrier packet when moving offset forward From: Yabin Cui To: Mathieu Poirier , Suzuki K Poulose , leo.yan@linaro.org Cc: mike.leach@arm.com, alexander.shishkin@linux.intel.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Yabin Cui Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks for fixing this problem. I didn't realize it because I usually use a buffer size >= the default ETR buffer size, which is harder to reproduce the problem. The patches LGTM, maybe you also want to fix the problem commented by Leo Yan. I tested the patches by recording etm data with a buffer size smaller than the default ETR buffer size. Then I saw barrier packets when decoding with OpenCSD. And I could decode successfully without error message.