Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp58455pxy; Fri, 30 Jul 2021 23:51:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznULO+QhTtszqIVI79Y4cSFjHB1iw9Mrd4ketcPOKpdwdNjSIDTdm9YNfbj79yVgUubPo+ X-Received: by 2002:a05:6e02:5cf:: with SMTP id l15mr4159141ils.90.1627714308118; Fri, 30 Jul 2021 23:51:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627714308; cv=none; d=google.com; s=arc-20160816; b=NA3D7m68v0b4piW3wV5fAUmEa7LiAfzqKpVc2BGUQFFHbdewZfKnspVtSaBUV6OUDl Fu/6J4VKiMxF0HH+231bLK0RtL/SCk+3BNfruuCO8nNrfAQ9GcJqgxdLlqvy67CLwniA KZi7Jdp6+sH3GAnGM19VFjDYiNqMF2gVVHFacNHc/QfPsgByZ/g3W3RnbCcJpEfRmm47 rYj/Bb5LkKQYdCoGn2SVtHx9E9en6qsgAU4jkziVNOlYR8LNlLeWcXnH97WsDZY2RxJM 7hChnyIdkblX8fzEgS/EpQsdlLmUn1ZPeN7F+ztNMTnzH9BV2O+tyUG5qsSpVlVZifL+ wjag== 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=Scp0XsH/8g/xK4xKxJDwfK0sTyUpWpPn5qW5XBp4RlQ=; b=Bt84N0hE+65fasz55ElFPDBV3ztFJ0iukkEPMbj2wcRwLfRTosVz/L0LkGj+/2BgHa b5UTPtuwANZ+C75w1UKV0I0gmTPVmMAgB8ZZZcBCp8zkVdg5xruL50oMFphJ+mBYBMEK evJwgAxqB/6+N6D4A13qCQ00sp9d15p/UhnhlOLOEy7fKimZwbqklBeosRrC1eVFSTm3 z4/WcuQIeQAP6QT6QQC8HouXgHSoGdV0cANFrZcXb3FPR16PQHL6j+Zh9LERpDCqAd73 1lHdQPsi/S7cwsqOUxAyJF8I/IDvoSsYj2gSIOkyqUqG7uRbWQwYE9qJIqwpRW38ic9a tszg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=t5KuRMuq; 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 r6si4707327iov.48.2021.07.30.23.51.36; Fri, 30 Jul 2021 23:51:48 -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=t5KuRMuq; 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 S232196AbhGaGua (ORCPT + 99 others); Sat, 31 Jul 2021 02:50:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232079AbhGaGua (ORCPT ); Sat, 31 Jul 2021 02:50:30 -0400 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8436C0613CF for ; Fri, 30 Jul 2021 23:50:23 -0700 (PDT) Received: by mail-pj1-x1032.google.com with SMTP id g23-20020a17090a5797b02901765d605e14so17536697pji.5 for ; Fri, 30 Jul 2021 23:50:23 -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=Scp0XsH/8g/xK4xKxJDwfK0sTyUpWpPn5qW5XBp4RlQ=; b=t5KuRMuqXwprgBmPyYSxKUd9krVCGGA1/xFNfgaXMbWzxfPTXEG3OEi+Pa0OSrxk51 HD841NZ6TGnggbZXbFfK5Y96Vg6U+w2CtczwKpMsaRA83Qylg6Vmi98cFMDopiEq9Qjv HMnOZNaLE4Oe6e2uXI+ElUBf9dSqD55l6oE470aYX0v0oyAxBcp/Q/Ty/sCsy6RQnekk 6HWpWqrmzvVtxiG4c5ckM0DvM06cAd6/R6JXBGbSrwnp3MVCosssqU/vcmJc/ltpCh9K tcQK8ZganY6dzHe0CwjEduNH4rxJLjM9STZUSvURpuIDdqz62OobXT3en/qIocQjLoUN vFvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Scp0XsH/8g/xK4xKxJDwfK0sTyUpWpPn5qW5XBp4RlQ=; b=Wm85eATQ5jUW+d52EOHlEEcH7+H5qXRSK78aNKNBgzKBQc5sl+CqaL33idSZbHGcQX yrtBZa1CP0Z3EG1ArNt656eXiRU/tCHfJlrUMosN74qll2wBa56aUIDXnjofdYbTK3ml s9CJVXIluTfqICda0Ux/Zyan0OIjgYgQI0zAKPmfI/32NYdxVsYIlyUdL2HRCprKt+VS /fQWD9iTIjOo57Sgg0Gjm4149gYY1vTrEjbQ579mVrFe+dsQbWaxuV+iuCfWyOQsc5nv HimkNIcexJqN0/y3xI+FBPzPyvaljalFuGDrDRhweWkWlijdM8Gryis37cKpBwfTFafM kOKA== X-Gm-Message-State: AOAM531YYqkWi5ayWicOLUHC76eV8/8t/T60w2JrFff9CuQW/8UF9kuv 1xwuCU/CTUnPdLG1kX5oWRtFcQ== X-Received: by 2002:a17:902:76cb:b029:12b:2fb8:7c35 with SMTP id j11-20020a17090276cbb029012b2fb87c35mr5751825plt.16.1627714223124; Fri, 30 Jul 2021 23:50:23 -0700 (PDT) Received: from leoy-ThinkPad-X240s ([204.124.181.43]) by smtp.gmail.com with ESMTPSA id g3sm4423116pfi.197.2021.07.30.23.50.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jul 2021 23:50:22 -0700 (PDT) Date: Sat, 31 Jul 2021 14:50:12 +0800 From: Leo Yan To: James Clark Cc: acme@kernel.org, mathieu.poirier@linaro.org, coresight@lists.linaro.org, al.grant@arm.com, suzuki.poulose@arm.com, anshuman.khandual@arm.com, mike.leach@linaro.org, John Garry , Will Deacon , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Subject: Re: [PATCH 4/6] perf cs-etm: Update OpenCSD decoder for ETE Message-ID: <20210731065012.GD7437@leoy-ThinkPad-X240s> References: <20210721090706.21523-1-james.clark@arm.com> <20210721090706.21523-5-james.clark@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210721090706.21523-5-james.clark@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 21, 2021 at 10:07:03AM +0100, James Clark wrote: > OpenCSD v1.1.1 has a bug fix for the installation of the ETE decoder > headers. This also means that including headers separately for each > decoder is unnecessary so remove these. > > Signed-off-by: James Clark IIUC, only the later patches in this patch set are dependent on OpenCSD v1.1.1. After I checked OpenCSD latest header, this change LGTM: Reviewed-by: Leo Yan > --- > tools/build/feature/test-libopencsd.c | 4 ++-- > tools/perf/util/cs-etm-decoder/cs-etm-decoder.c | 2 -- > 2 files changed, 2 insertions(+), 4 deletions(-) > > diff --git a/tools/build/feature/test-libopencsd.c b/tools/build/feature/test-libopencsd.c > index 52c790b0317b..eb6303ff446e 100644 > --- a/tools/build/feature/test-libopencsd.c > +++ b/tools/build/feature/test-libopencsd.c > @@ -4,9 +4,9 @@ > /* > * Check OpenCSD library version is sufficient to provide required features > */ > -#define OCSD_MIN_VER ((1 << 16) | (0 << 8) | (0)) > +#define OCSD_MIN_VER ((1 << 16) | (1 << 8) | (1)) > #if !defined(OCSD_VER_NUM) || (OCSD_VER_NUM < OCSD_MIN_VER) > -#error "OpenCSD >= 1.0.0 is required" > +#error "OpenCSD >= 1.1.1 is required" > #endif > > int main(void) > diff --git a/tools/perf/util/cs-etm-decoder/cs-etm-decoder.c b/tools/perf/util/cs-etm-decoder/cs-etm-decoder.c > index 5972a8afcc6b..60147c908425 100644 > --- a/tools/perf/util/cs-etm-decoder/cs-etm-decoder.c > +++ b/tools/perf/util/cs-etm-decoder/cs-etm-decoder.c > @@ -13,8 +13,6 @@ > #include > #include > #include > -#include > -#include > > #include "cs-etm.h" > #include "cs-etm-decoder.h" > -- > 2.28.0 >