summaryrefslogtreecommitdiff
path: root/drivers/mailbox/bcm-flexrm-mailbox.c
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2018-07-16 21:06:03 +0300
committerJassi Brar <jaswinder.singh@linaro.org>2018-08-03 16:27:41 +0300
commit5ab935e1942bdf8cab192478ac668b1589c47059 (patch)
tree70d0fb04461bf92901dd4eb7c8b6212109745818 /drivers/mailbox/bcm-flexrm-mailbox.c
parente7474ca1005768bddde2aad6fdd920245357377e (diff)
downloadlinux-5ab935e1942bdf8cab192478ac668b1589c47059.tar.xz
mailbox: ti-msgmgr: Allocate Rx channel resources only on request
In a much bigger system SoCs, the number of Rx channels can be many and mostly unused based on the system of choice, and not all Rx channels need IRQs and allocating all memory at probe will be inefficient. Some SoCs could have total threads in the 100s and usage would be just 1 Rx thread. Thus, request and map the IRQs and allocate memory only when needed. Since these channels are requested by client drivers on need, our utilization will be optimal. Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'drivers/mailbox/bcm-flexrm-mailbox.c')
0 files changed, 0 insertions, 0 deletions