From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B6666A0553; Sun, 26 Jun 2022 10:29:09 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 59AB041144; Sun, 26 Jun 2022 10:29:09 +0200 (CEST) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by mails.dpdk.org (Postfix) with ESMTP id 360AE41141 for ; Sun, 26 Jun 2022 10:29:08 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id C19BA3200708; Sun, 26 Jun 2022 04:29:05 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 26 Jun 2022 04:29:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1656232145; x= 1656318545; bh=LF/oL1IEVaJkfQ8oYG0rFu/8lzs8hU26wCdCalNrvIM=; b=W ax2GeP/Y2fmLmzzk8cml1eN2oK4hFwBwbR+bAuk5wKxkWmgDpLUF0OpfBPBFQzVf AUmqjDMDZZniKN9lmkP8tOwYTBtvz06adFwtbz5NTgYyGH20tnusC1U/iLZ2KHVg E4ZFEr+O/2fKbCGn6lchhymcvrOK3MPITPOOQpsA9RFOhQnjXO4I/AITuKiNLGrO R4EOb7/9Cd5DYwNIYxpO3iKv1OYkYGB5noM9lyFOsY/1RY46SKLqG3+Skuk20zTs 7dhKOywqQqO6BEMREnDomOTR96q1fnTaqeu9I5q1LiSuQX9zgzREQghipuzhi4mI jwYxftdUmTh3YlBQ3ME6w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1656232145; x= 1656318545; bh=LF/oL1IEVaJkfQ8oYG0rFu/8lzs8hU26wCdCalNrvIM=; b=a AfMxaeFTnOEbluPYQZEEvYUiBi0bQ2q+9kK3AFcqBVSlsMGvaKLQVO0QwFNONhVn PNiKYYd1lEv9gOTQOzxOITJGEgQm7yvrhlFE+8PscliVsZyGwlZ7LaHNkdcqVvkU lBkI34LMunb520C4mfnikhEMXlKpOQ9UVvon69360i9tLspaHBFcZIVl52RnNzu1 pOLXLTG5/4n/V5fZCTFOmCKDSgOndoZo8d6ozfaQ0+aAAlU+r3CUkxHmgYRqX8Km A3eKrKI6te4tWSjCtqWj+VoQkURdXherZJNHFIRBGWuAJUlv5l07fRnjli0hXR7t Bn0Rp5nEaNvx95b6pGG7g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudegfedgtdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 26 Jun 2022 04:29:04 -0400 (EDT) From: Thomas Monjalon To: "Richardson, Bruce" Cc: "dev@dpdk.org" , "Jiang, YuX" Subject: Re: [PATCH 3/3] dma/idxd: fix non-AVX builds with older compilers Date: Sun, 26 Jun 2022 10:29:02 +0200 Message-ID: <11406115.qUNvkh4Gvn@thomas> In-Reply-To: References: <20220623134933.469240-1-bruce.richardson@intel.com> <20220623134933.469240-4-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > > When building without AVX2 support using an older compiler e.g. gcc 4.8 on > > Centos/RHEL 7, we get build errors due to the use of AVX2 intrinsics. > > This is because the compiler does not support > > "__attribute__((target(AVX2)))" function attribute. Disable build of this > > driver such edge cases. > > > > Generic builds using recent compilers, and all builds with a minimum baseline > > of AVX2 are unaffected by this change. > > > > Fixes: aa802b10237c ("dma/idxd: fix AVX2 in non-datapath functions") > > > > Signed-off-by: Bruce Richardson > > --- > Tested-by: Yu Jiang > > Tested env as below: > OS: CentOS7.9/kernel: 3.10.0-1160.62.1.el7.x86_64 > Compiler: gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) Series applied, thanks.