From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sai Prakash Ranjan Subject: Re: [PATCHv4 1/4] arm64: dts: qcom: sdm845: Add Coresight support Date: Fri, 25 Jan 2019 00:01:04 +0530 Message-ID: <1384cbbb-6e3e-f2e3-5ea4-8d0b237d64c7@codeaurora.org> References: <1bd39862-0725-70ce-6535-fdb59569f683@arm.com> <75ed74af-6946-b86d-092e-42dc16e55308@codeaurora.org> <91a90daa-9e14-2d2e-e633-2ddfdc0955bf@arm.com> <3906faf1-abbd-9c28-ad55-ed3800f06352@codeaurora.org> <5b54c6e0-7d22-ecee-486f-31333f49f84a@codeaurora.org> <71ae9f41-50ff-742b-3e12-ca2ce84e0d3c@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Mathieu Poirier Cc: Suzuki K Poulose , Rob Herring , Leo Yan , Alexander Shishkin , Andy Gross , David Brown , Vivek Gautam , Doug Anderson , Stephen Boyd , Bjorn Andersson , devicetree@vger.kernel.org, Mark Rutland , Rajendra Nayak , Sibi Sankar , linux-arm-kernel , Linux Kernel Mailing List , linux-arm-msm , John Horley List-Id: linux-arm-msm@vger.kernel.org Good day Mathieu, On 1/24/2019 9:37 PM, Mathieu Poirier wrote: > Good day Sai, > > On Wed, 23 Jan 2019 at 13:18, Sai Prakash Ranjan > wrote: >> >> Hi Mathieu, >> >> On 1/24/2019 12:44 AM, Mathieu Poirier wrote: >>> On Wed, 23 Jan 2019 at 05:12, Sai Prakash Ranjan >>> wrote: >>> >>> That depends on whether the ETMs have been modified at all, something >>> Suzuki has asked to be clarified. If ETMs have been modified then we >>> need to understand how they differ from the driver's implementation. >> >> We had asked hardware team for clarification regarding this. Let me >> poke them again. As for the driver, downstream implementation also >> uses the same driver, so I am not sure what do you mean by differing >> from the driver's implementation. > > The driver has been implemented in accordance to ARM's coresight > technical reference manual and expects the HW to behave in accordance > to that specification. Here we want to make sure the IP on your board > is conformant to the same specification. If not then the driver needs > to be made flexible to handle both kind IPs. > The HW does behave as per the specification. As discussed in reply to Suzuki, Coresight peripherals do use JEP106 ID of ARM for SDM845 and for MSM8996, the ID is of QCOM(0x70) since it was not based on any ARM derivative. And the etm4x driver handles it all well. Other values of PID registers are implementation defined and can be different from standard ARM cpu core types. Thanks, Sai -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation