Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1464317
| Path | csiph.com!news.mixmin.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Zhengyu Shen <zhengyu.shen@nxp.com> |
| Newsgroups | linux.kernel |
| Subject | RE: [PATCH v2] Added perf functionality to mmdc driver |
| Date | Wed, 17 Aug 2016 07:20:01 +0200 |
| Message-ID | <s71qF-4Z2-5@gated-at.bofh.it> (permalink) |
| References | <s6Aqt-4jk-5@gated-at.bofh.it> <s6K6u-1XD-15@gated-at.bofh.it> <s6NQK-4jo-15@gated-at.bofh.it> <s6NQK-4jo-13@gated-at.bofh.it> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=dODYG8En3U7T709FqK4aALWuAoya5TPJAecQBjZS4eE=; b=u3z82dbjYzq8CM0ZZdSg8kshf+oHtokQjGLyky97qtmpNCjxWyFGQIDy+ht/W2elVMeOdfIxtigkfDHvuqzZrhofTdnrlg9UuceS3uVxGTxh1Tq7vrX31lcbhscrnB383UtfMZSmks+BhMokhydHy36qmEtXU1/h2xT6Ax42QK0= |
| Thread-Topic | [PATCH v2] Added perf functionality to mmdc driver |
| Thread-Index | AQHR90SzcLYS7nhBIUePQYudzfQe+KBKO9EAgAFsmPD//sVlgIABoETQ |
| Accept-Language | en-US |
| Content-Language | en-US |
| Authentication-Results | spf=none (sender IP is ) smtp.mailfrom=zhengyu.shen@nxp.com; |
| X-Originating-IP | [192.88.168.1] |
| X-Ms-Office365-Filtering-Correlation-ID | f13050c2-ae58-4f9c-d404-08d3c6158366 |
| X-Microsoft-Exchange-Diagnostics | 1;DB5PR04MB1430;6:6k++3J1IZvRd4AtPUqJpCyav42ueJnkdomdS0v11MWsgWCWoL7Ws6titZipfPIFg/51L9q7YwNN+ChKXUFY3v7WemCUvixSNZDUWbZ8DmbtxWE8Qk8LsldXBFTRdGV/yypqEMdFr225S90cQgVwXTf2y3ujyQB9/6b2ipOleuPjdlBZ9AZtiHSh3RzqdSGLFjSA69Fkk8e25aMnKIRhxYEPmGPMlxROB8nhw+lxsgFBG/ijskhWhjN5+IRBs31V/SIYmr9klhniuGDbHeJfZCaVvOw6aSMh9SyAG5WUhPe7GVdo7gA4MbhDzuZ0Ve3578r1xOjD6j8Yk3C9V3fwuvg==;5:71YmuVZ5SiAIF4PMsJeeLxW196/Lr9dJ8LKtOc+MkVx1HMPQk5Oa/Rjm1CWBWAlVtWdylI3IqIxPVfZnZiLbeqCFiexYoDGicat4d+22vkxSimfsWgt7X7izZdbcnNTOrwGFJD0UpQZbZ/JDEx+VtA==;24:u7wpW4Zu6OVfHXalbmwBA5shpXW3640bK2HmmFw7wCIoYe/SP7yJVz3R1j+XubK+HkeiNOOft6jNRbQcn2rCbtPwMeJ90rwgdQ4TDpijmgs=;7:XctIhhPSBcGh07c+tCGv9lGnxPfNnnyGWDEGzllhJ4tIydYZOqJnM7r9OW+ogZ+RmffQXLyghi4HDmGeEdVlufBjZh7UyWdJ/xo4uiZPSqSjCdS6qLtnoZ+e441WPt/L5TAAUGc51wLLPuLPZwe5s6jKDG9Mv7efkzCZkNd3nqx9u/q4B8ANvVV2mFDB1tEli+EkUiyQxzQWiyAMU7eKQdoGJ7eED4NiLaz+Pj5w0thcdxRisdZf68Tqj9qGP9f9 |
| X-Microsoft-Antispam | UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB5PR04MB1430; |
| X-Microsoft-Antispam-Prvs | <DB5PR04MB14301C5EDD6854E1A53A39259F130@DB5PR04MB1430.eurprd04.prod.outlook.com> |
| X-Exchange-Antispam-Report-Test | UriScan:; |
| X-Exchange-Antispam-Report-Cfa-Test | BCL:0;PCL:0;RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026);SRVR:DB5PR04MB1430;BCL:0;PCL:0;RULEID:;SRVR:DB5PR04MB1430; |
| X-Forefront-Prvs | 0036736630 |
| X-Forefront-Antispam-Report | SFV:NSPM;SFS:(10009020)(6009001)(7916002)(189002)(199003)(3660700001)(8676002)(7846002)(86362001)(81166006)(101416001)(7736002)(4326007)(33656002)(81156014)(10400500002)(586003)(54356999)(11100500001)(2906002)(74316002)(3846002)(87936001)(7696003)(5002640100001)(76576001)(122556002)(92566002)(3280700002)(106356001)(189998001)(68736007)(66066001)(105586002)(9686002)(305945005)(2900100001)(2950100001)(106116001)(110136002)(8936002)(76176999)(102836003)(50986999)(77096005)(93886004)(97736004)(6116002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB5PR04MB1430;H:DB5PR04MB1430.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; |
| Received-Spf | None (protection.outlook.com: nxp.com does not designate permitted sender hosts) |
| Spamdiagnosticoutput | 1:99 |
| Spamdiagnosticmetadata | NSPM |
| Content-Type | text/plain; charset="us-ascii" |
| Content-Transfer-Encoding | quoted-printable |
| MIME-Version | 1.0 |
| X-Originatororg | nxp.com |
| X-Ms-Exchange-Crosstenant-Originalarrivaltime | 16 Aug 2016 20:40:08.8497 (UTC) |
| X-Ms-Exchange-Crosstenant-Fromentityheader | Hosted |
| X-Ms-Exchange-Crosstenant-ID | 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 |
| X-Ms-Exchange-Transport-Crosstenantheadersstamped | DB5PR04MB1430 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 27 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | "shawnguo@kernel.org" <shawnguo@kernel.org>, "peterz@infradead.org" <peterz@infradead.org>, Frank Li <frank.li@nxp.com>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "acme@kernel.org" <acme@kernel.org>, "alexander.shishkin@linux.intel.com" <alexander.shishkin@linux.intel.com>, "mingo@redhat.com" <mingo@redhat.com>, "lznuaa@gmail.com" <lznuaa@gmail.com>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org> |
| X-Original-Date | Tue, 16 Aug 2016 20:40:08 +0000 |
| X-Original-Message-ID | <DB5PR04MB1430F6105A94E0E95FF3C8FF9F130@DB5PR04MB1430.eurprd04.prod.outlook.com> |
| X-Original-References | <20160815223035.5429-1-zhengyu.shen@nxp.com> <20160815165050.GB31080@svinekod> <DB5PR04MB14309188D99C35809DDA377B9F130@DB5PR04MB1430.eurprd04.prod.outlook.com> <20160815194945.GB1120@svinekod> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1464317 |
Show key headers only | View raw
> > > > + hrtimer_start(&pmu_mmdc->hrtimer, mmdc_timer_period(), > > > > + HRTIMER_MODE_REL_PINNED); > > > > > > Why is a hrtimer necessary? Is this just copy-pasted from CCN, or do > > > you have similar HW issues? > > > > > > Is there no overflow interrupt? > > > > When overflow occurs, a register bit is set to one. There is no > > overflow interrupt which is why the timer is needed. > > I see. Please have add comment in the driver explaining this, so that this is > obvious. > > Does the counter itself wrap and continue counting, or does it saturate? > > How have you tuned your polling period so as to avoid missing events in the > case of an overflow? > > Thanks, > Mark. The counter wraps around once every ten seconds for total-cycles (which is the Fastest increasing counter). Polling is done every one second just to be safe.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH v2] Added perf functionality to mmdc driver Mark Rutland <mark.rutland@arm.com> - 2016-08-16 12:50 +0200
Re: [PATCH v2] Added perf functionality to mmdc driver Peter Zijlstra <peterz@infradead.org> - 2016-08-16 14:10 +0200
Re: [PATCH v2] Added perf functionality to mmdc driver Mark Rutland <mark.rutland@arm.com> - 2016-08-16 16:50 +0200
RE: [PATCH v2] Added perf functionality to mmdc driver Zhengyu Shen <zhengyu.shen@nxp.com> - 2016-08-17 07:20 +0200
Re: [PATCH v2] Added perf functionality to mmdc driver Mark Rutland <mark.rutland@arm.com> - 2016-08-17 12:10 +0200
RE: [PATCH v2] Added perf functionality to mmdc driver Zhengyu Shen <zhengyu.shen@nxp.com> - 2016-08-16 19:20 +0200
csiph-web