All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] mk: remove AVX512 disabled warning on non x86
@ 2019-02-24 18:27 Jerin Jacob Kollanukkaran
  2019-03-05 12:11 ` Ferruh Yigit
  0 siblings, 1 reply; 2+ messages in thread
From: Jerin Jacob Kollanukkaran @ 2019-02-24 18:27 UTC (permalink / raw)
  To: dev; +Cc: thomas, bruce.richardson, ferruh.yigit, Jerin Jacob Kollanukkaran

AVX512 is a x86 specific feature, So, enable AVX512
warning only on x86.

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
---
 mk/toolchain/gcc/rte.toolchain-compat.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mk/toolchain/gcc/rte.toolchain-compat.mk b/mk/toolchain/gcc/rte.toolchain-compat.mk
index dbddc986e..df71e4a8b 100644
--- a/mk/toolchain/gcc/rte.toolchain-compat.mk
+++ b/mk/toolchain/gcc/rte.toolchain-compat.mk
@@ -22,6 +22,7 @@ HOST_GCC_VERSION = $(HOST_GCC_MAJOR)$(HOST_GCC_MINOR)
 
 LD_VERSION = $(shell $(LD) -v)
 # disable AVX512F support for GCC & binutils 2.30 as a workaround for Bug 97
+ifeq ($(CONFIG_RTE_ARCH_X86), y)
 ifneq ($(filter 2.30%,$(LD_VERSION)),)
 FORCE_DISABLE_AVX512 := y
 # print warning only once for librte_eal
@@ -29,6 +30,7 @@ ifneq ($(filter %librte_eal,$(CURDIR)),)
 $(warning AVX512 support disabled because of ld 2.30. See Bug 97)
 endif
 endif
+endif
 
 # if GCC is older than 4.x
 ifeq ($(shell test $(GCC_VERSION) -lt 40 && echo 1), 1)
-- 
2.20.1

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

* Re: [PATCH v1] mk: remove AVX512 disabled warning on non x86
  2019-02-24 18:27 [PATCH v1] mk: remove AVX512 disabled warning on non x86 Jerin Jacob Kollanukkaran
@ 2019-03-05 12:11 ` Ferruh Yigit
  0 siblings, 0 replies; 2+ messages in thread
From: Ferruh Yigit @ 2019-03-05 12:11 UTC (permalink / raw)
  To: Jerin Jacob Kollanukkaran, dev; +Cc: thomas, bruce.richardson

On 2/24/2019 6:27 PM, Jerin Jacob Kollanukkaran wrote:
> AVX512 is a x86 specific feature, So, enable AVX512
> warning only on x86.

Changed to a fix:

    mk: fix AVX512 disabled warning on non x86

    ...

    Fixes: a32ca9a4ebc1 ("mk: fix scope of disabling AVX512F support")
    Cc: stable@dpdk.org

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

Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>

Applied, thanks.

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

end of thread, other threads:[~2019-03-05 12:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-24 18:27 [PATCH v1] mk: remove AVX512 disabled warning on non x86 Jerin Jacob Kollanukkaran
2019-03-05 12:11 ` Ferruh Yigit

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.