linux-stable/drivers/mailbox
Prakash, Prashanth 8b0f578898 mailbox: pcc: optimized pcc_send_data
pcc_send_data() can be invoked during the execution of performance
critical code as in cppc_cpufreq driver. With acpi_* APIs, the
doorbell register accessed in pcc_send_data() if present in system
memory will be searched (in cached virt to phys addr mapping),
mapped, read/written and then unmapped. These operations take
significant amount of time.

This patch maps the performance critical doorbell register
during init and then reads/writes to it directly using the
mapped virtual address. This patch + similar changes to CPPC
acpi driver reduce the time per freq. transition from around
200us to about 20us for the CPPC cpufreq driver

Signed-off-by: Prashanth Prakash <pprakash@codeaurora.org>
Acked-by: Ashwin Chaugule <ashwin.chaugule@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2016-03-09 23:35:29 +01:00
..
arm_mhu.c Merge branch 'mailbox-for-next' of git://git.linaro.org/landing-teams/working/fujitsu/integration 2015-09-05 18:11:04 -07:00
bcm2835-mailbox.c mailbox: Drop owner assignment from platform_driver 2015-08-05 17:20:53 +05:30
Kconfig mailbox: Add generic mechanism for testing Mailbox Controllers 2015-10-17 10:36:56 +05:30
mailbox-altera.c mailbox: Make mbox_chan_ops const 2015-05-12 09:18:16 +05:30
mailbox-sti.c mailbox: constify mbox_chan_ops structure 2015-11-30 21:12:05 +05:30
mailbox-test.c mailbox: mailbox-test: avoid reading iomem twice 2015-11-04 14:03:04 +05:30
mailbox.c mailbox: switch to hrtimer for tx_complete polling 2015-08-10 14:29:27 +05:30
mailbox.h Mailbox: Add support for Platform Communication Channel 2014-11-27 12:51:09 +05:30
Makefile mailbox: Add generic mechanism for testing Mailbox Controllers 2015-10-17 10:36:56 +05:30
omap-mailbox.c mailbox/omap: Add ti,mbox-send-noirq quirk to fix AM33xx CPU Idle 2015-10-23 11:19:27 +05:30
pcc.c mailbox: pcc: optimized pcc_send_data 2016-03-09 23:35:29 +01:00
pl320-ipc.c arm: use subsys_initcall in non-modular pl320 IPC code 2015-06-16 14:12:35 -04:00