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 01729A0032; Fri, 24 Jun 2022 10:24:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9CCE140A87; Fri, 24 Jun 2022 10:24:12 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 05AE340A82 for ; Fri, 24 Jun 2022 10:24:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656059051; x=1687595051; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=uQEJR/SGRJiWbibRzzSt2lGeArcsKM8sk6+st4HJy+A=; b=au4PLA4xbnUTFi048LauNvCENteNy6igksmZKi7KT18lAxqb0Bqdc3C8 zy5Ni+Y/utz8RGaju6yC8sxSUCHp4ycWtV7tA+GCrN/UoOz/CcYzQKQqV cyytPdqw8A73zJUIAD9uhv7D1pYHSJYu0rTRGH4q9VPz3vqLN2fqB9dYq IQYVY2nTBypA6tjBr+Hhdu82BWVYhL66DNTIuB0ObVqUbg5JZwwQGAq+a DjpP6FHeiwmxjawmh/NnkSQvdbwSBMtgNn2HzjFwbjkTJ9nH+mItjrEvi Ngubxqe5YXj1811Fa5Wkwoe9zRckx1NKmGwCs9ar7ThYjS7XzQx/oOjn0 Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10387"; a="342641452" X-IronPort-AV: E=Sophos;i="5.92,218,1650956400"; d="scan'208";a="342641452" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jun 2022 01:24:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,218,1650956400"; d="scan'208";a="915593670" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga005.fm.intel.com with ESMTP; 24 Jun 2022 01:24:09 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Fri, 24 Jun 2022 01:24:09 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Fri, 24 Jun 2022 01:24:09 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.170) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Fri, 24 Jun 2022 01:24:08 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Lzj7wF3bs16P0mLQ3Hu5P3gkkbc448eDOKIbDRZKiu0aE+5Tz9UycDLoOilEB9lSC4AAWekrxUvGpp2PiW10POiTd8DkkItdRn6pbmkTVS7YkhdhXWwaw9Uo94Lo7wiW4JvMeLlsNMz3Y3Hb5FzWuoyUI5tIl4+4WS5Xyk0DdULF+IWIKpItCXtxrW/xwuT1utwI8SxqdfDwraIlQO5zVV93M5vAE8YNx4GChkiHVg94unBTIZHwQsUshDkOSdeU8sUe9rLGCYolYwg2XtxGURoPR0ctemvvujpjmD3Vl8Ewzb8fPvNIpiQmkrX3AXh5A3nmcKtjrD1sg9Y92fzurA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=uQEJR/SGRJiWbibRzzSt2lGeArcsKM8sk6+st4HJy+A=; b=U5c/EBOC+fwOcYl9OulLXG12SbY1sb0o6KXDppUPG44BgArnZxxBuFboCVeDpzGqkNhLaiUfBeeQlmzsNN6zKWv70b/gUqLA8q0xKnaGw1z+P+HCh7XiEFX/kmaGOcQP05iDQtp421LvoH+OV3yZD83LOaYV2DAdjWz9eha54LTbzgeXQh8hybhEp5qlCKDo2IQ8QJvk+TXpb+ZErWQoUB3rm08CzX4CibGOM9E4wzWSw9Rn/hIKqATQELS/0S+HsIgzd0A1DG/9Z/bOQ9L2klx6Rdn+tgBbl6uMru+WME+85rfC0msXJ/EF08fZSvwC++iRLBbFRU7//fKJbCoX/A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from BYAPR11MB2711.namprd11.prod.outlook.com (2603:10b6:a02:c2::30) by CO1PR11MB4978.namprd11.prod.outlook.com (2603:10b6:303:91::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.16; Fri, 24 Jun 2022 08:24:02 +0000 Received: from BYAPR11MB2711.namprd11.prod.outlook.com ([fe80::b936:5bf8:23b5:51b2]) by BYAPR11MB2711.namprd11.prod.outlook.com ([fe80::b936:5bf8:23b5:51b2%7]) with mapi id 15.20.5353.022; Fri, 24 Jun 2022 08:24:02 +0000 From: "Jiang, YuX" To: "Richardson, Bruce" , "dev@dpdk.org" CC: "Richardson, Bruce" Subject: RE: [PATCH 3/3] dma/idxd: fix non-AVX builds with older compilers Thread-Topic: [PATCH 3/3] dma/idxd: fix non-AVX builds with older compilers Thread-Index: AQHYhwg8i4NWzovMF0+WYcvYmsQBca1eOKhg Date: Fri, 24 Jun 2022 08:24:02 +0000 Message-ID: References: <20220623134933.469240-1-bruce.richardson@intel.com> <20220623134933.469240-4-bruce.richardson@intel.com> In-Reply-To: <20220623134933.469240-4-bruce.richardson@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: aeb6b856-a05c-4746-bb15-08da55bae560 x-ms-traffictypediagnostic: CO1PR11MB4978:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: y/2+aMzLNZ4VchbuxsidTKQCyImlA9Vsu/nGqsJG0e8SPSEZ5Jf5cRGv+V9SzSJ/PXk6/kwT7tmY72alpzZ2tDsmQPolt7H+OjjuefKI5u8sbNQzHtuqaqNsWxM3GLCZCs3DEC6iVuVhE8Ng+u5+hEBA+W6BbkDDluYD1i44IXF6mRBUkgGFpOu5Y3xJ8mMkAkRLlpi+TYKAw0XcZlLMFrsmo4k15xxan06Nh9Qn11dgKBQDP7O7jSiThd4Q0Mjn7qYA/GsdrbLje1eYKuFQTwfG6N+KmnnQ+6b5iiONCcf0Fzsh74USnHXRMBXd9r/61mOpMPSuCfYOu1S4iV5j3+v0xNtnPs6bUx2klzLymQ5XIzpyPLTVZKyH12dOlfCdolSQQrHPijumYzT7loPSDwTPcpW+UqffwVSHsqxOnNywQ7NFcuBfvtYCqot5te+lrBdZWjj9MSpW9X6ae0cE3MAV1zIWCeu8IP2AyR93s0YFoI90/eu8/i/6sZYtZqlmFh/cj4WONTTJivi9IpxouT7HinCFisdbPsUIYBIFnGnQA18nbxGX2O2zXPI6hlF4OhHkzJjEaHu9Y2wDhiuQ6/vq2aTi6b34n0r9Oa+lrFs6Sgaa0hZSL5CSpaIDAu8cXmC2QqdhPXJlaqvHl8VT+59Jvmao1y0lgdZFL44qcycZxoW/TYdCX17uPs3mD1n10gSAiTyjKIDq/JMAcsOfMV8FNpeoaK0IlElJHR1sVGCSPM4RoiLrrM0GA0tWFBuQJTotUT6mAX0c7ya0UokxGI/+ZjnpLLQjO/mS0RNPXfE= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB2711.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(136003)(376002)(39860400002)(346002)(366004)(396003)(122000001)(38070700005)(86362001)(38100700002)(76116006)(8676002)(4326008)(66476007)(66946007)(66446008)(82960400001)(66556008)(64756008)(55016003)(110136005)(316002)(186003)(8936002)(7696005)(4744005)(52536014)(5660300002)(107886003)(83380400001)(53546011)(478600001)(6506007)(2906002)(9686003)(26005)(41300700001)(71200400001)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?dxKhB/apRfU668CSRtAMoC1w3hU+j9rOpVu+FI0U/ddz0RxWxMJq0pq2c8T6?= =?us-ascii?Q?oSUplxHzKYLSOVAe84IuVDEUFC1vvZBPcI3nX12fRzLchVFe9DQJyR6fE66O?= =?us-ascii?Q?fIlMjCUpiyK0yHVe4xOm6UmUZxVGURA0bnbTS/dwWJDINZKcXEL76OwBOJvN?= =?us-ascii?Q?HToVv8U5kiM4gCAUXn4QiHugphjFMOJY/Ompd9cRsQKt3Qh3GtZK79xz7XaT?= =?us-ascii?Q?RBLQdNEwFyBX2XpQH9JAE8jM3a1YLH+uoFIEpGRbF5s5fPmasnzqNodUOxB+?= =?us-ascii?Q?b+mgf5/fIsJk68goWQdlMGdE0zq1N5w7p7qe1WSeHWdquVjlGiZX+NrrveAH?= =?us-ascii?Q?GGJXBuADsMz0AmBmOBURjcxaMDqxg2B+5v04TdV/V3X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O7y6vSq0TvsRfIkHOqChOIAptLJmSGU4EvhLtdml9uP?= =?us-ascii?Q?qKvLeECtamTtHjjPuuk1Bb7/PoDA5AxO5/kZ81I12yOFJoOlemYKLB7DWVEi?= =?us-ascii?Q?i0jQZk96H8EpTOolEQR2xpC4kNKogtgTHQ2cw6nTt9v7SuH6pyUIWVhyPK0x?= =?us-ascii?Q?KXnkJ7aHk8LINGwPJVSJZ70gkd66bMfOu6Ovbd2hHSwphy1AC53VEIwmPHP4?= =?us-ascii?Q?cuuQMCoONwI1Lj5s7Nx4i0tLFspfOmPsvYyML0RUsGRYnrULI7/BrEL/HQxM?= =?us-ascii?Q?4bEdxI7v4wmgXCkWYTXnay2DkmpYuuL/snN6UYG1?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB2711.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: aeb6b856-a05c-4746-bb15-08da55bae560 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2022 08:24:02.6477 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7JkcONZIMe9TTR7TV6ME+iv6pvf+w5w+mp87IHYK/SwIQrWvfmtGNDQZiFrb5ZkH7N56uTo6LLB3OAd8JmRiXQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB4978 X-OriginatorOrg: intel.com 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 > -----Original Message----- > From: Bruce Richardson > Sent: Thursday, June 23, 2022 9:50 PM > To: dev@dpdk.org > Cc: Richardson, Bruce > Subject: [PATCH 3/3] dma/idxd: fix non-AVX builds with older compilers >=20 > When building without AVX2 support using an older compiler e.g. gcc 4.8 o= n > 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. >=20 > Generic builds using recent compilers, and all builds with a minimum base= line > of AVX2 are unaffected by this change. >=20 > Fixes: aa802b10237c ("dma/idxd: fix AVX2 in non-datapath functions") >=20 > 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) Best regards, Yu Jiang