Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4560182imm; Wed, 30 May 2018 07:51:30 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL6pRqwHNNWzW7WEmZVrcxwselDSBIOR0tYBWyZpGRtLmdh2RtBzf/9YqfZO1OXJRjMMUkK X-Received: by 2002:a63:b405:: with SMTP id s5-v6mr2577442pgf.334.1527691890646; Wed, 30 May 2018 07:51:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527691890; cv=none; d=google.com; s=arc-20160816; b=Jea6xamPczSOC711JISn3BTxafdMcdR2r3QADjFc5I/AnSqKrxeYSP0UAlJE0l22y9 4esZLbaL6kne1rEq6pdtRvVda7qCziLZmhzxzLayJFgCn3Ta2J2pxcO/yI5booJNfUgz +EkMzlZrtz4uONav8ilEq7EQS/aJ75itJsKFG3faofdR2n9FrgOaW629RNTlKytsiaVy zQt2IVEyTfmCUWUQSC4qGqqK4lYQv+48H7MuhnvuD+TuZuc42fk/8mASU/IlaOsM3xIC JM+WYcEzImEVlTe0JSQzJu8AOoCQQd2vxvr/nYC7xJ4j0Hm1qrwo9bTAqnhePrI6JjYT gwsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=IDgA5K7I0GxeyPvD9JfEgpIr3ANxC6/6aIkueI4vNwo=; b=ngJQu0Rhq1ux5k621Z+ALkgyUlKlq2t5h7SSh/eusvniiVNu2TXNkGB5+9HjMGys2f qqREWyNUacx66Y5LwU3lR9h54vWfoHBdjel4h8I6Xd//Pkc6vm819rMb1mVxx2qmmU9q ZM/JLVNINGRtWXGIchWLbPjP+OtugeT/QtxUpBv/dNoxmFXeFmuF1JAv3m5QehYmKHwZ axAzEauq0VU+/iGgXmcxoXeKV9asjLrHILTcnkdDh7SOdvfc5vqQj5Cdi94PvpHMbcRD S6CNI+gcAkQ8xZMKwtm9hor+bg1yc0AoLPuu/ANMQvNusvQZBaY7T1JXEufCGyVB1RKC 9Omw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Hrfkxg31; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w189-v6si14013461pgb.431.2018.05.30.07.51.15; Wed, 30 May 2018 07:51:30 -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=@linaro.org header.s=google header.b=Hrfkxg31; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751702AbeE3Oth (ORCPT + 99 others); Wed, 30 May 2018 10:49:37 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:39060 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750914AbeE3Otf (ORCPT ); Wed, 30 May 2018 10:49:35 -0400 Received: by mail-wr0-f193.google.com with SMTP id w7-v6so17900261wrn.6 for ; Wed, 30 May 2018 07:49:35 -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:user-agent; bh=IDgA5K7I0GxeyPvD9JfEgpIr3ANxC6/6aIkueI4vNwo=; b=Hrfkxg31ej5tRBrYftpB7MyijsifMBxHdDH9bgNv0ghbE12nqZXQ8GreI4LyfpWJNr 8Hn3kaMwPqWQ2IRyJPSi/5f8pUovhgf9UkEBX1kjb5TNGLE+pVyA/adrb+ooHnZ6xwQD oE0RF6tHkGYkLQU8YKSzWHW4rraGP456SsAxo= 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:user-agent; bh=IDgA5K7I0GxeyPvD9JfEgpIr3ANxC6/6aIkueI4vNwo=; b=QaIniBOBTykYM8yioV8nivEPnIOSD6WfjAupYLSbm4pEG0uaSfCykRuWKU0dYmOzA8 xE9pTQWrPW5OvTFOZgVVVCvYI5oiu6wmuTPabBDi7BSy+edL75hN53PX9VzmZov7c0ru J0WhSvYSop97FxpKyutTzX2YtTmSvpVYzYwYlOtWXkJ+qjArco3zwMxXyzZ6ztijZt2v o0ccrjpO8KbzWdQ5DrgGkVjHslwKZf3Dkjww1/IlFUbHyhd3vZBeDEM+uUJr91b2ig6u 6DTKeihZhCEbzljmwFPlDd98L6iD/NtpEGYqAVexxsoJCm2uc6Na7FWZoJmlY9c88vCS FH+Q== X-Gm-Message-State: ALKqPwf68YfLWFXZKtomrtnAkzDidbDVdXkUVLVdIwe8NN7Mil80dtOe 6m+ZwwohTPKgsM98xqQWG5pppw== X-Received: by 2002:adf:8607:: with SMTP id 7-v6mr2310922wrv.255.1527691774395; Wed, 30 May 2018 07:49:34 -0700 (PDT) Received: from leoy-ThinkPad-X240s ([45.76.138.171]) by smtp.gmail.com with ESMTPSA id k36-v6sm12133580wrc.20.2018.05.30.07.49.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 May 2018 07:49:32 -0700 (PDT) Date: Wed, 30 May 2018 22:49:22 +0800 From: Leo Yan To: Mathieu Poirier Cc: Arnaldo Carvalho de Melo , Jonathan Corbet , Robert Walker , Mike Leach , Kim Phillips , Tor Jeremiassen , Peter Zijlstra , Ingo Molnar , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-arm-kernel , "open list:DOCUMENTATION" , Linux Kernel Mailing List , coresight@lists.linaro.org Subject: Re: [RFT v3 1/4] perf cs-etm: Generate branch sample for missed packets Message-ID: <20180530144922.GB12368@leoy-ThinkPad-X240s> References: <1527497103-3593-1-git-send-email-leo.yan@linaro.org> <1527497103-3593-2-git-send-email-leo.yan@linaro.org> <20180528221347.GA4109@xps15> <20180529002538.GA11317@leoy-ThinkPad-X240s> <20180530002837.GB11923@leoy-ThinkPad-X240s> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 30, 2018 at 08:45:46AM -0600, Mathieu Poirier wrote: > On 29 May 2018 at 18:28, Leo Yan wrote: > > Hi Mathieu, > > > > On Tue, May 29, 2018 at 10:04:49AM -0600, Mathieu Poirier wrote: > > > > [...] > > > >> > As now this patch is big with more complex logic, so I consider to > >> > split it into small patches: > >> > > >> > - Define CS_ETM_INVAL_ADDR; > >> > - Fix for CS_ETM_TRACE_ON packet; > >> > - Fix for exception packet; > >> > > >> > Does this make sense for you? I have concern that this patch is a > >> > fixing patch, so not sure after spliting patches will introduce > >> > trouble for applying them for other stable kernels ... > >> > >> Reverse the order: > >> > >> - Fix for CS_ETM_TRACE_ON packet; > >> - Fix for exception packet; > >> - Define CS_ETM_INVAL_ADDR; > >> > >> But you may not need to - see next comment. > > > > From the discussion context, I think here 'you may not need to' is > > referring to my concern for applying patches on stable kernel, so I > > should take this patch series as an enhancement and don't need to > > consider much for stable kernel. > > Yes, that is what I meant. Thanks for confirmation, will send new patch series according to the discussion. [...] Thanks, Leo Yan