Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4666700imu; Tue, 29 Jan 2019 05:36:56 -0800 (PST) X-Google-Smtp-Source: ALg8bN50zbfbVF9dEajSLgGc+2bYn/e/hPr2zfVhRfyWetoTlE3OqoPCcLcIwTjIepmE+eym1JMk X-Received: by 2002:a17:902:3283:: with SMTP id z3mr26435551plb.76.1548769016231; Tue, 29 Jan 2019 05:36:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548769016; cv=none; d=google.com; s=arc-20160816; b=JE4/MF/IXIxER0ItNbcoT4FEWHNKlQlMIdVP1MSKWj1G3vuLwpanlVQbj8O34cquXp +u1YKEuMDmaWt4ME5tJZNLW2OVfbRnTzQj1gqELOYOKyX0O6r50cQiclaOvyRgU9qcI1 DNsbifpqt/JqDTmZaK48KoLXIiFaQ7lwnq/bSWiCu/IBJxLGlNfr3IMpT62MjbnruMkV oEMjOMc6oq7CqZ1K399gu9dqzp6S8EGlpq8QijiArQExdRizPfzQuOH1tb2/K7Veyjoq d5tNOaaczRw39b1dNQkN2q4nP4mn9F3pgxgaImHKW58lqVHvVEFOOujSlTfnsCQRMDrG +c7A== 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; bh=qxi6QSw+j9dxu434FQ4Eohm/D/kYWlWKSoDoWJIFfSQ=; b=P4NYu3ZHBxFA31wh9CUISaGG5w+KS3HrbTeQN1OsVNzWMGxuc6/wL43P/CszNs8wRY kQzTwNjCi3JqZVEpvVv4+TvxMF+kpXyDC7ydkS6osrwPkdXBj54S/b0RY8b/dsYLTete vQIEEMncp/ia5nkdM61zIEiRf8aw+NBjOHiwIAWutx6/3hwf9ebY/EGKwTMmbzhOI0dP hwHrL2pYF/uGd1xy3qtCSyHajP72JywFz1R2gX5d+iAfQX8MgVjCNKeNxtJno7X0SlJM 3EdMsKD5+JMizhuUZg4hp9uvjd4ocFuaiAxjay9LMONDqmJQVb1JR1w9A2p/PLkdf1t8 bW+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LZoE2FPm; 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 k69si32954302pga.176.2019.01.29.05.36.41; Tue, 29 Jan 2019 05:36:56 -0800 (PST) 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=LZoE2FPm; 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 S1728687AbfA2NgW (ORCPT + 99 others); Tue, 29 Jan 2019 08:36:22 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:44100 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728509AbfA2NgO (ORCPT ); Tue, 29 Jan 2019 08:36:14 -0500 Received: by mail-pl1-f193.google.com with SMTP id e11so9337824plt.11 for ; Tue, 29 Jan 2019 05:36:13 -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:user-agent; bh=qxi6QSw+j9dxu434FQ4Eohm/D/kYWlWKSoDoWJIFfSQ=; b=LZoE2FPmISmtfs+I7I9xm3NRRErollRnEo43E64ov7MSBLi2iBTAWKPHtpeDS4dOuQ noiK5ttdgOdd6OJFOBoPQDx5w8PLEQyhTCBLodiAPNRIxyd4achKz9PBUtrLQoH9amKm Vq60w2C0qg0T0LERlwpjLBbpOv7sOvs96dYkk= 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=qxi6QSw+j9dxu434FQ4Eohm/D/kYWlWKSoDoWJIFfSQ=; b=UOSlmzbQPg1VruYGy9M4VDhKO+8+rYWt5PHVZ6v8KBbMYCKOmLD8p/A8UacXEtbvKq OYKcTG5+l/WVF5mZIfmBGwfOiBrC2Qqps20UHOsXpSnLq+5fg/K8NxBIywjNgSVpLK4p NkYJ2iQhuRFBgcKFzAqMUi+eEBKE1b0uzvSm2a0fRFzmXRwFgEZsitOIVGK5FnILq52P WSy6MOsmVNwAJWZ6LrRm5Dvmu15WAtnGSBKKzrqqbGiHEx6yo6ZakXSJCHfoK1tYUr8g jUj49cTJcf6d6SkZp2eKrGHY5h3P8CzdPDE62pT0nWePb8+K/HqxU4wBs/bMGHbqJT+F ds1g== X-Gm-Message-State: AJcUukdqZNeBE0s/bwHaZz7HnR+WHJCuqLcESPLL3zj6lbb/btnoCzM3 1H+glMRsrZoZ2ad3wKEtckwX5g== X-Received: by 2002:a17:902:b40d:: with SMTP id x13mr26412540plr.237.1548768973317; Tue, 29 Jan 2019 05:36:13 -0800 (PST) Received: from leoy-ThinkPad-X240s (li569-141.members.linode.com. [192.155.82.141]) by smtp.gmail.com with ESMTPSA id b7sm48660638pfa.52.2019.01.29.05.36.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 Jan 2019 05:36:12 -0800 (PST) Date: Tue, 29 Jan 2019 21:36:05 +0800 From: Leo Yan To: Sai Prakash Ranjan Cc: Rob Herring , Mathieu Poirier , Suzuki K Poulose , Mike Leach , Alexander Shishkin , Andy Gross , David Brown , Vivek Gautam , Jeffrey Hugo , Doug Anderson , Stephen Boyd , Bjorn Andersson , devicetree@vger.kernel.org, Mark Rutland , Marc Gonzalez , Rajendra Nayak , Sibi Sankar , Tingwei Zhang , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCHv5 6/7] coresight: debug: Add Unique Component Identifier (UCI) table Message-ID: <20190129133605.GB16669@leoy-ThinkPad-X240s> References: <1019e6fed1ade6a580f01df9b3f70c2a9df5b3be.1548419933.git.saiprakash.ranjan@codeaurora.org> <20190129132528.GA16669@leoy-ThinkPad-X240s> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190129132528.GA16669@leoy-ThinkPad-X240s> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 29, 2019 at 09:25:28PM +0800, Leo Yan wrote: > On Tue, Jan 29, 2019 at 12:44:03AM +0530, Sai Prakash Ranjan wrote: > > Add UCI table and a helper macro for coresight CPU debug > > module. This patch adds the UCI entries for Krypo CPUs > > found on MSM8996 which shares the same PIDs as ETMs. > > > > Without this, below error is observed on MSM8996: > > > > [ 5.429867] OF: graph: no port node found in /soc/debug@3810000 > > [ 5.429938] coresight-etm4x: probe of 3810000.debug failed with error -22 > > [ 5.435415] coresight-cpu-debug 3810000.debug: Coresight debug-CPU0 initialized > > [ 5.446474] OF: graph: no port node found in /soc/debug@3910000 > > [ 5.448927] coresight-etm4x: probe of 3910000.debug failed with error -22 > > [ 5.454681] coresight-cpu-debug 3910000.debug: Coresight debug-CPU1 initialized > > [ 5.487765] OF: graph: no port node found in /soc/debug@3a10000 > > [ 5.488007] coresight-etm4x: probe of 3a10000.debug failed with error -22 > > [ 5.493024] coresight-cpu-debug 3a10000.debug: Coresight debug-CPU2 initialized > > [ 5.501802] OF: graph: no port node found in /soc/debug@3b10000 > > [ 5.512901] coresight-etm4x: probe of 3b10000.debug failed with error -22 > > [ 5.513192] coresight-cpu-debug 3b10000.debug: Coresight debug-CPU3 initialized > > > > Also add a helper macro to make adding CPU PIDs easier > > similar to ETM4X driver. > > > > Signed-off-by: Sai Prakash Ranjan > > Looks good to me and tested on my Hikey board (though I cannot test > for a device with UCI ID): > > Reviewed-and-tested-by: Leo Yan I just now found if apply this patch onto coresight next branch [1], it will conflict with patch 'coresight: cpu-debug: Support for CA73 CPUs' [2]. Sorry if introduce regression by this. Hi Mathieu, could you confirm should apply this patch onto to coresight next branch? [...] Thanks, Leo Yan [1] https://git.linaro.org/kernel/coresight.git/log/?h=next [2] https://git.linaro.org/kernel/coresight.git/commit/?h=next&id=14420b405d03cd160b5ace283693ce5b1cf273fa