Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4444309imu; Tue, 29 Jan 2019 01:28:55 -0800 (PST) X-Google-Smtp-Source: ALg8bN4RE9GR6CRKPCfKX0knU++lQXkjpJjjebCj9gIabt1u27uyoC/sqySIM1Gw1qUUXuvqFWdk X-Received: by 2002:a65:49cd:: with SMTP id t13mr23211712pgs.376.1548754135062; Tue, 29 Jan 2019 01:28:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548754135; cv=none; d=google.com; s=arc-20160816; b=j+XcxMOoNnmNrzLfYS8mD4WWYsFEC005DoJLVOBBtsgCsG1IfmQGWgydNQRLLszGgZ hLwrevnT6ZtRVXiQC3TAfemzyHi5CVx7T/de8wnGAIjW2vpQbY9aMKnfhpdsVSwkDkpa G0pJn+Sou4Jk/IMHd08l88AfsFu91JSJg0i5YyVNP+V2GENCL8i/QAx0LOJDNW9w5LK0 Ss94tvkRTVzjxMxCLl6cgdSw+xkUZeXSmzgPlIMHW7cCv6lkjfl+YmgJiw2AVvYjSixe 7P4YccY4NEEUnjD8dX0ZSlHRrMsSSDhT4bSuOf7tXdBUUc3Ot+IhkwNvZ6Tqqh7c0X8f TSRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=4p4EgwoYmwUDvLXmeRwnre/MO5FpR6Oq/8e/Ihq5u7I=; b=KnLLi65WPqf6WCgPu/akK+bHYKJBO1jvAf0rEiJAxof3deo8fojy0yiWOeht/0qFKl BdmNI/Y/himRh7kvBUDFNDws6Bo2CnTsZ9dIg3XodiciXdAfzPk/TuG2k5a+xCBD87Gp jmFogsfH/omWBXN72seHnvEbSxgsYE045708ula40bNDzZt1Z4jMSxu0cnVy4Z2w20mY m/frmwUDJGj58Hcr66oC97YdQlndnMDQ3ACMtngbUEO2QXjKIufZzKJdp9yIwZVcIgCs c87Bj4pezcSFq9rKhCbjNyhrT7DMguFnNatz5p3Kx7Ue/Noxqc+OEa2KjVUcGF8hxiXJ /7hQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l23si34338502pgh.533.2019.01.29.01.28.39; Tue, 29 Jan 2019 01:28:55 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727323AbfA2J2M (ORCPT + 99 others); Tue, 29 Jan 2019 04:28:12 -0500 Received: from foss.arm.com ([217.140.101.70]:60876 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725846AbfA2J2L (ORCPT ); Tue, 29 Jan 2019 04:28:11 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E782E80D; Tue, 29 Jan 2019 01:28:10 -0800 (PST) Received: from [10.1.196.93] (en101.cambridge.arm.com [10.1.196.93]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 030493F7A6; Tue, 29 Jan 2019 01:28:04 -0800 (PST) Subject: Re: [PATCHv5 5/7] coresight: etm4x: Add ETM PIDs for SDM845 and MSM8996 To: saiprakash.ranjan@codeaurora.org, robh+dt@kernel.org, mathieu.poirier@linaro.org, mike.leach@linaro.org, leo.yan@linaro.org, alexander.shishkin@linux.intel.com, andy.gross@linaro.org, david.brown@linaro.org, vivek.gautam@codeaurora.org, jhugo@codeaurora.org, dianders@chromium.org, sboyd@kernel.org, bjorn.andersson@linaro.org, devicetree@vger.kernel.org, mark.rutland@arm.com, marc.w.gonzalez@free.fr Cc: rnayak@codeaurora.org, sibis@codeaurora.org, tingwei@codeaurora.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org References: From: Suzuki K Poulose Message-ID: Date: Tue, 29 Jan 2019 09:28:03 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 28/01/2019 19:14, Sai Prakash Ranjan wrote: > Instead of overriding the peripheral id(PID) check in AMBA > by hardcoding them in DT, add the PIDs to the ETM4x driver. > Here we use Unique Component Identifier(UCI) for MSM8996 > since the ETM and CPU debug module shares the same PIDs. > SDM845 does not support CPU debug module. > > Signed-off-by: Sai Prakash Ranjan > > --- > This patch depends on UCI support by Mike Leach in below link: > https://lore.kernel.org/lkml/20190121233151.13363-2-mike.leach@linaro.org/ > --- > drivers/hwtracing/coresight/coresight-etm4x.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/hwtracing/coresight/coresight-etm4x.c b/drivers/hwtracing/coresight/coresight-etm4x.c > index fe76b176974a..17731a8ae787 100644 > --- a/drivers/hwtracing/coresight/coresight-etm4x.c > +++ b/drivers/hwtracing/coresight/coresight-etm4x.c > @@ -1080,6 +1080,10 @@ static const struct amba_id etm4_ids[] = { > ETM4x_AMBA_ID(0x000bb95a), /* Cortex-A72 */ > ETM4x_AMBA_ID(0x000bb959), /* Cortex-A73 */ > ETM4x_AMBA_ID(0x000bb9da), /* Cortex-A35 */ > + ETM4x_AMBA_UCI_ID(0x000f0205), /* Qualcomm Kryo */ > + ETM4x_AMBA_UCI_ID(0x000f0211), /* Qualcomm Kryo */ > + ETM4x_AMBA_ID(0x000bb802), /* Qualcomm Kryo 385 Cortex-A55 */ > + ETM4x_AMBA_ID(0x000bb803), /* Qualcomm Kryo 385 Cortex-A75 */ > {}, > }; > Reviewed-by: Suzuki K Poulose