From patchwork Tue Jan 22 13:37:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sai Prakash Ranjan X-Patchwork-Id: 10775517 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1DE091390 for ; Tue, 22 Jan 2019 13:38:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0B3D4296CB for ; Tue, 22 Jan 2019 13:38:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F2FF0296D1; Tue, 22 Jan 2019 13:38:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8F6D8296CB for ; Tue, 22 Jan 2019 13:38:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Rw2hmfcDpUbPVqEHPEVkl5H3Z4p5cqebBLs1stCQQBc=; b=rwU933520D3hdh s99kPITSxylmkwbKqSVPrHdY8Rmv3EoBXnCHbP60SJTn7J+7QdpOvp389BYYXYCglmJWm6a/NXhUB BvRYn/tX8xJtd7ZRQg5DBnjbM+KI7Jn6DiAXAwhhjKCwDLc/w99D3MYmsHIsu4UHapMxc4zej5Kg2 CxOW4MGi6U5c0rUD0q4xPjWfQDptsIQOmbZT0movCUD6AvtM5KG0/D9FHecBkxIHjFqceGtTCzqef JRH5uu5n5+4sAYiRLYiTBFuDF3sNK5SpTn/s4Jhcw4G/6CNZQsphirR0n1vfXM1tApg1UodUEYsGz BefjwH/+b5vvdaaoEhMA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1glwGV-0004xM-G6; Tue, 22 Jan 2019 13:38:55 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1glwGH-0004vR-4R for linux-arm-kernel@lists.infradead.org; Tue, 22 Jan 2019 13:38:49 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id CE0FA60878; Tue, 22 Jan 2019 13:38:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1548164320; bh=AeO6YVrXQaCQWMaqoJ3T+dWsP92lPbRoPKBgMrnDzUg=; h=From:To:Cc:Subject:Date:From; b=e7Fa5WMzXzE+ny5JAJEPTXrTWKLQY1WBL1janH9JD+AzaX7z/YTwi1DBzL8//cSiU sfbpVk3oaFcfKiDqtZst4QGx1pKuHriv9zs2cVJw22KJLKq+HhKHuwWZusSiv39YTH Wth9MFLn7dZ/bovEx9aJ6EUq9faKXxkMUifeEXzw= Received: from blr-ubuntu-253.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: saiprakash.ranjan@codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id C0DDC609C1; Tue, 22 Jan 2019 13:38:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1548164311; bh=AeO6YVrXQaCQWMaqoJ3T+dWsP92lPbRoPKBgMrnDzUg=; h=From:To:Cc:Subject:Date:From; b=c2G+umDODiNSjuTnRJq+57g/v9OfoLB+fheexS/X1H3v0lgeNcdOM3opmG8AvkYCC pST+tfmFMPsgad2JvPoEOsrWFkTETbMe1VaNgJIMrLDtymnigKi7XJSelodI1/CHtH QIOS77grnT2qJoAfnioUEvwvyeS9E83NK88wS6gs= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org C0DDC609C1 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=saiprakash.ranjan@codeaurora.org From: Sai Prakash Ranjan To: Rob Herring , Mathieu Poirier , Suzuki K Poulose , Leo Yan , Alexander Shishkin , Andy Gross , David Brown , Vivek Gautam , Doug Anderson , Stephen Boyd , Bjorn Andersson , devicetree@vger.kernel.org, Mark Rutland Subject: [PATCHv4 0/4] Add coresight support for SDM845 and MSM8996 Date: Tue, 22 Jan 2019 19:07:53 +0530 Message-Id: X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190122_053841_394116_44908D81 X-CRM114-Status: GOOD ( 12.59 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sai Prakash Ranjan , Rajendra Nayak , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Sibi Sankar , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch series adds support for coresight on SDM845 and MSM8996. * Patch 1 adds device tree nodes for SDM845 coresight components. * Patch 2 adds device tree nodes for MSM8996 coresight components. * Patch 3 enables support for ETMv4.2 and enables SDM845 to make use of same driver(etm4x). * Patch 4 is a trivial removal of duplicate header file. Patch 1 and 3 depends on below AOSS QMP patches by Bjorn: https://patchwork.kernel.org/patch/10749469/ https://patchwork.kernel.org/patch/10749481/ https://patchwork.kernel.org/patch/10749479/ https://patchwork.kernel.org/patch/10749475/ This patch series has been tested on SDM845 MTP and MSM8996 based Dragonboard 820c. v4: * Mask out the minor version as suggested by Mathieu. * Add the dependent patch description in patch 1. v3: * Added arm,scatter-gather property as suggested by Suzuki. v2: * Added coresight support for msm8996 based on Vivek's patch. Cleaned up and added coresight cpu debug nodes for msm8996. * Merged coresight dtsi file into sdm845.dtsi as suggested by Bjorn * Addressed Mathieu's feedback about masking the minor version in etm4_arch_supported() and added a comment for reason to bypass the AMBA bus discovery method. Sai Prakash Ranjan (3): arm64: dts: qcom: sdm845: Add Coresight support coresight: etm4x: Add support to enable ETMv4.2 arm64: dts: qcom: sdm845: Remove the duplicate header inclusion Vivek Gautam (1): arm64: dts: qcom: msm8996: Add Coresight support arch/arm64/boot/dts/qcom/msm8996.dtsi | 448 +++++++++++++++++ arch/arm64/boot/dts/qcom/sdm845.dtsi | 449 +++++++++++++++++- drivers/hwtracing/coresight/coresight-etm4x.c | 3 +- 3 files changed, 898 insertions(+), 2 deletions(-)