From patchwork Fri Sep 24 10:06:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Zhang X-Patchwork-Id: 12514943 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E8663C433F5 for ; Fri, 24 Sep 2021 10:09:17 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B4672610F7 for ; Fri, 24 Sep 2021 10:09:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org B4672610F7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=quicinc.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :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=5QG/z9ECUgpfimAl0vnuKp5LgO8fzkujE7bbxsbH30s=; b=Tj+NwVFXUckYGt vcK28LXyMlYlPc2XlK89H5gpdJqq79Cb3N/SWL2+0nGqqlV/dhGgRz07FYHMMkFoNh8QW1AjFp+CF c0A5SGCGacZTOJEQuQlX/5XfFCy+Vk8XiEck6WsWZkMAD+KiF0AF0sCZtp5ojRusgNco0kxJIaMMq 1jz184CvO4HWwxj11dTqVgQXQ/cGtI+8F7BsG7jXyo3QsnvcU3M8OmYuhJdqkPKRfGkc6G1gw7OFQ Y2df6GH/b6pDlmDgEDabP9wva2pxRdJqDvIWt84G6RwVruJFGgBQLUqik9TVmWqLggdpF4SO/LFi9 /+6j+MxdgJytqwle4XMA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTi6Z-00E2Rc-Js; Fri, 24 Sep 2021 10:06:55 +0000 Received: from alexa-out.qualcomm.com ([129.46.98.28]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTi6T-00E2Ph-NK for linux-arm-kernel@lists.infradead.org; Fri, 24 Sep 2021 10:06:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1632478010; x=1664014010; h=from:to:cc:subject:date:message-id:mime-version; bh=qP5VfjwaQq42BNKUbcnuVAphpsb5x+ovpSEyhK/MJH8=; b=NF6jJnSFbGQF9jPxtIAyrbvYjCxTRTSZQNQCkH9frECr4AiSLhLQ6n1d xL1iXXbFjyW+4oR9VG5YrkCJb9m8ap6WQq0GBpJqwlQ8w2M+0H50bx2tL CZKzw1KARElXB+iwnHvOubXnGOkMM8UNNhiumtFchrKzYIe9iw0pMby9U M=; Received: from ironmsg09-lv.qualcomm.com ([10.47.202.153]) by alexa-out.qualcomm.com with ESMTP; 24 Sep 2021 03:06:48 -0700 X-QCInternal: smtphost Received: from nalasex01c.na.qualcomm.com ([10.47.97.35]) by ironmsg09-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Sep 2021 03:06:47 -0700 Received: from taozha-gv.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.7; Fri, 24 Sep 2021 03:06:43 -0700 From: Tao Zhang To: Mathieu Poirier , Suzuki K Poulose , Alexander Shishkin CC: Tao Zhang , Mike Leach , Leo Yan , Greg Kroah-Hartman , , , , Tingwei Zhang , Mao Jinlong , Yuanfang Zhang Subject: [PATCH v2 0/2] Add Coresight support for RB5 board Date: Fri, 24 Sep 2021 18:06:19 +0800 Message-ID: <1632477981-13632-1-git-send-email-quic_taozha@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01c.na.qualcomm.com (10.47.97.35) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210924_030649_843310_23955164 X-CRM114-Status: GOOD ( 16.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series adds Coresight support for SM8250 Soc on RB5 board. It is composed of two elements. a) Add ETM PID for Kryo-5XX. b) Add coresight support to DTS for RB5. Changes since V2: - Add the comment "Cortex-A77" for Kryo-5XX ETM PID. - Correct the errors in the patch "Add Coresight support for RB5 board" v1 version, and the adsp-related configuration should not be deleted. Changes since V1: - Add ETM PID for Kryo-5XX. - Add coresight supoort to device tree for RB5. ETM verification and use of Coresight components need Coresight support in device tree. Since the ETR sink needs SMMU support, and SMMU has not been enabled on RB5. ETR is not added to this patch, and it will be added once SMMU is enabled on RB5. ETF sink has been added to the device tree for RB5. This series applies to coresight/next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git Tao Zhang (2): coresight: etm4x: Add ETM PID for Kryo-5XX arm64: dts: qcom: sm8250: Add Coresight support arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 442 +++++++++++++++++- .../coresight/coresight-etm4x-core.c | 1 + 2 files changed, 439 insertions(+), 4 deletions(-)