Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753273AbdDJJ00 (ORCPT ); Mon, 10 Apr 2017 05:26:26 -0400 Received: from mail-bl2nam02on0084.outbound.protection.outlook.com ([104.47.38.84]:10765 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752752AbdDJJZC (ORCPT ); Mon, 10 Apr 2017 05:25:02 -0400 Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=cavium.com; From: Ganapatrao Kulkarni To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Will.Deacon@arm.com, catalin.marinas@arm.com, mark.rutland@arm.com, acme@kernel.org, alexander.shishkin@linux.intel.com, peterz@infradead.org, mingo@redhat.com, jnair@caviumnetworks.com, gpkulkarni@gmail.com Subject: [PATCH 0/2] Add ThunderX2 SoC Performance Monitoring Unit driver Date: Mon, 10 Apr 2017 14:54:16 +0530 Message-Id: <1491816258-31794-1-git-send-email-ganapatrao.kulkarni@cavium.com> X-Mailer: git-send-email 1.8.1.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: MA1PR01CA0101.INDPRD01.PROD.OUTLOOK.COM (10.174.56.145) To CY1PR0701MB1696.namprd07.prod.outlook.com (10.163.20.30) X-MS-Office365-Filtering-Correlation-Id: d7f610be-8ac8-494c-ce96-08d47ff3751c X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075)(201703031133081);SRVR:CY1PR0701MB1696; X-Microsoft-Exchange-Diagnostics: 1;CY1PR0701MB1696;3:+F0T+HbUr5ttKRVpSsGkAp2RSQAbxlPnUAm6MEhPdLpi9G54+IlBJhzgB2LdvnTem6H+4GEskOHGuKgHi1m7qCBu79j7IdRpc3nIonFeRTB1FMSgCOHpXRGkJ+P2BFrI/7o3cZYL2zxPe6ApZdZ89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Rgqp7fR4N8GNxM82NfSJKlgcCWNLwDUwA+4/VIT0wloaRsJ2GYhNacwIrb7XvfHDEAJK9iDGI51CFNsstuLQwtPs0nrlQ/lehNXUspx/Xz7JPKKLGR4kUbQPt88qV+MDp8S+Txp6YkXKNrGuicAADpHwmOYK3PZagcaIHHLp4n7FAHB9S+IQi5Z5+/cAWTj1NZyG3BYNqDmLm5MG3RQ1zf79PTwH8BmvOahvPvoCbQappbNjZ5oAh/UtMuUqPoBM4x1k/1krltPUOyHnXFrMI+x9APFiPRpw4QbvM6sr84TnYXjkqQdl9wzaHqRPtSpFsk7EUsEcFG0VegSQgbHskSQ+6ub0apZ68crncpv7l3MieaSoPpedWFZUmk1HJkOG//8Mx X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(72170088055959); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(6041248)(201703131423075)(201702281528075)(201703061421075)(20161123564025)(20161123560025)(20161123555025)(20161123562025)(6072148);SRVR:CY1PR0701MB1696;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0701MB1696; X-Microsoft-Exchange-Diagnostics: 1;CY1PR0701MB1696;4:xqtvtyfjf/Aqrr/4B6tn/OKfMzifckvCFUexUWG0pxjtfYICMPrj2EJuLIyiZFIWakmAG1pFK8+Vq+rCiPr6t5OFlxhtDc1KbVSBMB8xXvpR7/Ftr8Hv7OpqKGPgmV8kmnGTNRZSXRLjpl7eRoUy1eS7MvAqtIFOu8QzPxuRPXhRJRHPsDQLMGGqg8LwgQSNHNRBYB0M5zzHQi1WfABylIyXmk2J0c49OJEyxJA12NnmxQ7RVdTbfB1jGoZLlVhGIMvGfGK2ZljKkB2HLyjYGXZLtVF1h2YIkxfT0u6c+PojKC2OWCTzXl31hsDzsHHxabnCrQl+Kt4V5GVG3uE3cJ8UyyNEYgTAQo8F2wvp/flUYE4lm/gkOOE3Z+derHC+d/uEM4X50YBrZG/kdxAkS7zUJ7ljfbZFGfvzJJGUcdH13s7h1Fl9XVnwQ6a5vIXErbpQMYa0zOF/SLkf5BMKGvyR/U9hbm+PwNBmcguT1F6vSlesCKNnS+ota72cP7XyvsOslrwRdJK6n+9T6fW+BDSbXE0FYH41V2zeo6fx+X8h/KUQaqpsYDBQsq48VVKmsCSj/wEyC3gePN/6y/mjfSNzXkrPCL1bfaziZFOIBVwkxdoBDeoik/0PwovaGh+XPsM+YNCTAWr0SrygNvju0ycUqJPWFPboQdNJzRM/+kaZY3J6xNos3Vw/wzYgTzVjCC2Q7VHrLvWsQ5M4SGyAF+kxRBb5GVFoxrRcaDfRCFIaL2h0pYm2PVGoZRQtl1xp X-Forefront-PRVS: 027367F73D X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(39400400002)(39850400002)(39410400002)(39450400003)(39840400002)(50226002)(53936002)(5009440100003)(33646002)(305945005)(7736002)(86362001)(5660300001)(6512007)(48376002)(50466002)(36756003)(189998001)(7416002)(50986999)(6116002)(38730400002)(3846002)(110136004)(53416004)(81166006)(42186005)(8676002)(5003940100001)(4720700003)(47776003)(66066001)(2906002)(6486002)(6666003)(25786009)(6506006)(4326008);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR0701MB1696;H:mypc.caveonetworks.com;FPR:;SPF:None;MLV:nov;PTR:InfoNoRecords;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR0701MB1696;23:HVkb8CowC491MzXgXoD6MjrIteO0djxEWMkV0TW?= =?us-ascii?Q?ccc1WK51E9Fn0MW5M/nJi7IFihAfj2VYQjVOpMEqG6RA7/RHheG/kRZS24vS?= =?us-ascii?Q?VzEgOJ8LZSFXuF91icZXzkowtGxBhxTvsSuCv5EA6+feGp1qhCkEdcXK5rA5?= =?us-ascii?Q?CsZtdBqtnXk6PSw/FRKWGGoN3T9+6YZXvBTlfCl5izCF+UBlf/CSVrhVShVI?= =?us-ascii?Q?nPW74g6CmdBp5utl3O8dOJ8mCJlTT06NBg2sDrkajdn1yrmdhQ2we/dwbxWH?= =?us-ascii?Q?lY7oxRP0H5csdt1ShZYeRrJWk2w8JzqG51nm3oCz4ZIvdKEn2wcJBQvaHGcB?= =?us-ascii?Q?wrEQaAu1v2hOjmO6oaFA2cY4rSpzO9ATgMKALa2ALHozBGCmcCdJZmpc+Gha?= =?us-ascii?Q?SzvpEl/rbDqpF2HnAI8/nkff09MTqJEItFV5YqYRRnPGKfFRj34y2ki3pCGB?= =?us-ascii?Q?B2TnLhA2lCqdLlSzUYJ4Ny0b60EzDWepnQyQzbTmcfvm3PsUiDq1EpDqphcn?= =?us-ascii?Q?Yom1cDgOIOD2NbxaMNaXlkyEwp3czjkm4i6JAVIIAY2qbkVuq1xX3k9pQDYW?= =?us-ascii?Q?3YFFhKVAaqmjtbKYyU+PPDfrloN8dXu7jc0B1j6bbpanr8KJL2eaM0doUkvn?= =?us-ascii?Q?dAWqgDrMRivyF88zziAvYRGPcTqyxoO64jWy50fGjgnJj0nPIR0GA3pSSZOW?= =?us-ascii?Q?jaVLGu2ITzyQdx4BXqaogXkJ+HM3Cmp/97z6pTBr620J9NnhoN3oAzn5gfin?= =?us-ascii?Q?+LcUMHokNGAmXbgomBrgsGuuFDGwZndN3teAubq+5pl70XMYQwRDFS9srJm3?= =?us-ascii?Q?XZPiCzkPMI9i+XRjbe7xfppndojy+ZT+MQ2Ynaqt7T72pLB3ecHMT4Oa1+fi?= =?us-ascii?Q?W5eg037tF4rigDoOAFdUQVpT731YCVbrnlV89WBPjcDz3BmeXUVFa70PHPkp?= =?us-ascii?Q?c/jE7FFZfilqsSHoNXRZYuUF5vf4LruecTwAHtlCk/uiVkNpoCloKif5SlgB?= =?us-ascii?Q?8YyZkxi7lQEBUPqt+bZf60g8Op7UTh3LGbvGrZbxqosmbWg=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;CY1PR0701MB1696;6:ghGb94z3Ewt/cw8T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VP1+gdklkmow3P8y7z4xH/KdajcpiSy0q8yMOMypwNTiCT/Ntbu3sIz/g== X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Apr 2017 09:24:55.3746 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1696 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 696 Lines: 18 This adds PMU driver for Cavium's ThunderX2 SoC UNCORE devices. The SoC has PMU support in its L3 cache controller (L3C) and in the DDR4 Memory Controller (DMC). Ganapatrao Kulkarni (2): perf: uncore: Adding documentation for ThunderX2 pmu uncore driver perf: ThunderX2: Add Cavium Thunderx2 SoC UNCORE PMU driver Documentation/perf/thunderx2-pmu.txt | 60 +++ drivers/perf/Kconfig | 9 + drivers/perf/Makefile | 1 + drivers/perf/thunderx2_pmu.c | 965 +++++++++++++++++++++++++++++++++++ 4 files changed, 1035 insertions(+) create mode 100644 Documentation/perf/thunderx2-pmu.txt create mode 100644 drivers/perf/thunderx2_pmu.c -- 1.8.1.4