DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v1] eal/arm64: fix aarch64 reg platform value
@ 2021-04-22  9:11 Juraj Linkeš
  2021-04-22  9:22 ` Jerin Jacob
  2021-04-22  9:25 ` Ruifeng Wang
  0 siblings, 2 replies; 4+ messages in thread
From: Juraj Linkeš @ 2021-04-22  9:11 UTC (permalink / raw)
  To: thomas, david.marchand, Honnappa.Nagarahalli, Ruifeng.Wang, jerinj
  Cc: dev, Juraj Linkeš, stable

REG_PLATFORM only uses bit 0 to indicate whether the value retrieved
from hardware matches PLATFORM_STR.

Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
Fixes: 97523f822ba9 ("eal/arm: add CPU flags for ARMv8")
Cc: jerinj@marvell.com
Cc: stable@dpdk.org
---
 lib/eal/arm/rte_cpuflags.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/eal/arm/rte_cpuflags.c b/lib/eal/arm/rte_cpuflags.c
index e3a53bcece..e709a2800e 100644
--- a/lib/eal/arm/rte_cpuflags.c
+++ b/lib/eal/arm/rte_cpuflags.c
@@ -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 */
 
-- 
2.20.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-04 16:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-22  9:11 [dpdk-dev] [PATCH v1] eal/arm64: fix aarch64 reg platform value Juraj Linkeš
2021-04-22  9:22 ` Jerin Jacob
2021-04-22  9:25 ` Ruifeng Wang
2021-05-04 16:41   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).