event/octeontx2: use WFE while waiting for head
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Wed, 23 Oct 2019 16:12:43 +0000 (21:42 +0530)
committerJerin Jacob <jerinj@marvell.com>
Wed, 30 Oct 2019 13:24:03 +0000 (14:24 +0100)
commit23df006e9c64f233743dd1a84cd2be4df56d5de4
tree7e91a272fce4f7df936c63418cac3f9b97220d1d
parent206b89c742723209569145c95fd61954886f90f1
event/octeontx2: use WFE while waiting for head

Use WFE to save power while waiting for tag to become head.

SSO signals EVENTI to allow cores to exit from wfe when they
are waiting for specific operations in which one of them is
setting HEAD bit in GWS_TAG.

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
drivers/event/octeontx2/otx2_worker.h