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 D090AA0C46; Wed, 9 Jun 2021 12:22:54 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5EDC840E3C; Wed, 9 Jun 2021 12:22:54 +0200 (CEST) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150078.outbound.protection.outlook.com [40.107.15.78]) by mails.dpdk.org (Postfix) with ESMTP id 616F04069B; Wed, 9 Jun 2021 12:22:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pqi9rSquIVh06E+laxctK+1xax75Cy5kH5gnXE6zlHo=; b=gyAj2Cgcjqw3/OK1bJUfckx91dDYmM86Ctv374p635MvGAhpRGAjVAZt+wsN2HPppZSsZgZfOeypyjAsdNyfPbVYTkyT7ofsasKIN2cZXn3CFb9XJjU3QegWUAf25WG+UNAtMFfdtfqr8FpzjC2tii4uiaUi5UNQGm/a72Ded4w= Received: from AS8PR04CA0054.eurprd04.prod.outlook.com (2603:10a6:20b:312::29) by VI1PR08MB3886.eurprd08.prod.outlook.com (2603:10a6:803:b9::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4195.25; Wed, 9 Jun 2021 10:22:50 +0000 Received: from AM5EUR03FT037.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:312:cafe::87) by AS8PR04CA0054.outlook.office365.com (2603:10a6:20b:312::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4219.21 via Frontend Transport; Wed, 9 Jun 2021 10:22:50 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT037.mail.protection.outlook.com (10.152.17.241) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4195.21 via Frontend Transport; Wed, 9 Jun 2021 10:22:49 +0000 Received: ("Tessian outbound 2977cc564e34:v93"); Wed, 09 Jun 2021 10:22:49 +0000 X-CR-MTA-TID: 64aa7808 Received: from 03d92086247f.3 by 64aa7808-outbound-1.mta.getcheckrecipient.com id CF0D6B8E-289E-4834-88AE-79588A8CC3F0.1; Wed, 09 Jun 2021 10:22:39 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 03d92086247f.3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Jun 2021 10:22:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mYNrHYZcwK2MFTuU+kJC4zYCOYgWt+pC74od8b92orHAdD445V88JD1rz4cgC/eUeBdwUWiGXCWLkPUshXPlaScg/mxcdu3+qRxRrhBdPy80088eS0/yDO/RbSymKFtzc/7vpxQttFScsnInTiovroEO1TI4/NrKgFpLtVSjZigLLkcfR7k+8H3WjS5SzyLKE17f12sH5Ohd+VK+/Tf3NHnu79PB6r6/kuZ2x1UFt8AOT9eyLn+aVUX2Pp2Iba8n1GUrHweDLE8u6MYpi4lYuEt5SJSDCU57ChfIjAU5qEyqu9Q13N52HZoUI1aQmkNaR1uzf6MWt1iZhq9zsq2+Jw== 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-SenderADCheck; bh=pqi9rSquIVh06E+laxctK+1xax75Cy5kH5gnXE6zlHo=; b=Q5YlKOWFfnCvqlO+x54P9v2l/S8nTj5++eT56IufdrV1LvF2TBEf4h712YAn1nzH7LkhYDPJg/EDPgeL/Yh7KdSYncyQzwA11SS7WAtbc/xTdyJtZsBcTayr7wZGQzdFiod+k35c3XeTTmrf7XNP4gPxuryq4sL5Ue475nvpGZnSvVV1vQWn6YTeu9Y3EtyBlWbRdqYNeHK6rjw/2odFrEw+FvNZrAbACUX1aMiSzChUsoOgpz1/H3Vys4a8+pOMrBc1KLFkx8wAOWP/OUJ/64JXDVcW2tAl/zCRBXSKV7GMVvV0BVDF5sJpTHFBE3l/4TyCsj23hHbCMxSw2p2ohw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pqi9rSquIVh06E+laxctK+1xax75Cy5kH5gnXE6zlHo=; b=gyAj2Cgcjqw3/OK1bJUfckx91dDYmM86Ctv374p635MvGAhpRGAjVAZt+wsN2HPppZSsZgZfOeypyjAsdNyfPbVYTkyT7ofsasKIN2cZXn3CFb9XJjU3QegWUAf25WG+UNAtMFfdtfqr8FpzjC2tii4uiaUi5UNQGm/a72Ded4w= Received: from AM5PR0802MB2465.eurprd08.prod.outlook.com (2603:10a6:203:9f::22) by AM6PR08MB4614.eurprd08.prod.outlook.com (2603:10a6:20b:85::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4219.21; Wed, 9 Jun 2021 10:22:36 +0000 Received: from AM5PR0802MB2465.eurprd08.prod.outlook.com ([fe80::e890:2ff8:8cdf:83b2]) by AM5PR0802MB2465.eurprd08.prod.outlook.com ([fe80::e890:2ff8:8cdf:83b2%4]) with mapi id 15.20.4195.030; Wed, 9 Jun 2021 10:22:36 +0000 From: Ruifeng Wang To: Michael Pfeiffer , Jan Viktorin , "jerinj@marvell.com" CC: "dev@dpdk.org" , "stable@dpdk.org" , "kosar@rehivetech.com" , Phil Yang , Joyce Kong , nd Thread-Topic: [PATCH v5] eal: arm: fix out of tree build Thread-Index: AQHXXRjPceUVyddfk0iDcrMtkKZPC6sLeEng Date: Wed, 9 Jun 2021 10:22:35 +0000 Message-ID: References: <20210609101755.20769-1-michael.pfeiffer@tu-ilmenau.de> In-Reply-To: <20210609101755.20769-1-michael.pfeiffer@tu-ilmenau.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 9107C130714836469D61E47C6AEC2C8D.0 x-checkrecipientchecked: true Authentication-Results-Original: tu-ilmenau.de; dkim=none (message not signed) header.d=none; tu-ilmenau.de; dmarc=none action=none header.from=arm.com; x-originating-ip: [203.126.0.112] x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: 267392a4-f85d-4508-b809-08d92b30889a x-ms-traffictypediagnostic: AM6PR08MB4614:|VI1PR08MB3886: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:6430;OLM:6430; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 28JxLTl5S7xhfFtRlWofjWCz6SgZzC+5wbw0dbTzEULN0SNpxNqxwwVbT8ammbEuQg1MMyn8IhOy8McGg3epFOvgDJqYBJlgyJIZyWDCc7Du17IZh8xq9+yzO1VK3gG5mWJ7lS2HuY14aISgzFybIGNsXZirizWmNGbdSyzk3dc1kMfY2qOesD5CU2vo2JTRMPUrHcq6bKFE5mKVMOqwDeyu+k0IRM73DgRKkjhL6q23oXDMvLSQ2wSEo2JoHGZqym1pSzfU+E8v8qRiY/Z9jDNaJWn2TynQ3pSv4/t87Vz+B3jOQQU/pW3ENveA0SCwV0RjTNS3GO5TBR6aaKizzE4kxOnfbtnoYLefH1hJJBuZ7+iA1bF2CiND1bJEt7Fck6pCOl1hfnw0JSuDB3HTmLxgNTasjmrSlVC+58ZywSeGRFldfEmOB4n95FCoQg1pPki2izrXlvEphJKXYJWwSQ9a0vbhjI6gs/pX9+N1To5janHFAmZssBp+IKQDb2xXh1pWGUxA0HDFo9M2rHKxIYkwvPx32k47bo0QIMDCYJr0E+peMAilt6hk3YjT+UrTfdvC/ExNkQ9ZXpT1xiUY0lsrmqotiVtqv0VkMoiKUyU= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM5PR0802MB2465.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(396003)(39840400004)(346002)(366004)(376002)(8936002)(8676002)(4326008)(86362001)(71200400001)(478600001)(33656002)(83380400001)(76116006)(64756008)(66556008)(66446008)(66476007)(66946007)(9686003)(5660300002)(2906002)(52536014)(6506007)(186003)(110136005)(38100700002)(316002)(54906003)(122000001)(7696005)(53546011)(55016002)(26005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?5tH9FDa/VNgGv2YxNZRknHUaMdlSYmOT3030uSqLpBHhYFmtRm0VkU+GQrMP?= =?us-ascii?Q?1d7L71fy8Nkv4Yywahy6VfoTtpY1KWJfVYndnfkHbXXDFW4RoJq/x46/wu9u?= =?us-ascii?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UbGOYup46ye3S52r?= =?us-ascii?Q?hhih4Nbp+XKhbBul/tVs4JgIu5VYFPGA0WpPn54xPc0y6fxHFdHvpDDLJsDR?= =?us-ascii?Q?//QqjNb3s/4oreDYGRqncMZmuA8FXstKaywHrhjuZU4cq2KhNvplrK/t1uI+?= =?us-ascii?Q?5fS05a7hl05OxH9/2BBxBGBqNUT0+7WwVHCo6ybh24nzqkvWrXwMSnCNKxsc?= =?us-ascii?Q?sNQRyKK3AB3i/96WM6nCh2vB+NfzNE8IjY9pR8Jvl4Itt42KINWW2SlcetQC?= =?us-ascii?Q?FM28oYSArvmZJkUnR/jk2sXz3Vm+fwoKi+e1Avzbu4beL1xUYBhe2vYlP6RP?= =?us-ascii?Q?Br5hnIXtHOC6+6y3loxrHX7p?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB4614 Original-Authentication-Results: tu-ilmenau.de; dkim=none (message not signed) header.d=none; tu-ilmenau.de; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT037.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 8fc52358-c4e4-4b65-f04d-08d92b308072 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Sd9EWvMrsd1GlYR9wLGFSgd181/bJQCWBMzc1u+VMEone7ex4w+jE6Nn5CBskGGoAOnvo/MMs2duJ2kS9iSrTMPmR0QWYuXQHs4NMk/cfgfv+J2CzCuzzH3+dbeCBzPnGmV+tzey5Lov5qipRESfpOtvyb6enB8TXMQZt1wU7F2/1g94GTfl5a5Ehgzn8ziT2DQN4ignO/21zRQ7K7dvbrbAu02t9bGF0H2mGjfmdccQiEmnZLaiPAE0qfRSbeffLhmeAyChIgqVlnRICDnh7q1bmQp1x7P48c30eDYs/PMfvaBswf613sBhL6EGdHsqYCuA39UORR9ISlRySjMFCqIzH+tdNDGZ6dgx8KUdeMmqLHEbRZEQGJ4NZ5VHsE2nOMa8Zky6jXmAxeAy7olf3yYuC8F2RdPopULwVrsfk1fDo7dPlvh6L71+2wp84feMHLRLgRJYeXGG9ljCNOCpcZYSdZXfya8YAN/CFI/in3rPLL/3vuhFlJnLw597OkJU9oxVpSlXc0Dw0Rdb/SaZgA31C5SKiDJNz172l0zX0l5pJpx6pWP1Wms9T2iMdzk8COry5YAMmI7Ev8TSxpuUNIZmKFZEtgsxOTMUukRkt/IJbeclTUIAiGivhvE8m1JZfQ8MVIF0sOeGp7MqVUEGdw== X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(396003)(136003)(376002)(346002)(39840400004)(36840700001)(46966006)(82310400003)(4326008)(83380400001)(33656002)(9686003)(55016002)(47076005)(450100002)(54906003)(356005)(53546011)(6506007)(86362001)(186003)(36860700001)(316002)(26005)(110136005)(478600001)(5660300002)(8676002)(70586007)(336012)(70206006)(2906002)(52536014)(7696005)(8936002)(81166007); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2021 10:22:49.9221 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 267392a4-f85d-4508-b809-08d92b30889a X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT037.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3886 Subject: Re: [dpdk-dev] [PATCH v5] eal: arm: fix out of tree build 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 Sender: "dev" > -----Original Message----- > From: Michael Pfeiffer > Sent: Wednesday, June 9, 2021 6:18 PM > To: Jan Viktorin ; Ruifeng Wang > ; jerinj@marvell.com > Cc: dev@dpdk.org; Michael Pfeiffer ; > stable@dpdk.org; kosar@rehivetech.com; Phil Yang ; > Joyce Kong > Subject: [PATCH v5] eal: arm: fix out of tree build >=20 > Including various headers may fail for ARM builds with 'Platform must be = built > with RTE_FORCE_INTRINSICS' if rte_config.h is not included before. Move > the error message after the includes to ensure rte_config.h is always > included. >=20 > Fixes: de966ccdcd7f ("eal/arm: add byte order operations for ARM") > Fixes: 17d5fa0fa90d ("eal/arm: add atomic operations for ARMv7") > Fixes: d708f01b7102 ("eal/arm: add atomic operations for ARMv8") > Fixes: 2173f3333b61 ("mcslock: add MCS queued lock implementation") > Fixes: 7860c3965483 ("eal/arm: add spinlock operations for ARM") > Fixes: ca49b92079df ("ticketlock: enable generic ticketlock on all arch") > Cc: stable@dpdk.org > Cc: kosar@rehivetech.com > Cc: phil.yang@arm.com > Cc: joyce.kong@arm.com >=20 > Signed-off-by: Michael Pfeiffer > --- Acked-by: Ruifeng Wang