From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0070.outbound.protection.outlook.com [104.47.36.70]) by dpdk.org (Postfix) with ESMTP id 805963B5 for ; Mon, 15 May 2017 12:30:03 +0200 (CEST) Received: from DM5PR03CA0053.namprd03.prod.outlook.com (10.174.189.170) by BY2PR03MB174.namprd03.prod.outlook.com (10.242.36.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1084.16; Mon, 15 May 2017 10:30:01 +0000 Received: from BN1BFFO11FD019.protection.gbl (2a01:111:f400:7c10::1:103) by DM5PR03CA0053.outlook.office365.com (2603:10b6:4:3b::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1084.16 via Frontend Transport; Mon, 15 May 2017 10:30:00 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; caviumnetworks.com; dkim=none (message not signed) header.d=none; caviumnetworks.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1BFFO11FD019.mail.protection.outlook.com (10.58.144.82) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1075.5 via Frontend Transport; Mon, 15 May 2017 10:30:00 +0000 Received: from [127.0.0.1] (B10814-12.ap.freescale.net [10.232.133.65]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v4FATo4V003089; Mon, 15 May 2017 03:29:56 -0700 To: Ashwin Sekhar T K , , , , , , , , References: <20170510101643.30556-1-ashwin.sekhar@caviumnetworks.com> <20170512054547.753-1-ashwin.sekhar@caviumnetworks.com> CC: From: Hemant Agrawal Message-ID: Date: Mon, 15 May 2017 15:59:49 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170512054547.753-1-ashwin.sekhar@caviumnetworks.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131393178007998003; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39840400002)(39410400002)(39400400002)(39380400002)(39450400003)(39850400002)(39860400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(377454003)(24454002)(9170700003)(2906002)(53936002)(38730400002)(305945005)(6246003)(229853002)(4326008)(105606002)(23746002)(65826007)(81166006)(85426001)(8936002)(104016004)(83506001)(65806001)(65956001)(31686004)(8676002)(77096006)(53546009)(36756003)(7126002)(7246003)(5660300001)(47776003)(356003)(7416002)(4001350100001)(64126003)(33646002)(2201001)(50466002)(498600001)(31696002)(54356999)(76176999)(120886001)(6666003)(86362001)(50986999)(230700001)(2950100002)(106466001)(189998001)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB174; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD019; 1:9jgGHDo/71QCMnD6o72Hhd1CYkspeeS9k3gqXD/Mx6WcgzTJnTIuuLh5+TEaEsr3WcP9nAMb+AMb73bmzZd3VoP46VHEcjNeMvbNmFDUXc1ZvSN3xMbyC4IgOOhTWjoeq4KEqFLgqGzYW8UXp9Y6oe762AngvEnbMkUtpFuGzcvjOYhwM/rCTjSqqTGiHnRDKsJYHv8UxxahQXCl0NO36il9FJatXjN4hG26gKHGa4DPYIUPzcyKO7bBmzPo/+nkpyHU2kNMSafpAwp/aesidaf0Xt4I6yRk7MJfcMfA0n2JtuMJqz2Upm9t97b1tx1wx4+NKozVlITRxxWeDWjgTKPdZm9Ccc121doC8Yr9wG6xSITV2sV9O+NwijfOj2rjj+bAxAf4BQtkTJxInaHKhLkYRkwJ6P/0j6OlbkwY2O8ja8/V0feOjdLibFVGircR24T/GNaP/sbIP7IDxO6yewWDRbRdKTq/dtk8MY1SMQAwnW9wbTNEvJifoCJShJG1OcA5faY3MmLcIac2sn/a3qF2fLnDX1fkJjOe7pJfDbHbJKBrtBXONT33S7uDlRNgWRoBEk6H2erCVO6Va7UzMUkuBzDLkqXf97+L7tAPYr5ZNsWqY97Y+W7+HSvxBsJi X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5447da02-bf45-4294-2cd4-08d49b7d5788 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:BY2PR03MB174; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB174; 3:Zgqu1JAM2/bqSfHnl/gxIx8hRvCnBID5cA1g/IZADHLpMr8p8ICZbf850HL13WN/fs6cL7+skjqior3CPqL65k8cKYQQM7SUd9Le2xLdKxtuF9ka7iShPKvAIGmKEi2E+R0B8fl2/+XXaP8tqyPQoQWNXtxftvCBRFqKf91PIUSu4XPJm2pyQMMU2RXc7j+G+7o9tSmV/jd5rmKm0ekh24JAtkOCdT7YLFdAbUGI8PDQWrYZcwbD8yUbb0QEC+O4JOiME0fOctA1UqvVLjVHqeSR7GuoX2yMU2wgVUbGMns32FAQyqXNQZPV9MdjoCZ3lEVuAAzDzLS9ZcFHtqlhoGNVx5fiw/1Z3M6wOIXXbsS0VCMpUDlo1Ff2DtlHRXwr75h9OxosaqZQ9Qp3rPJqK/MJF+d8UFeDv+LXx+u2obM4JYghlku8rLSRyZxwTW6O; 25:Jo6FX0Y3IVNPLuTJw1P2dAjeGD32BGwJywGmXun5XU+X8CMuC570kbC929+FFhlFkd2ebdSNBpI3V2IlUk17kRTs5/DNb1NTT4rRo+/k6lGhz208u7bR2GsuDEuKJURqv7SUPDFK7/Nati9O3oGzbfsuAtDKVY0qw94dZ/p4Xsb0+Ya9Iy67M4v6P6MrlwBgxfZX+e/evMTW6H9dRpaqCmjedYaFlRAaXBgKXUNpRvcfOyXsTyFOIG7lcXh4ZffYaAkWRz6eVh6TvjQt8y2EX+7RvtlKenV/hV5c/VSoKsqSDIEPsxgO72s7fYcjV11WBRSkhY3a+0fuPaYucoiE9Z0OVkTrxYLtgvFsDWm8e5A7Lnd1Bj74G+5DyBHQFU+y2rXhkgOZ+inWNl69UpjhTIXgNnH3ZwutkzvPmwtLsNfIlwY2tXwWqhcSCB7xVqhAbOjCXaLXvZo9aaOQn1zQTQ== X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB174; 31:VJJVFOhGk+Msjupw/kFBE/f1iv1V/A7l0Eh3RKT0V9GzlBnwTpDchWpYw1NVC9oEEKr56/9by2Sy6n5OjRFPuVfFzMalNGFIK/4nh2AnvnQLIOk2tsR/mk4faLU310Wk3FTP+MxJcN58yQpftHfmPOKhdvW2YFGR2UF6JmM6mRYNHbJuVo7PpbJAS8zES4JidXSCMCcxN0txU+otbTWLyKd9yxgQr4I5TejfvgjMS4oCAwkxmP7HFQDC24wHq54mfXrtC5G5kTehE7RgQO+jOQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(601004)(2401047)(13023025)(13018025)(13024025)(5005006)(8121501046)(13015025)(13017025)(3002001)(93006095)(93001095)(10201501046)(6055026)(6096035)(20161123561025)(20161123565025)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(20161123556025)(20161123559100)(20161123563025); SRVR:BY2PR03MB174; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR03MB174; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BY2PR03MB174; 4:NOEmMO+xfdoGY06xIoqRdOWnOTEhUyS7ZXeH2qz?= =?Windows-1252?Q?uqOSHz5ddFRvdXHwhdgJuTi3DG2jziwEVNYc0qJDIOrHOPkEdPAOSbRa?= =?Windows-1252?Q?LGIyxvbHx8C6E/PHvDJII3V5FX378im68Ls98lOZdwq1MWlizpcqxROG?= =?Windows-1252?Q?66xZDLRUuWSCwz+ZVFsjOuTpoIJtNJtLA0ID4xziyh3vcn572f3gOANX?= =?Windows-1252?Q?ON1Yn1nmgP4zqHP2KcQM2wz/vDBdjgy5JaJCr5hUeyq5Ljegd8SJ07ld?= =?Windows-1252?Q?E35Z6A4IrnrRoy9RMnaQWXPP73ax18MDalsXgv4byqWrcv8Ade2Tc/79?= =?Windows-1252?Q?0B2KfgKctljl9KtdCNuAF8JpEiaNwy8ESQ91xjpCUJZu+caEUkPstGQb?= =?Windows-1252?Q?ycfR6K2Zmo5Jh3rO95DqIf6+dJfV2jI7BXXpTZIkOgCkAJ/S/bR7hORS?= =?Windows-1252?Q?zyBDubtc5fut1S6GlJSbwuCM4+riMVf9NDXkbi+oETjm5OgKxkxjdOCI?= =?Windows-1252?Q?jDg5qa3vmE3d2dhXRbxJmTd3bqqVKcJDAYilxDZq6cXa5OcL1AIvsQSo?= =?Windows-1252?Q?B4y9l1ITsy9dKYUWscWxO/5V+AkrbcCGm8fcb+qw+8nFKEISbsaFIS+L?= =?Windows-1252?Q?LVvcgVpPJ3ZJ1Ncf3IPvcnMRrZR3xeyMgUugKNhq9OdwURDVlXhuqHop?= =?Windows-1252?Q?GBp42sMdK/K3ecOcapSCetxQUxzRJn14/cTDgk2AYClNvTQUJF5oJHWe?= =?Windows-1252?Q?SkBWrMfufAv3WFT4if0uTnMMmsVE85mQJGFfFgIZea7xFNW3Fx1G5qKV?= =?Windows-1252?Q?ge6D1vMjIx75NWt4ig/6s2jeUwVWqIFPLJaznmNUFO1bgGg+AA/E1RPt?= =?Windows-1252?Q?4u/YGr09rzrB/b2+XdgH3joVFPs28CDnXsQlxctIGM+2uNt7vhJiqiwD?= =?Windows-1252?Q?7XQoSWqFn4zUaWoCmMkC6SbORPFwxXrQDduf+EMhIhWz+wuAt5IjQu7L?= =?Windows-1252?Q?m7BPt0acHQdyIsQE0h+orD8FYn/AlefMCRAYgXlmR1rDqoA=3D=3D?= X-Forefront-PRVS: 0308EE423E X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BY2PR03MB174; 23:S92maZakmIU0zrOBxMpvWQ9Ya2Ekeca+movk9K?= =?Windows-1252?Q?/NPcIXWhhWM/ReNZxCEyCBsmUd8dAuT6tWJxVfMCApPhySM20Rg+XP5P?= =?Windows-1252?Q?zMjXk6xjYqO0sOVyUGcX4SXGq2FEETnfV8GqfKG8Euort+rmVHJdpomu?= =?Windows-1252?Q?q6HWN+PNN5PEycHCggDkDuVURDQo/EoDk3ywnMky5Ojzae6PuBlG1SGL?= =?Windows-1252?Q?AyBaoCF+A2GPKfyd0B7qWCimdBkY3Ndm/eRpbvm9TUGjU56ZJlD54Iil?= =?Windows-1252?Q?gPvCgwEM52Gg7rC38LqeL0ZD6AQM+JY0qCmdRt3Z1lWjqGgINle2EI09?= =?Windows-1252?Q?j4C1nJW0Gyxfn7pz2lAu6kpZPnID9ht1K9c/ygT8ARLqrBrA3kyvVMzE?= =?Windows-1252?Q?wmuZBU+cYVcljb01VMpaKof35+vONJtSmWJ+eCqVyB+dKKMBOjVYJs0a?= =?Windows-1252?Q?VqGrvArTvn0kLE+5yQO1X9UM1K1Z/iaa1rgH8TG/KdB0JmvHlI0GTD5E?= =?Windows-1252?Q?0UyHDkm9tz9WLv1ewYhhtm18Yl0IaLsQWCWMfDHf3dlF4kRbh6/6FuGb?= =?Windows-1252?Q?kWiIUJkiCrZISW6D1FqTi1JDVri7TAroJ1cMcuOfk+D1W1z2TZpQBPcy?= =?Windows-1252?Q?tG05W03KDjjKIRHztEcXZVhxoxfOXooa3tuKYUv+n9rfX65ZcIhR+vvF?= =?Windows-1252?Q?9nByDBX1YrleEbK51b3TOuznpN3X0kN1OffeAWDOQOcAemqxmD7f7qEo?= =?Windows-1252?Q?VZFwCOuyB6T39olhpmRrpMFqNrG4MrnBbGTiQvBOzH9NTEw5OkL25heT?= =?Windows-1252?Q?O9XfMsbHI72f2gjQlML9UBnabkSOlTwPc8+4qfjWnkxitNor2k1SW+Ec?= =?Windows-1252?Q?kBqYIaQNmf3NPGOrlM5GBAbgQu9p1K1ALaxKElWKTamHCuq5+A1Paf3i?= =?Windows-1252?Q?t8QJA678X0eReMfYBmH6v/FVPyxgVfmrFZh77ellxYIPZw5YFd41s7Zf?= =?Windows-1252?Q?SxTVzTGphI6v/TkTLvtgh30JWgYdTWzNpzsHOWXzIHOCWyzWn828w3fJ?= =?Windows-1252?Q?977UYLeEnUioJAw47YY9HmOevl78Q++J+tRZrox0te1pkuKdEKs8Anls?= =?Windows-1252?Q?C5aDSAxU/zkC/AabkBIeMFmaLHZtOtOivrnYcPmiW6UdOabvAf9W9ruq?= =?Windows-1252?Q?mSmp2rx1gqZ1OuVvi+udAN8hqkWZX9jGDtpY6G1yC+k04SH8PaoZpee5?= =?Windows-1252?Q?rvbOw4i2WH9BdtfCtqkBZVpURVoPbRDbQnb2/Y6hQqyKtzkwIDaQLRe1?= =?Windows-1252?Q?EWtGLfIrIQ68HAT44H1P/qwmHst/LI+Y7s36EAz27zsKUnJHhSwooV7a?= =?Windows-1252?Q?Fgoq4Nfpx2kYNOIqOtY1GIqT8dvB0/W3ZnLbg18QFPqrCPuKJ5pMLs1G?= =?Windows-1252?Q?BvxCEjopSHgRQXUPYJOpeRVDcWDE48QLQuEvPWi7eoYYhdxIrEAPFSPN?= =?Windows-1252?Q?GJpJjMF34evA6xM4fSDQZPd78PSQTQSUJ7pbi293yndlUfQEeYr+N6Lt?= =?Windows-1252?Q?/YpEzi9HpSzQMOfsxF4PAJBmPZkusIB2EMfJxqPSdxvPw/3Xe/GByHBl?= =?Windows-1252?Q?kFC6tlAmbMdKuHnQwQIq6xFimEKh2zV9B5GRsKQjhU?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB174; 6:DR6TEH+kc7Y9lFG1OP9yfKV7R1IVnr90eXhsNwj6Hhb5jbghAIgxc7ikyLtWtd1pc4n2AtTHxqxAHMSvlU/KRzitUsmjXe1qW0sfZMKecs1PkVQW/wq1riYW2ESAPpMg1idZrmevx/tXQVykH19JmjBlKCttAZtIbAWTyGuCO+UMe4nRcrWGpKLR97xSdSMCZrRtJx/uFKbunvwhRqRB08y8/eFRJFP8F5jsMbsjlTuLWVjsHC1gqyJUjzfrUhe2yJAxCThOsCHOKkveuRedA05O871cg7tUJ5Rvd6VmQ4zDxhf1Sd4FpIe0A7MEdMFOhmhujZfc5Of99BgF/A7UNvtztxpTgn1o+lq7oQOG37zvK6D9sLskwZpOzZYmfyvEOBEwu+pXx2lwFHqMJEDRYVp2/sUXRi0PxJ8y+/cfDVP79WJ0winZyQpAzcjlJMNU4pXzMkLqT0P9O21sxJBKxaCHeje2sXaDK6MniJSfQZTr4bXzqfvDRp6+IFcIf24BuV1tFCx5JIH3OW1A7bN0kg==; 5:8j//D4RsHISCkrir6MkNQH4eW6A93jKt04dit2yIS0xIdJUSxHG1KhRWLa2EssikmtETBUbKxOgR7m+61F9KSFHGZbUR+mIEZWjJw/P8SXOy21ZNaF+UlDgna054vpG1Jlk/iCecQ+bQZCKT2VCTdxbG9VbfRYje/plwvdaScIxL/+4gfye4ugrMNb6Oi5Dl; 24:/HeoJMTmA3rsSH58G2U7W8gSdT3ANZq8HjHJ2SGhWvLTCCqmzfygf7BInOBZ1TE9xJyl0j5T29UbMxhr3qIEnfWngmAiHO29QD0xGjdbJAg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB174; 7:gC90EwUvnV4+0dvmdmLl3w/5IYuLIgIEYv9mwftQ0U8Qn5f3saAa8A+kINvSuN+5HaOfvk2XMNhEDWQv52OohaiQ+0TFtUr5Bv9z6UKB/qUfG1c+ww9+Oa5TPcfFVKsv2ZhsZ4LKHaw46jLPIhhzyOigk/mLOuhKZ8oQNlRMI9kNd9fJvcrrt7kM/bfjqkSCkSDMJzRtTQ1nhWdra+YSoTclvrSrTAwTLvtMKrmuk6F/zW1yXO/8GOGZQBXbQxvKC+2Dz9Y0hCuMKlffeRWNVmwk4jqh35but2Pvc12FH/VNjIJC3tJIG7Ua7IUDj1VYeqrg4E4gFCjaBmqbuMTovA== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 May 2017 10:30:00.5190 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB174 Subject: Re: [dpdk-dev] [PATCH v3 0/6] Add clang compilation support for armv8a linuxapp X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2017 10:30:04 -0000 On 5/12/2017 11:15 AM, Ashwin Sekhar T K wrote: > This series of patches adds the clang compilation support for armv8a linuxapp. > > Patch 1 adds an rte_pause() to a tight while loop in rte_eal_wait_lcore(). > It fixes warning -Wempty-body seen with armv8a clang compilation. > > Patch 2 is basically for removing the usage of assembly directive ".arch armv8-a+crc" > as this is not understood by clang. For removing these directives, compilation of > armv8a crc32 support is made conditional and is only done for machines which has > the crc extensions. Doing this avoids the need for having the ".arch armv8-a+crc" > directives in the code. > > Patch 3, 4, and 5 are for fixing the compilation errors/warnings. > > Patch 6 adds the arm64-armv8a-linuxapp-clang defconfig. It also moves all the common > defines to common_armv8a_config. Now defconfigs arm64-armv8a-linuxapp-gcc/clang contain > only the defines related to toolchain. > > v3: > * Moved [PATCH v2 6/6] to [PATCH v3 1/6] and moved [PATCH v2 2/6] to [PATCH v3 6/6]. > > v2: > * Moved common defines from arm64-armv8a-linuxapp-gcc to common_armv8a_config > * Removed the -Wno-empty-body flag from eal Makefile. Added rte_pause() to the > while loop causing this warning. > > Ashwin Sekhar T K (6): > eal: pause while busy-waiting for slave > hash: compile armv8a CRC32 support conditionally > net/thunderx: fix compile errors for armv8a clang > acl: fix warning seen with armv8a clang > eal/arm: fix warnings seen with armv8a clang > config: add clang support for armv8a linuxapp > > config/common_armv8a_linuxapp | 53 ++++++++++++++++++++++ > config/defconfig_arm64-armv8a-linuxapp-clang | 35 ++++++++++++++ > config/defconfig_arm64-armv8a-linuxapp-gcc | 23 +--------- > drivers/net/thunderx/base/nicvf_plat.h | 2 +- > lib/librte_acl/Makefile | 5 +- > lib/librte_eal/common/eal_common_launch.c | 3 +- > .../common/include/arch/arm/rte_byteorder.h | 2 +- > lib/librte_hash/Makefile | 2 + > lib/librte_hash/rte_crc_arm64.h | 4 -- > lib/librte_hash/rte_hash_crc.h | 2 +- > 10 files changed, 100 insertions(+), 31 deletions(-) > create mode 100644 config/common_armv8a_linuxapp > create mode 100644 config/defconfig_arm64-armv8a-linuxapp-clang > Series Acked-by: Hemant Agrawal