Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp188964pxb; Fri, 5 Mar 2021 19:09:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJxtvs+/ivegpr0SQjV/yW+mx5XE2zCLr6CXfYf6O9i/hQdzfOqj+9sCtR0TVqe0JM24ryGj X-Received: by 2002:a05:6402:31a7:: with SMTP id dj7mr12189170edb.33.1615000154176; Fri, 05 Mar 2021 19:09:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615000154; cv=none; d=google.com; s=arc-20160816; b=c4qobw+woYtstKyhdCZzVGVaW2Gfl3S2+Ezu+dK1Km/54ZVoAVKOe4x7qiczwhbmJA yCL5rELkqgbBpJg6n/OxrkxHVSxpNsuaiU1Hg5h6mhGdwHM69nKfDlV+WA7hhZMrxFFV OgZvnxFqFfXJ0IDAcXhZDvju4Zy8hZnuMtYA1FOAumIKIfbYK/aS7sUsc2mtQ/v6YyqY Pnvok4QB+cIidzO7yXvag7Jc0VtAQOrzBf9L5urV32nSqWs4xwyMfRLtCFyifUY8gMNB xvwvHAvT9CfJv3xq5gSVGlGpAzX6vnHHOC8VrjkWVbBlzyQBcwNBhyTBFzo21gIC/Ppt UL6w== 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=C3NLEHrnsN9ERk6AvvzJ5QN+B7qHrtPpBVa7hDiDUzw=; b=KN30M4qr1mtSNWjuzSu9L1sL00W/I1IDoJoNp1On4y0GpMNbBD1pC8bR240uPLMvyy WsP0wxtk0+HAArJQImR7m4r6JD7rGR9kPNrkRaextxYsJFi3/xCUWcBa+tCtA3fAVUDZ //KqVC/j789pRRi1YiOCEOLhLpsUYX8zzTzOSdZaqpmNYTEhgb4CbBlZFVbWAnhP8bue QLppE8Y2UMu2u6eR/qZxsOUBd89t7COYQtrsBRW7iucDtTDYeh/6Q+o8EFobrZ9KlaGs QgRo/V7LYCvwPzmqPARcBWCCKvq4HQowEaQO8rKYxDuuS6kSm9nwiI+AriqteB2hXzGG s/Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=M1kxf5FF; 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 l1si2356303ejb.137.2021.03.05.19.08.14; Fri, 05 Mar 2021 19:09:14 -0800 (PST) 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=M1kxf5FF; 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 S229701AbhCFDFT (ORCPT + 99 others); Fri, 5 Mar 2021 22:05:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229616AbhCFDFS (ORCPT ); Fri, 5 Mar 2021 22:05:18 -0500 Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD1EFC06175F for ; Fri, 5 Mar 2021 19:05:18 -0800 (PST) Received: by mail-pf1-x436.google.com with SMTP id 16so1964103pfn.5 for ; Fri, 05 Mar 2021 19:05:18 -0800 (PST) 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=C3NLEHrnsN9ERk6AvvzJ5QN+B7qHrtPpBVa7hDiDUzw=; b=M1kxf5FFuBGbYf80LTez2uwZPcP1lv5lFoZXNRisoDLzEBxL3joYrkfG8RN+5hpe/9 6Xz7y+vW23H60eGxTsn2ds+KgMAqSgEcZvR/Pv1INKDfQAowaHJBxE54hwq8JNFDwMDJ 5NV0/J8ns3/MUu+sGdP3OapdxbpgsWQjwL5r47oU6Ixee4nV8BO5zi3OA0Lx0Hrk9jXI 8S0uzY/xMqmEaOhc8vWhKZED4i3M3oWVFxScA3dgqmWmUpGbg7fbNQeZ4G2wgT4ai38r dk93z8mOfi0wNDipeanuJEid7/vsPzDKgi6hKIA8v4Pokh0za8FlmQawRsv6ZWFBqm3i 2YqQ== 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=C3NLEHrnsN9ERk6AvvzJ5QN+B7qHrtPpBVa7hDiDUzw=; b=MXpurqafN1TAroTwD+pYWbqbMsEl64LgOKoMhXIeeQhsVh3s9Npjq343jAP8lyOcxN IRXEQHBTGhfNQC3VOsEUX+wXmJQCN0P8dj/cpx8TU12ZSwHxDMQJc3TD0yemw4yNA1fm e0wcotTp2b/hkhI+LZzgyZr0zXxsWMkDSobu0PtvEJJOdwA2BIN3CO/GfBwr7JXviS6q gfK4z9bOfNVLyk9m733fWWlVHTkIOApDSw3wE2VwSKerkD9jEk9Dmyn7VEgsaKZ446Ye YAtmaXFvUbQOM+rdAZzNubXWobzLti0laW2FXoo/FQWPu0OwL44JkvC2VE/+H+0Aq3b9 omHw== X-Gm-Message-State: AOAM531kcYRukgFb6iZrUQLo4Z2ZLYl8q5onunUuqa9e2LgKUoLzOiLN JzX9/Jv82qSXFj6IJ562Z3RLvQ== X-Received: by 2002:a63:e5d:: with SMTP id 29mr11134045pgo.450.1614999918067; Fri, 05 Mar 2021 19:05:18 -0800 (PST) Received: from leoy-ThinkPad-X240s ([103.136.125.226]) by smtp.gmail.com with ESMTPSA id j35sm3929857pgj.45.2021.03.05.19.05.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Mar 2021 19:05:17 -0800 (PST) Date: Sat, 6 Mar 2021 11:05:12 +0800 From: Leo Yan To: Arnaldo Carvalho de Melo Cc: Mathieu Poirier , Suzuki K Poulose , Mike Leach , Jonathan Corbet , John Garry , Will Deacon , Peter Zijlstra , Ingo Molnar , Mark Rutland , Jiri Olsa , Namhyung Kim , Daniel Kiss , Denis Nikitin , Al Grant , coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 4/8] perf cs-etm: Fix bitmap for option Message-ID: <20210306030512.GD5478@leoy-ThinkPad-X240s> References: <20210206150833.42120-1-leo.yan@linaro.org> <20210206150833.42120-5-leo.yan@linaro.org> <20210208204641.GE2077938@xps15> <20210209015855.GA54680@leoy-ThinkPad-X240s> 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 Hi Arnaldo, On Fri, Mar 05, 2021 at 02:29:44PM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Feb 09, 2021 at 09:58:55AM +0800, Leo Yan escreveu: > > On Mon, Feb 08, 2021 at 01:46:41PM -0700, Mathieu Poirier wrote: > > > On Sat, Feb 06, 2021 at 11:08:29PM +0800, Leo Yan wrote: > > > > From: Suzuki K Poulose > > > > > > > > When set option with macros ETM_OPT_CTXTID and ETM_OPT_TS, it wrongly > > > > takes these two values (14 and 28 prespectively) as bit masks, but > > > > actually both are the offset for bits. But this doesn't lead to > > > > further failure due to the AND logic operation will be always true for > > > > ETM_OPT_CTXTID / ETM_OPT_TS. > > > > > > > > This patch defines new independent macros (rather than using the > > > > "config" bits) for requesting the "contextid" and "timestamp" for > > > > cs_etm_set_option(). > > > > > > > > [leoy: Extract the change as a separate patch for easier review] > > > > > > This should go just above your name - see below. > > I fixed this up and added this patch to my perf/urgent branch, for > v5.12, since the kernel bits are upstream and this is a fix. Yeah, it makes sense to pick this patch into perf/urgent branch since it's a fixing patch. Actually, this patch has been merged into the tmp.perf/core branch [1], after you move it to the perf/urgent branch, I can confirm all other patches for perf tool in this series have been merged into the tmp.perf/core branch. Thanks, Leo [1] https://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git/commit/?h=tmp.perf/core&id=8c559e8d68630d64d932bada633705f6551427df