From patchwork Mon May 25 08:15:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ivan T. Ivanov" X-Patchwork-Id: 6472861 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: X-Original-To: patchwork-linux-arm-msm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2B7CD9F399 for ; Mon, 25 May 2015 08:15:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1B8AB2043C for ; Mon, 25 May 2015 08:15:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 14CC12041B for ; Mon, 25 May 2015 08:15:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751880AbbEYIPY (ORCPT ); Mon, 25 May 2015 04:15:24 -0400 Received: from mail-wg0-f43.google.com ([74.125.82.43]:34062 "EHLO mail-wg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751430AbbEYIPW (ORCPT ); Mon, 25 May 2015 04:15:22 -0400 Received: by wghq2 with SMTP id q2so66828211wgh.1 for ; Mon, 25 May 2015 01:15:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Yx+MXoS8ZjLM0Ipo+Mv0TU+PL9T4Nv0SU8yQcpzwUDY=; b=TBNBQ//t7454/6eRDOfwvMXKrJLrEQ9dRGZBMlCna/clU0snDVfyjmU43oQcTC4izA l0JH7PetZDZ56jG7cqoURFcQzM1msvTLhKGBF+NA0Vvt0D2RKmDNFhrUCG129gWjR7MS kzC4B/ukiMVJG3V/5p/oSjOBNSt7dgpDiNIM7VIlCNjNYSeA070p6dGc+6CyTF7tZ3JA kRMqcAL18TL1m4WBd/xFaCD5BQaBeO/l4BELrHLNi3M7UAslCkg0t+iilZTD/7zWHgPC bzNzB3YlGSMWR3p/fbYzvZ3oDrqPQx0x2nMCzP1+waXy+zKVYjfaswZUFMj2HFIY3tSU 6BJA== X-Gm-Message-State: ALoCoQmkXpKVoNzbVW0zvk8bLL4it2jZThV5iQSikr/HFD3uOuvbz4Z3Lw7Ybesv5DnL7Ec4g466 X-Received: by 10.194.205.101 with SMTP id lf5mr38175843wjc.42.1432541721716; Mon, 25 May 2015 01:15:21 -0700 (PDT) Received: from localhost.localdomain ([37.157.136.206]) by mx.google.com with ESMTPSA id ck16sm15525732wjb.37.2015.05.25.01.15.20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 May 2015 01:15:21 -0700 (PDT) From: "Ivan T. Ivanov" To: Mathieu Poirier Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v2] coresight-etm3x: Add Qualcomm PTM v1.1 peripheral ID Date: Mon, 25 May 2015 11:15:17 +0300 Message-Id: <1432541717-32211-1-git-send-email-ivan.ivanov@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add Qualcomm's PTM v1.1 peripheral ID to supported devices. This device could be found at least in MSM8974 and APQ8064 chipsets. Signed-off-by: Ivan T. Ivanov --- Changes since v1: - s/PFT/PTM/ to describe device and not protocol implementation drivers/hwtracing/coresight/coresight-etm3x.c | 5 +++++ 1 file changed, 5 insertions(+) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/hwtracing/coresight/coresight-etm3x.c b/drivers/hwtracing/coresight/coresight-etm3x.c index 018a00f..cca98a8 100644 --- a/drivers/hwtracing/coresight/coresight-etm3x.c +++ b/drivers/hwtracing/coresight/coresight-etm3x.c @@ -1912,6 +1912,11 @@ static struct amba_id etm_ids[] = { .mask = 0x0003ffff, .data = "PTM 1.1", }, + { /* PTM 1.1 Qualcomm */ + .id = 0x0003006f, + .mask = 0x0003ffff, + .data = "PTM 1.1", + }, { 0, 0}, };