]> git.baikalelectronics.ru Git - kernel.git/commit
mailbox: bcm-pdc: Performance improvements
authorRob Rice <rob.rice@broadcom.com>
Mon, 14 Nov 2016 18:26:03 +0000 (13:26 -0500)
committerJassi Brar <jaswinder.singh@linaro.org>
Mon, 19 Dec 2016 14:40:22 +0000 (20:10 +0530)
commit4d015db741fd87aa06bc3ad2eb67435e023140e8
treea9dc04c94d42199070b742e050db30d624c8e170
parent3d5f2fb046f86aba70170cec261b24fce0d5eaf8
mailbox: bcm-pdc: Performance improvements

Three changes to improve performance in the PDC driver:
- disable and reenable interrupts while the interrupt handler is
running
- update rxin and txin descriptor indexes more efficiently
- group receive descriptor context into a structure and keep
context in a single array rather than five to improve locality
of reference

Signed-off-by: Rob Rice <rob.rice@broadcom.com>
Reviewed-by: Andy Gospodarek <gospo@broadcom.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/bcm-pdc-mailbox.c