eal/arm64: fix platform register bit
REG_PLATFORM only uses bit 0 to indicate whether the value retrieved
from hardware matches PLATFORM_STR.
Fixes: 97523f822b
("eal/arm: add CPU flags for ARMv8")
Cc: stable@dpdk.org
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
This commit is contained in:
parent
245efe544d
commit
20c7744f8d
@ -108,7 +108,7 @@ const struct feature_entry rte_cpu_feature_table[] = {
|
||||
FEAT_DEF(SVEF32MM, REG_HWCAP2, 10)
|
||||
FEAT_DEF(SVEF64MM, REG_HWCAP2, 11)
|
||||
FEAT_DEF(SVEBF16, REG_HWCAP2, 12)
|
||||
FEAT_DEF(AARCH64, REG_PLATFORM, 1)
|
||||
FEAT_DEF(AARCH64, REG_PLATFORM, 0)
|
||||
};
|
||||
#endif /* RTE_ARCH */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user