summaryrefslogtreecommitdiff
path: root/drivers/firmware/ti_sci.c
diff options
context:
space:
mode:
authorVasyl Gomonovych <gomonovych@gmail.com>2018-04-20 20:20:36 +0300
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>2018-04-20 20:20:36 +0300
commitbc3acbb8752ee9d4b3bed091886511171bf6050f (patch)
tree0e52845c0de60e5b44f0b757caea7420d4d8d677 /drivers/firmware/ti_sci.c
parent8af70cd2ca508061088d5059ba8a8218aca7ddf1 (diff)
downloadlinux-bc3acbb8752ee9d4b3bed091886511171bf6050f.tar.xz
soc: ti: knav_qmss: Use percpu instead atomic for stats counter
Hwqueue has collect statistics in heavy use queue_pop/queu_push functions for cache efficiency and make push/pop faster use percpu variables. For performance reasons, driver should keep descriptor in software handler as short as possible and quickly return it back to hardware queue. Descriptors coming into driver from hardware after pop and return back by push to reduce descriptor lifetime in driver collect statistics on percpu. Signed-off-by: Vasyl Gomonovych <gomonovych@gmail.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Diffstat (limited to 'drivers/firmware/ti_sci.c')
0 files changed, 0 insertions, 0 deletions