From patchwork Wed Jan 9 17:46:46 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: 10754619 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 1AE726C5 for ; Wed, 9 Jan 2019 17:47:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 09CE628972 for ; Wed, 9 Jan 2019 17:47:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F0D1C28D6D; Wed, 9 Jan 2019 17:47:36 +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 A3D6328972 for ; Wed, 9 Jan 2019 17:47:36 +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=p6goObdiFZ0t98O6YlgAMAck9iV9A/1iRtmy7nC7htw=; b=RdRbZ5fZBQpJjR qvOJ92rfxe17myROLHnzvbGf+52InnIhXT7pGXyhhsABgWxg09CHQSLbd8LH2XENZL2shUr15kB8E 2tYc/cWfUI3t8mhTdqWV5QjwtySlELKb0iCBkJVcdxC1oz5KoB9XzIEWWj7Too6SX+uA4N8S5W0ZF JU8f/8rBczIGr2rhomIuo/Imabzv37r6PSHo+M1ip3w4JWdsbKidbYp52G5Sl3XGrNbhQfGLnNolQ lTotFZjS+0DfTFMdaoctX2Lcv1pYFp/jUzvkQ2S7xKEBOOOdzf1BKUbFRadk04hsifA1x67z5466/ NMSeXKjVZc2CJH84rcEw==; 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 1ghHx0-0001I7-F6; Wed, 09 Jan 2019 17:47:34 +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 1ghHwx-0001Hf-7w for linux-arm-kernel@lists.infradead.org; Wed, 09 Jan 2019 17:47:32 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id E6C32608A5; Wed, 9 Jan 2019 17:47:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1547056050; bh=0gyYLuNtvHYhM3xrhaPPKd29npznhL5tuk39VI27em0=; h=From:To:Cc:Subject:Date:From; b=MLC1Ijw3LT0hVJUYkGRTD2Z0CAq2nhSfU8KySc5Kbd7DqSW1zOn50qL3P7VkX4zdN Us2XWYZcbNY/K8ay6UFnNAOm4v+dkbNUIJujAbeOxVpX6YOzA/MBmc+OoTWAYY4e1M LvUhCDLw+sbMrFZ2/C/gt/GjByc6tAOEBZirmif4= 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 4E09C6050D; Wed, 9 Jan 2019 17:47:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1547056047; bh=0gyYLuNtvHYhM3xrhaPPKd29npznhL5tuk39VI27em0=; h=From:To:Cc:Subject:Date:From; b=NIaJPO57LZljsVWqPPR08VplgWmrs2A0n+aCxaRhZpt6ETr2QvSTK6ymIHZreaJyW mYPNBRHGrqJ9Jd5IPuAPPjCUzrr2fnE5pxoKZHKNB+NGsrpXrV3hSr4BDqFD+tTvrR m5SunLbhvTRBDvVJVMKfbOSdoUBki8hT6csjHcMA= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 4E09C6050D 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 , devicetree@vger.kernel.org, Mark Rutland Subject: [PATCH 0/3] Add coresight support for SDM845 Date: Wed, 9 Jan 2019 23:16:46 +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-20190109_094731_306002_AE6C7DE6 X-CRM114-Status: GOOD ( 13.14 ) 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 , Vivek Gautam , 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. * Patch 1 adds device tree nodes for SDM845 coresight components. * Patch 2 enables support for ETMv4.2 and enables SDM845 to make use of same driver(etm4x). * Patch 3 is a trivial removal of duplicate header file. Patch 1 and 2 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. 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 .../arm64/boot/dts/qcom/sdm845-coresight.dtsi | 437 ++++++++++++++++++ arch/arm64/boot/dts/qcom/sdm845.dtsi | 3 +- drivers/hwtracing/coresight/coresight-etm4x.c | 2 +- drivers/hwtracing/coresight/coresight-etm4x.h | 2 +- 4 files changed, 441 insertions(+), 3 deletions(-) create mode 100644 arch/arm64/boot/dts/qcom/sdm845-coresight.dtsi