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

* Re: [dpdk-dev] [PATCH v1] eal/arm64: fix aarch64 reg platform value
  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
  1 sibling, 0 replies; 4+ messages in thread
From: Jerin Jacob @ 2021-04-22  9:22 UTC (permalink / raw)
  To: Juraj Linkeš
  Cc: Thomas Monjalon, David Marchand, Honnappa Nagarahalli,
	Ruifeng Wang (Arm Technology China),
	Jerin Jacob, dpdk-dev, dpdk stable

On Thu, Apr 22, 2021 at 2:41 PM Juraj Linkeš <juraj.linkes@pantheon.tech> wrote:
>
> 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")

Fixes and cc stable should go above Signoff.

> Cc: jerinj@marvell.com
> Cc: stable@dpdk.org


Reviewed-by: Jerin Jacob <jerinj@marvell.com>


> ---
>  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

* Re: [dpdk-dev] [PATCH v1] eal/arm64: fix aarch64 reg platform value
  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
  1 sibling, 1 reply; 4+ messages in thread
From: Ruifeng Wang @ 2021-04-22  9:25 UTC (permalink / raw)
  To: Juraj Linkeš, thomas, david.marchand, Honnappa Nagarahalli, jerinj
  Cc: dev, stable, nd

> -----Original Message-----
> From: Juraj Linkeš <juraj.linkes@pantheon.tech>
> Sent: Thursday, April 22, 2021 5:12 PM
> To: thomas@monjalon.net; david.marchand@redhat.com; Honnappa
> Nagarahalli <Honnappa.Nagarahalli@arm.com>; Ruifeng Wang
> <Ruifeng.Wang@arm.com>; jerinj@marvell.com
> Cc: dev@dpdk.org; Juraj Linkeš <juraj.linkes@pantheon.tech>;
> stable@dpdk.org
> Subject: [PATCH v1] eal/arm64: fix aarch64 reg platform value
> 
> 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

Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>

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

* Re: [dpdk-dev] [PATCH v1] eal/arm64: fix aarch64 reg platform value
  2021-04-22  9:25 ` Ruifeng Wang
@ 2021-05-04 16:41   ` Thomas Monjalon
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2021-05-04 16:41 UTC (permalink / raw)
  To: Juraj Linkeš
  Cc: david.marchand, Honnappa Nagarahalli, jerinj, dev, stable, nd,
	Ruifeng Wang

> > 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
> 
> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>

Applied, thanks



^ 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).