mcslock: use WFE in lock for aarch64
authorFeifei Wang <feifei.wang2@arm.com>
Wed, 20 Oct 2021 03:03:35 +0000 (11:03 +0800)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 20 Oct 2021 06:22:41 +0000 (08:22 +0200)
commitc4629b02c51f91f4aa66f07893efb362b5399f10
tree461f5605f9b7440fe5b7adc9cc08c193f16d3508
parenta6e24bf41787766861a5fe6c8ae7a22954b0bf61
mcslock: use WFE in lock for aarch64

Instead of polling for previous lock holder unlocking, use
wait_until_equal API.

Signed-off-by: Feifei Wang <feifei.wang2@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
lib/eal/include/generic/rte_mcslock.h