From: Nitin.Chaudhary@zii.aero (Nitin Chaudhary)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 0/3] Re:[PATCH v2] Added perf functionality to mmdc driver
Date: Thu, 18 Aug 2016 18:40:57 -0700 [thread overview]
Message-ID: <1471570860-2087-1-git-send-email-Nitin.Chaudhary@zii.aero> (raw)
In-Reply-To: <DB5PR04MB1430487C8BFA276E285493959F150@DB5PR04MB1430.eurprd04.prod.outlook.com>
The following series of patch resolve the kernel compilation errors with the
proposed perf functionality integration into MMDC driver by Zhengyu Shen and
hence provide the working code which can be enhanced upon as per the reviews
from Mark Rutland and Peter Zilstra. The code still retains the original working
as was proposed by Zhengyu except a few minor changes to resolve probe failure
in the latest version of kernel. These patchsets are second version of patches
incorporating the inputs from Zhengyu. The below is description:
v2 - Migrated driver to use state machine based CPU notifier
v3 - Fixed the code for probe failure while polling on MMDC MAPSR bit 4
The following are results after running v3 version of the patches on an i.MX6Q
board
root at RDU2:/mnt/disk ./perf stat -a -e mmdc/busy-cycles/,mmdc/read-accesses/,mmdc
/read-bytes/,mmdc/total-cycles/,mmdc/write-accesses/,mmdc/write-bytes/ dd if=/de
v/zero of=/dev/null bs=1M count=5000
5000+0 records in
5000+0 records out
5242880000 bytes (5.2 GB) copied, 4.63319 s, 1.1 GB/s
Performance counter stats for 'system wide':
823347142 mmdc/busy-cycles/
12406525 mmdc/read-accesses/
404.43 MB mmdc/read-bytes/
2460141184 mmdc/total-cycles/
11050765 mmdc/write-accesses/
353.64 MB mmdc/write-bytes/
4.661893334 seconds time elapsed
Any review & comments are welcomed!
Nitin Chaudhary (3):
Error: Fix mmdc compilation errors due to cpu notifier
[i.MX6Q] Code cleanup & verification after fixing compilation error
[i.MX6Q]Removed MMDC Auto Power saving timeout error
arch/arm/mach-imx/mmdc.c | 122 +++++++++++++++++++++++++--------------------
include/linux/cpuhotplug.h | 1 +
2 files changed, 69 insertions(+), 54 deletions(-)
--
2.7.4
________________________________
This email and any files transmitted with it are confidential & proprietary to Zodiac Inflight Innovations. This information is intended solely for the use of the individual or entity to which it is addressed. Access or transmittal of the information contained in this e-mail, in full or in part, to any other organization or persons is not authorized.
next prev parent reply other threads:[~2016-08-19 1:40 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-15 22:30 [PATCH v2] Added perf functionality to mmdc driver Zhengyu Shen
2016-08-15 16:50 ` Mark Rutland
2016-08-16 12:04 ` Peter Zijlstra
2016-08-16 14:40 ` Zhengyu Shen
2016-08-15 19:49 ` Mark Rutland
2016-08-16 20:40 ` Zhengyu Shen
2016-08-17 10:04 ` Mark Rutland
2016-08-16 0:25 ` kbuild test robot
2016-08-17 0:59 ` Nitin Chaudhary
2016-08-17 0:59 ` [PATCH 1/2] Error: Fix mmdc compilation errors due to cpu notifier Nitin Chaudhary
2016-08-17 0:59 ` [PATCH 2/2] [i.MX6Q] Code cleanup & verification after fixing compilation error Nitin Chaudhary
2016-08-17 15:31 ` [PATCH v2] Added perf functionality to mmdc driver Zhengyu Shen
2016-08-17 17:36 ` Nitin Chaudhary
2016-08-17 17:40 ` Nitin Chaudhary
[not found] ` <CAJOu_28674HsFLo45YnG1UT-Ocoz9oMuLh1uJ60UQ3ciW+YAPA@mail.gmail.com>
[not found] ` <DB5PR04MB1430DE79735EE6106190CFD99F140@DB5PR04MB1430.eurprd04.prod.outlook.com>
[not found] ` <CAJOu_289cZ8jXDcH3FB3hShyUyOUMrNJ+BCrcAevEtK+2D26xg@mail.gmail.com>
[not found] ` <DB5PR04MB1430487C8BFA276E285493959F150@DB5PR04MB1430.eurprd04.prod.outlook.com>
2016-08-19 0:34 ` Nitin Chaudhary
2016-08-19 1:17 ` [PATCH v3 0/3]Re:Re:Re:[PATCH " Nitin Chaudhary
2016-08-19 1:17 ` [PATCH 1/3] Error: Fix mmdc compilation errors due to cpu notifier Nitin Chaudhary
2016-08-19 1:17 ` [PATCH 2/3] [i.MX6Q] Code cleanup & verification after fixing compilation error Nitin Chaudhary
2016-08-19 1:17 ` [PATCH 3/3] [PATCH][i.MX6Q]Removed MMDC Auto Power saving timeout error Nitin Chaudhary
2016-08-19 1:40 ` Nitin Chaudhary [this message]
2016-08-19 1:40 ` [PATCH 1/3] Error: Fix mmdc compilation errors due to cpu notifier Nitin Chaudhary
2016-08-19 15:28 ` Zhengyu Shen
2016-08-22 4:05 ` Nitin Chaudhary
2016-08-19 1:40 ` [PATCH 2/3] [i.MX6Q] Code cleanup & verification after fixing compilation error Nitin Chaudhary
2016-08-19 1:41 ` [PATCH 3/3] [PATCH][i.MX6Q]Removed MMDC Auto Power saving timeout error Nitin Chaudhary
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1471570860-2087-1-git-send-email-Nitin.Chaudhary@zii.aero \
--to=nitin.chaudhary@zii.aero \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox