From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0087.outbound.protection.outlook.com [104.47.42.87]) by dpdk.org (Postfix) with ESMTP id DBEFEDE0 for ; Wed, 10 May 2017 12:16:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=8MfUvlyU2WL0iZtZLrVl3PzKLianL9MiQPkurRSM5ks=; b=CLDWDB5N8mLzKFcPPnGYrYUl14u5ePC5M6D19kkJVu12cfulFcuMd8kwTK9UEn4HsazvImcK5iZMx8jtbhO/T2ZHxSWsvDmzUqTZeHbJV7zKNNA3v/m7cKWgdQRXeugr3+IQ4hnP8EsEQtQIefvV4hEqd7AqTFrXMWC53OHGh6Q= Authentication-Results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=caviumnetworks.com; Received: from 1scrb-1.caveonetworks.com (50.233.148.156) by BY2PR07MB2421.namprd07.prod.outlook.com (10.166.115.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1084.16; Wed, 10 May 2017 10:16:53 +0000 From: Ashwin Sekhar T K To: thomas@monjalon.net, jerin.jacob@caviumnetworks.com, maciej.czekaj@caviumnetworks.com, viktorin@rehivetech.com, jianbo.liu@linaro.org, bruce.richardson@intel.com, pablo.de.lara.guarch@intel.com, konstantin.ananyev@intel.com Cc: dev@dpdk.org, Ashwin Sekhar T K Date: Wed, 10 May 2017 03:16:37 -0700 Message-Id: <20170510101643.30556-1-ashwin.sekhar@caviumnetworks.com> X-Mailer: git-send-email 2.13.0.rc1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [50.233.148.156] X-ClientProxiedBy: DM5PR2001CA0008.namprd20.prod.outlook.com (10.172.43.18) To BY2PR07MB2421.namprd07.prod.outlook.com (10.166.115.13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b4cb0096-4e25-4aa4-d6d2-08d4978daf1d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BY2PR07MB2421; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB2421; 3:ZQz/4k7hOSyGQTmZKjyiP3vpzs8kPqrGhD1T1ueESDxcN73at0hBXc+8nSwt+L7bbywcj+As7UUo/UIeO5OLtWqFn78WkdT3hFPTX7MwpZszLCXLY8Y1GIzh2353cq6pYWeXks7yNqcUh4qS7X/ty3bbgEmKclaxCICO80O2uM+ycQxDdk9DdE6SHGUWG59JkpkpayskmsPsDA/sJ++bKw8nsMw347BotsBJhG5b4n6dCVOPYU/HACr3EMdA1HhsGYocMvomSWV59wyV0wIyLo9t8qHnc8Sgmr7RX3A0M6Lmqifo/sGYcKtdeNgFPlBOygXwISQpOVlxLqmWlWmCfg==; 25:mbYhRv2Kln4+w2+FENp2A/uVOuL2e2YOIKYZfNsdU7MQQppli4S4oAV/74X1DcOwJiuBIapSQgN51yU/jmdnWskRhA5uOZ6pFEPX5QxgQn/uPg2Jountu3XW3hjr+Tdew2elutUGCa+42Miijg0kX5r9YtNOAJIzVkJ4V5/tMV3HxdMyl08Fbczp2uDwe83HuQJKg4gd92DYRtgrjNdyqtwuLE/TyHnBB2uOleXO0QPfudrUNqouvlMwO2+F409ZQtHHQTx5Xb36lnIbrVFSSZXtySyFVH4fxZjpo7S1Etj1SzUzCRRmfnEtv58Q9LjWXn5exZ6ywz6WejMq+Doe29m9gE1TmbvaMZYDYzVCFy1PK3fzG7y5XGBYWW5338UYSZxAUwvnew8VY4+VsQ3LrwM3zq5/FerROQcef4flgbYwDaGvb8nI8OrTwdQ+pEXlTdRc2x/5mfQJ5PQkh82Up9bXc0cmubzTT+IIACjuLZ8= X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB2421; 31:oVefNrIStHzSBvJ4m07wd33SCa5+m2JujSCM7tO5OOgkrZ3pKk+uBc/JmZ2hP0OMx/+jF6Nt8bJHd71zKy0HLH05kS96GduIYVMcagLapEHF62k50oC0HhqUKZbm7y4PzWZXBy2eV+w2vfWvkhllLn8hojq0YjA899eQu6qCcd8OUvzew0cff3okKY4gNb0YmDOLygxjCgUR1JM5UmQUC9IYLX0RhxfO3Dok2bXBYpQ=; 20:3HrjCnuqVNqQVq/KTsccmSUutnq+dpp5arUmuhrzQDLo+a9dZxoUafvAOS4ztl7OF5VA91QwTuXXG4X6gdNpqHdnHoMmaOGw69iKErqnm6jRKdjHRLFFmDaug4NAWx8h1zecSvc9PaoFcD6QUwykFtxh/cXzGsBEQWOQzpnHvFRE8kyLhFxCsm0sm18f0qrO5L3W0WR72gVzbpidkre1wKvKEH3R3edC6Vk0GAYXSk9cgUHXszWxvQPWFJJYg55xbwjgHx8NROikI1nrgCAhCg68ZPDhQr9NRZnQL6N9EVRhR3NNpKxxZ2lG3dzgC/6FTGqYhaouXjDsv4fPv3i5jWAqZ8sQ+B69FPdrKxwRvDc2IcpdzScaw5+HQtn3WzE6NnGujutyAifwdG80eqcvYfv6FeSWOJwK9B6OElL2tUWvuzMhCVWFife0zIo/HL1/sbBw+9KhJF+bNro4uMHauDdKOt3F21PXlGwYE1ZTjR3LZr/ohGMjbEXw66Gx123V6qS/+kvN1JFy0UcjYcsj387H2BxP1OOfa2eBJZK87oX6zXFQ+WvBfE/joYKyT8BLadKHhdek2fy6Lyai6/UH+jZZfc6SQG1XwLzwPpcfV+8= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(10201501046)(93006095)(3002001)(6041248)(20161123560025)(20161123564025)(20161123562025)(20161123555025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148); SRVR:BY2PR07MB2421; BCL:0; PCL:0; RULEID:; SRVR:BY2PR07MB2421; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB2421; 4:MunIUVCIDowjswPUnURwWnzizSmCqmLmDla7jZS1DW6GxJmOGzfEH6fT9WB6K44PjMfyTyO2LkJUn5guEgIAwajCYH4rljDfuCgAkqkQZYDhAF080CdOlh4YPXPFWJmkMysCeQzfEqaCRZVrwxBU/ZuaMxnXvJ+whb8M3vN08exaQf1y+n0TH6sySTCI4tZRU+29IG2BnGNoCdHJmKq4kPv87H3WULK6DNuIDLnIP/MCpjEjZTY8TDghJEneRRkFuDVt26iWXmLSuJjlSj50gV4mmWbEzClc01eOGOpSX4u1EVSwDslcHQHH1TcMWEQUAW6Gk910UCvpXuQN9k57N+TOimu6dKDCf+6ohsKh3v+OeWeB7QmiGqfzQqXfswtLCSXJYlRBxPpn8vMO2YKbJ5FHOjPyLFrgl/Tn5EwXO+LSrQpHmxjz7uPo699KpP+CsetxWu4mo0lYW/yTkmzCl9HJTBowqABgcp52yhV2ChPUw+Hx1udkd7dPlmgoealfTRxq2FH+Pr8tFGRS023M94ye706QxFFb64JFEgG7IFiXBb2op6hpdivtI7kwigJytDMUjMtoEZEtlnzVdWnjMLr/9xb+YF7xMCIitGzAWWTh5mp8zdkmlGPL3IcthowuzMFebBVquS9mZ2cs2WUyk1AVe5Df99b5UHEwlMwTv4qppqRTXB2PWgN3/JrI0d0aWXJPvrolpXVfu3cvL8wTXfNSQbHwX0f+rYs7Qa0FqXYIu+CUjCRiga5zo6CIJvRDW75jS6UgJT4EkTXfy5t3/w== X-Forefront-PRVS: 03030B9493 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39400400002)(39410400002)(39840400002)(39450400003)(39850400002)(6486002)(5003940100001)(6506006)(8676002)(81166006)(48376002)(50986999)(25786009)(42186005)(2906002)(47776003)(66066001)(189998001)(33646002)(53416004)(50466002)(4326008)(7736002)(478600001)(53936002)(42882006)(305945005)(50226002)(6512007)(3846002)(6116002)(38730400002)(5660300001)(107886003)(110136004)(72206003)(36756003)(6666003)(1076002)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR07MB2421; H:1scrb-1.caveonetworks.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR07MB2421; 23:7C+ZSdQdP3Mdj7aoqow80A7TdTnW9JGhYuQz4925Y?= =?us-ascii?Q?VjjG+pPqAQ5q8Tb7rtrzJutLlHnQKCO8Q5MqFC4lQ3n8s/mHh5T5qB59J5w1?= =?us-ascii?Q?NzaIbVIiUaLPbi97n7MtQ19IHBOMjJkOxjItABQyQ8glzkDT+K7P3K9yKZAx?= =?us-ascii?Q?seuTDKsBZ+qa+0kSEkBJPExgMXtbJV8eEVI3ErWfKr7ENbnojIw2NJZDerUV?= =?us-ascii?Q?3mVVkX5OuzGb95g1FR6q1761+SwjvC56eSKhwgx9EeNxIQb6o+jGtwZoLLYR?= =?us-ascii?Q?5bIYNFMvD1agU9cYN0nP3AZWv+ywHDaCSVS2JCpbKNm7g8Dqrbx90aCftSrF?= =?us-ascii?Q?QaQ5ZrBnAiIDB+GUJ8ir+Dgurs9+/BLo5ZusjH9/maWEKINXTRqBlkObau0V?= =?us-ascii?Q?uTGTSLhyJ6x8JempaeFa8v7OOr7kXQlHdZKN89K3svVX+Z/lExd6GAy5Y8mI?= =?us-ascii?Q?kiGZ1fKFIbAbgwMmfNxm5eozRWQYCOxabJ6XCa3hMuOOt1gn62tWGyZbz/sm?= =?us-ascii?Q?tXeh4SR7HgY7LCvj8OuL2zwNBdcY3Oq5CKD9PQVkFecF/PJBQ8Fy1NLlAZ6M?= =?us-ascii?Q?B1VY2pGNI/QsRnNTwVjwHxeNkHBCdr0jYjq/BbIdRqChe5BIGij0fIpYMeCx?= =?us-ascii?Q?WwL0m63sPA8A+9dxgK3IwcJcNm7Lop/DBhmBAnO8qSHb3MDQGxdA+1YEX0x2?= =?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zsjNH9w4xnDbqaDc87dBzpJ3M0vUXx/QhjrBM/tiMfd4FkrsBXomxlFLlB12EVrtgx3fKppUtOuTtg97TrZem4BTjalYNZzGJXaVagHUVMVo3wWxG1b5SQShpVn/8tXpiKIgtgyAQlg==; 24:r/GQC04PjzdsvLzfxJujvyjOYwjaNp5FAxQ1HUWK4nK5jEZr0Exn4JxUgQahnjfKjkfhv669k2aSgKI6ql5Q25EldWQ18GrPOOevw0JYrQE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB2421; 7:CkG2FcsvtYBajXcDJi/RrrW13gT1y/gkL8ZFuGTcD7WNNy3NRWwc+dCfRrZQYEov1BaTnHlvfRFzjstih5qqOZvt6YUGfXDcaH/s8OhCmoDe7b+5zKoSW4962nziOcQd02u31DSZUE+c6gZLii+yNjFaYQ1XGBif64EqDHyE4TUd4zLM/cD+NK2MALkDWGvgQR4AQEbuCcpgpZru218F7RC3yYvw9NmUnrOzb1pfgO+iLH6bGD1aD3IHvPIfciYJL2LOJjrct63ILBceZbZBzUSdXd5zA81uq9i2eVqLKYUeWzAJM4CuZAmQWkOpbkp9wiI2l5I9Uc3z40glUxYi/A== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2017 10:16:53.9139 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR07MB2421 Subject: [dpdk-dev] [PATCH 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: Wed, 10 May 2017 10:16:57 -0000 This series of patches adds the clang compilation support for armv8a linuxapp. Patch 1 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 2 adds the arm64-armv8a-linuxapp-clang defconfig. Patch 3, 4, 5 and 6 are for fixing the compilation errors/warnings. Ashwin Sekhar T K (6): hash: compile armv8a CRC32 support conditionally config: add clang support for armv8a linuxapp net/thunderx: fix compile errors for armv8a clang acl: fix warning seen with armv8a clang eal/arm: fix warnings seen with armv8a clang eal: fix warning seen with armv8a clang config/defconfig_arm64-armv8a-linuxapp-clang | 56 ++++++++++++++++++++++ drivers/net/thunderx/base/nicvf_plat.h | 2 +- lib/librte_acl/Makefile | 5 +- .../common/include/arch/arm/rte_byteorder.h | 2 +- lib/librte_eal/linuxapp/eal/Makefile | 4 ++ lib/librte_hash/Makefile | 2 + lib/librte_hash/rte_crc_arm64.h | 4 -- lib/librte_hash/rte_hash_crc.h | 2 +- 8 files changed, 69 insertions(+), 8 deletions(-) create mode 100644 config/defconfig_arm64-armv8a-linuxapp-clang -- 2.13.0.rc1