Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5330510ybl; Tue, 27 Aug 2019 03:01:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqxlBMlrq2vW/Kk7FV4QCNbMUg7BqCaEUYj4fe8aYW0bsayI/iHjC8zjSE/RUXZ6fdN5cw07 X-Received: by 2002:a65:4489:: with SMTP id l9mr21034857pgq.207.1566900114968; Tue, 27 Aug 2019 03:01:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1566900114; cv=pass; d=google.com; s=arc-20160816; b=a2hw6FPBMlaHRiQaXG2tgO0RE2tD69TGliIjJoRHm1KAKa1qQVIw6mZ/dH9SxGcJcE gbHDVO1DuEDKyl6ZHraHDaDssOaIC9Fg5AQAbYrwxj18IlfXP+HTuui9rc/N7V+r+ECo rn9VgJEoDXeEKgq1Yv+vnK2aHVRFyB5PHd1afTNLaQl+kL9uCTDWPhFjhNyspN1xMP2E 0P//L66HDq978YbMKqFXCCtrG4hEK1Vj0TdvmjPkGAbf5sqbuqLBAHMNlnqYIgEVyMww x4yjnPE6oy16HJD+dsv6wLBdcpgBtsMfD/iEOiKPd+66VTFueNA8aIDoM6BRoX7nyprw qZhQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature:dkim-signature; bh=/iU7iI3pKjLZg0eGCen/fo3NUic6/+D10tVKPiqxUuc=; b=G8NdFBpPdfl4sn1jFgRYA0tWGNtBO8Mj+aaFDkMvqg02BZFGtLC2cduZhlNrN/DxvA RbFfQBzMaAwiseZ3jSXje6snSh2r9x2t4+9CPT2fNLMmpk/UZIb4DZCBN4yKzO/sd2VH xYqWpwI3jJct7gRZlx+EEFI8Wit9LrsOAlj8SE2Kq6L1HHwg4Xm6hnJ/gfSQorHUF2Y4 DIDEPAZ3YFz04UhcZnBQRaT5Ql5YIv6WWB56gzRqWOWaZPswBleYSMQd1lWGVrbMDMAY nlQi3PhZu5F4eJeRicaFiEpqzXfKqdS0ipMGc6lB0xdPDdmaYyki3JyQNkfu1QbY4dyC T+wQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0818 header.b=Xq531Xbh; dkim=pass header.i=@marvell.onmicrosoft.com header.s=selector2-marvell-onmicrosoft-com header.b=ZUasNuDO; arc=pass (i=1 spf=pass spfdomain=marvell.com dkim=pass dkdomain=marvell.com dmarc=pass fromdomain=marvell.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=marvell.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c15si11456904pgi.273.2019.08.27.03.01.38; Tue, 27 Aug 2019 03:01:54 -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; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0818 header.b=Xq531Xbh; dkim=pass header.i=@marvell.onmicrosoft.com header.s=selector2-marvell-onmicrosoft-com header.b=ZUasNuDO; arc=pass (i=1 spf=pass spfdomain=marvell.com dkim=pass dkdomain=marvell.com dmarc=pass fromdomain=marvell.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=marvell.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729140AbfH0KAb (ORCPT + 99 others); Tue, 27 Aug 2019 06:00:31 -0400 Received: from mx0a-0016f401.pphosted.com ([67.231.148.174]:33496 "EHLO mx0b-0016f401.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727633AbfH0KA3 (ORCPT ); Tue, 27 Aug 2019 06:00:29 -0400 Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x7R9nwhs032750; Tue, 27 Aug 2019 03:00:16 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=/iU7iI3pKjLZg0eGCen/fo3NUic6/+D10tVKPiqxUuc=; b=Xq531Xbh20tHWxuX0UYtzsIe6viBdh7ZEkwlGlDtnClfz4wjOZyfIByDVrrOaivD/A1Z KsBJVgvdMKeX+tPkvn7xDWzv96RYRHYLs+6WXyrTgO1aA+0VW0JTWV35Cwo0F2OZYqK2 2N0MeU6liIpOabUHU6Ws1VShZ9NTnl+H9MMjb+dwjnjFuJQwGYa0nbEis4zTak3N1JHZ XzKSXYz4ll0vP6H8gAwxCb/vPGPujzpE3SMUn+yE7+XEh8onHaxaNEmkraEM2/5mcKng jlellzpFDczwVflyG6c/HgYFRS7bHy54ipFxHIAkD5fdmfG+6cYF2qbLGXuna9pqn9K+ zQ== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2uk2kq2xs4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 27 Aug 2019 03:00:16 -0700 Received: from SC-EXCH02.marvell.com (10.93.176.82) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 27 Aug 2019 03:00:15 -0700 Received: from NAM04-SN1-obe.outbound.protection.outlook.com (104.47.44.55) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Tue, 27 Aug 2019 03:00:15 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n8n99jig14zNvWwyAU2XbAy3+QzlgFqsNz0JbFtAv1aZUpJ5CoiVGrQBF/DRcq/sE00H0dtl2kdCR/E9DKSvfXvBbHxay+W2eMuVyQ8wD3U8niznWunkA9QUAddGyLjvX5B8wHaF4zgOhYXxPntF9g/AkOiafqNg3sHdXaUN/QD/4TLNanUL9KdjCa3nUOtuLxfOemwbpxS9VTh5SB273PqCSEdDcpRffZ2nmLPBNFGhIZu4Hfnqqg9o/rrqMzgs8gzhtnSVOMx+m8ZqyDy9fO+eCykbyhSj0i+F3dq6C1LOk2GUPXRCuN8jmBmDLg4AfVDqyTgRZ7gWG+jzQmz6/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/iU7iI3pKjLZg0eGCen/fo3NUic6/+D10tVKPiqxUuc=; b=RU4uywvB5tKgyaPxcXfzoToxZgjNWJgkYi91+OdTquOxP3nhTgdMFFhnxRQ/Z3iTU3VTjrwCCbKdgUxnG/SMIxwgkNGydYMbIrlYhEikRaIjXStG42+pFFrepUWAS78qZKO6H7casuAu172109wfFh/NYWYTeH8gRrcOivkBzAJYnJ+ZWyyrlfNuKWWeicIxnguZiJ3tx67x2YyvmMZ1PIQAakRqFgdaR4AgDloo/4/IKsJtzx0VcgWe+af3Ut9AGETPn+ylZRC01Z43BFjrOvvUYOSqDLVjWtN8F8MBcuMwmYbdCxoorzSaffl5y2nYNnjOuZQsucDc89U/JqGL9A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/iU7iI3pKjLZg0eGCen/fo3NUic6/+D10tVKPiqxUuc=; b=ZUasNuDOAdL5UjHjn38FFcsbGTnR1udXVSoUVdqrVweF6dc7mw9/ajxuFSD01Rp6GD9fLAzQTV0D7kQDMx1la0hAVpNR7M+Ux+RddcU+BkWH+OPGQku4DQbn7I+uqgJoSGUkSUtyJi+lvvC9mZi7XGTV75zJRIX0uiMHXZcv6YQ= Received: from DM5PR18MB1355.namprd18.prod.outlook.com (10.175.223.16) by DM5PR18MB1675.namprd18.prod.outlook.com (10.175.224.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.21; Tue, 27 Aug 2019 10:00:13 +0000 Received: from DM5PR18MB1355.namprd18.prod.outlook.com ([fe80::3cbf:34d2:5b36:e127]) by DM5PR18MB1355.namprd18.prod.outlook.com ([fe80::3cbf:34d2:5b36:e127%12]) with mapi id 15.20.2199.021; Tue, 27 Aug 2019 10:00:13 +0000 From: Ganapatrao Kulkarni To: "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" CC: "will@kernel.org" , "mark.rutland@arm.com" , "corbet@lwn.net" , "Jayachandran Chandrasekharan Nair" , Robert Richter , Jan Glauber , "gklkml16@gmail.com" Subject: [PATCH v4 0/2] Add CCPI2 PMU support Thread-Topic: [PATCH v4 0/2] Add CCPI2 PMU support Thread-Index: AQHVXL44UOusZkT+Ik+fktleifcBOA== Date: Tue, 27 Aug 2019 10:00:13 +0000 Message-ID: <1566899990-18277-1-git-send-email-gkulkarni@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BYAPR03CA0005.namprd03.prod.outlook.com (2603:10b6:a02:a8::18) To DM5PR18MB1355.namprd18.prod.outlook.com (2603:10b6:3:14a::16) x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 1.8.3.1 x-originating-ip: [199.233.59.128] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 97eebb8e-6b6b-40f7-408a-08d72ad55a6f x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:DM5PR18MB1675; x-ms-traffictypediagnostic: DM5PR18MB1675: x-ms-exchange-purlcount: 2 x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3826; x-forefront-prvs: 0142F22657 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(376002)(346002)(396003)(136003)(366004)(39860400002)(199004)(189003)(7736002)(8936002)(6306002)(305945005)(4720700003)(8676002)(50226002)(81166006)(81156014)(66476007)(66446008)(5660300002)(64756008)(66556008)(6486002)(4326008)(966005)(2501003)(102836004)(14454004)(386003)(6506007)(26005)(186003)(6436002)(99286004)(6512007)(52116002)(86362001)(2201001)(110136005)(53936002)(256004)(486006)(54906003)(316002)(6116002)(3846002)(4744005)(66946007)(25786009)(476003)(71190400001)(71200400001)(14444005)(36756003)(66066001)(478600001)(2616005)(2906002);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR18MB1675;H:DM5PR18MB1355.namprd18.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: h1Xg4CbwAKfBDOhll5JtQ/EXfrS0jZjIT0+k2zZxopN8bgVAlgQn4ceE7hMB0ZpqgLitg9ZS+PDfORsmQI1PajhTy2m/C5y+jPlvErDzYRfJz9P55CiDiPVlKbk7sz76HX74crHYNwINE93JoDORL1UI2GPOnZr0qhGlleFFQbMaH65M/uFM3HjtbIF+8nKzBF3ZsqBrQ/+57lJCJcbakEoiceOBqo3aNCAB+SVtEZixhwJCc62e1eZuA52mLwqkt9npRgUtcf/Iir0kDHcHE8DgI1qfRrk5t/AoSqZQKXH+X2W1G1nWh+9Tp0goKCCv/nAr34/7n6glfAPN8Uz5o2uBKoNEBuYFTg/5SP76mkY3py/XuCem5GJEoDru8GQc7uN2ws5NkQ+oEW9sKklxXzZBn+b69vey8d8FiSt4c6U= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 97eebb8e-6b6b-40f7-408a-08d72ad55a6f X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Aug 2019 10:00:13.3004 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: rh3yi0c2uVUqNgPPbXUl5bRh5lM4bJ4XnNk9mpr1BEnWBM4gZDEyMDYRz9aJ3gvXK6XSR6tHHmhBkXvjxVkp5A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR18MB1675 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:5.22.84,1.0.8 definitions=2019-08-27_01:2019-08-26,2019-08-27 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add Cavium Coherent Processor Interconnect (CCPI2) PMU support in ThunderX2 Uncore driver. v4: Update with review comments [2]. Changed Counter read to 2 word read since single dword read is misbhehavin= g(hw issue). [2] https://lkml.org/lkml/2019/7/23/231 v3: Rebased to 5.3-rc1 v2: Updated with review comments [1] [1] https://lkml.org/lkml/2019/6/14/965 v1: initial patch Ganapatrao Kulkarni (2): Documentation: perf: Update documentation for ThunderX2 PMU uncore driver drivers/perf: Add CCPI2 PMU support in ThunderX2 UNCORE driver. .../admin-guide/perf/thunderx2-pmu.rst | 20 +- drivers/perf/thunderx2_pmu.c | 258 +++++++++++++++--- 2 files changed, 236 insertions(+), 42 deletions(-) --=20 2.17.1