From patchwork Mon Apr 21 10:11:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kefeng Wang X-Patchwork-Id: 28690 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f72.google.com (mail-yh0-f72.google.com [209.85.213.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AF95B2032B for ; Mon, 21 Apr 2014 10:11:32 +0000 (UTC) Received: by mail-yh0-f72.google.com with SMTP id f10sf22121713yha.11 for ; Mon, 21 Apr 2014 03:11:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=J85b5ocqdS1jppDKPChET6thGcbrE+IriK5XDbwTXFA=; b=k9FvAT1oouYyxbSXrJEaLYmjnvsChrUsFEm/NUVWWCF4Jv3h3F6h367Gdc42uh7302 GSsyg1/j6b727UFMJOPVx/tjPpugeLh+SmXbIqaC40qAZvzIYXHDb9R0llfWoiECCIjO VoKDTdqucbaDitCo2merP2aIg9QXrwMlurKvWZX9nc2miB2yECglAvoe56m63GGxww+r Q9x0Y43sZs1XUTl/6KtGGo+RdTXwByOTVL4KXrxj/OzomJTKMqRCzxOz24e9yHLYC6CD +dD+xPxEeBd+MviGGia58B4ar+ayjcmZP2t0WO5euxTYmy5f4OGDaX+6IJPb9YtuVcmQ 2Zfw== X-Gm-Message-State: ALoCoQkahmITh4Hmv634M/yvmrYCfB7tAqP4j0NjInX1/YsJY+6U4CYxADPy9N+30qAuSfNszb9t X-Received: by 10.58.168.137 with SMTP id zw9mr20330020veb.15.1398075092307; Mon, 21 Apr 2014 03:11:32 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.23.232 with SMTP id 95ls2327993qgp.68.gmail; Mon, 21 Apr 2014 03:11:32 -0700 (PDT) X-Received: by 10.58.74.38 with SMTP id q6mr32727452vev.7.1398075092208; Mon, 21 Apr 2014 03:11:32 -0700 (PDT) Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) by mx.google.com with ESMTPS id dl6si6174394veb.181.2014.04.21.03.11.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 21 Apr 2014 03:11:32 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.177 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.177; Received: by mail-ve0-f177.google.com with SMTP id sa20so7424760veb.8 for ; Mon, 21 Apr 2014 03:11:32 -0700 (PDT) X-Received: by 10.52.15.132 with SMTP id x4mr451787vdc.31.1398075092127; Mon, 21 Apr 2014 03:11:32 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp280973vcb; Mon, 21 Apr 2014 03:11:31 -0700 (PDT) X-Received: by 10.66.139.38 with SMTP id qv6mr2275901pab.123.1398075091410; Mon, 21 Apr 2014 03:11:31 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qe5si14172267pbc.324.2014.04.21.03.11.30; Mon, 21 Apr 2014 03:11:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752197AbaDUKLW (ORCPT + 26 others); Mon, 21 Apr 2014 06:11:22 -0400 Received: from mail-pd0-f182.google.com ([209.85.192.182]:52177 "EHLO mail-pd0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751734AbaDUKLS (ORCPT ); Mon, 21 Apr 2014 06:11:18 -0400 Received: by mail-pd0-f182.google.com with SMTP id y10so3566153pdj.27 for ; Mon, 21 Apr 2014 03:11:17 -0700 (PDT) X-Received: by 10.66.232.68 with SMTP id tm4mr2638746pac.114.1398075077861; Mon, 21 Apr 2014 03:11:17 -0700 (PDT) Received: from localhost.localdomain ([218.17.215.175]) by mx.google.com with ESMTPSA id ov4sm72451778pbc.46.2014.04.21.03.11.12 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 21 Apr 2014 03:11:16 -0700 (PDT) From: Kefeng Wang To: Will Deacon , Robert Richter Cc: Russell King , oprofile-list@lists.sf.net, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, wangkefeng.wang@huawei.com Subject: [PATCH] arm: oprofile: add ARMv7 cortex-a15 support Date: Mon, 21 Apr 2014 18:11:04 +0800 Message-Id: <1398075064-4906-1-git-send-email-kefeng.wang@linaro.org> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: kefeng.wang@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.177 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , ARMv7 cortex-a15 supports Performance Monitor Units, and it could be used by oprofile, add perf_pmu_name pair. Simply tested on hisilicon hip04 soc. Signed-off-by: Kefeng Wang --- arch/arm/oprofile/common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/oprofile/common.c b/arch/arm/oprofile/common.c index 99c63d4b..9ede34b 100644 --- a/arch/arm/oprofile/common.c +++ b/arch/arm/oprofile/common.c @@ -39,6 +39,7 @@ static struct op_perf_name { { "v6mpcore", "arm/mpcore" }, { "ARMv7 Cortex-A8", "arm/armv7" }, { "ARMv7 Cortex-A9", "arm/armv7-ca9" }, + { "ARMv7 Cortex-A15", "arm/armv7-ca15"}, }; char *op_name_from_perf_id(void)