eal/arm64: fix precise TSC
authorHaifeng Lin <haifeng.lin@huawei.com>
Thu, 12 Mar 2020 01:08:33 +0000 (01:08 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 13 Mar 2020 12:52:04 +0000 (13:52 +0100)
commit754b6166f522f3fab2c6dd7949c9d1180aa1c7a9
tree53d9081af1f2b4515f38291550aa1d644b05d081
parentd635f81c56626a071faac3b8a97a33f12dd70c17
eal/arm64: fix precise TSC

In order to get more accurate the cntvct_el0 reading,
SW must invoke isb.

Fixes: ccad39ea0712 ("eal/arm: add cpu cycle operations for ARMv8")
Cc: stable@dpdk.org
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
Signed-off-by: Haifeng Lin <haifeng.lin@huawei.com>
lib/librte_eal/common/include/arch/arm/rte_cycles_64.h