From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0050.outbound.protection.outlook.com [104.47.32.50]) by dpdk.org (Postfix) with ESMTP id 355031B04F for ; Sun, 24 Jun 2018 14:28:08 +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:X-MS-Exchange-SenderADCheck; bh=3o2ULHE3Cuoc0JFBBimL5Oxg2B1qTzLtSQ4ljL1k9AY=; b=D+UCNro/UgHPWdWdV3bKi5V6agQFrIcDJFZ5LZfl/rDGt7b7pvZAiy+g3H+OLFrEAllk8+EMBusYfEP5h3PNsvMgN0lwfmwyh944ZyXtHRp+LUS68fYz6+FVOZV10AYTyFVFApaAzsQwey/CuqgDgjZvKGe+Md/qmi+TK3i460U= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (106.200.236.178) by BN3PR07MB2513.namprd07.prod.outlook.com (2a01:111:e400:7bbf::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.884.21; Sun, 24 Jun 2018 12:28:02 +0000 Date: Sun, 24 Jun 2018 17:57:53 +0530 From: Jerin Jacob To: Sachin Saxena Cc: Hemant Agrawal , "dev@dpdk.org" , "nitin.saxena@cavium.com" , "narayanaprasad.athreya@cavium.com" Message-ID: <20180624122751.GA8285@jerin> References: <1528180425-27937-1-git-send-email-hemant.agrawal@nxp.com> <20180610110700.GA6990@jerin> <20180611074527.GA18217@jerin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) X-Originating-IP: [106.200.236.178] X-ClientProxiedBy: BYAPR04CA0011.namprd04.prod.outlook.com (2603:10b6:a03:40::24) To BN3PR07MB2513.namprd07.prod.outlook.com (2a01:111:e400:7bbf::10) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6b358921-bd30-4096-10a2-08d5d9cdef72 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600026)(711020)(2017052603328)(7153060)(7193020); SRVR:BN3PR07MB2513; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 3:/8pM4HLG5ll+vATgOoTh7Zvcja5nzMdnCWZ9TvoOVR+H74di6DUxDTzMFFKqhG/YW0uzvC5vQwfh79W6gYz65bnUcFzcNEuD4FvI3ScplkuqRabRxeQ43t6W6Zaz2BSmoBKWMKJPCO2vbYB9TdZW+YSb4Tq/Lrigxfv7X369CU8OF+mzEbSAbUIgoKPWg3eUSxQ2zZiXnGaNIyW1s4NGJ0Uu3nuopdtYOIZF4ApfQqnehJWVXTqY3zEoK2Zur2d2; 25:DBfWKOaZHjd2yDD3gFhGHkolmSxga78F5GATVfxUmEkV3N1YlbTNKA8uUbJhoxqQBFXhNt5NXvFrGRa4K9HG0FEcMbRurH2A39O2E1P2ipKdteJSiWbRi5Pes/po0hppA/+H2mOrQl7cUfP9WQrIEh88tDlASl7Y1C/GbL6QhzwayXgRqZNTxaQdzM6Qk5qneMuaY04vlo54ObAxS/naEDr8JnLulOnJqnQWPdHgxhTnuh8lSUwiaSOa5r5oR1oeJ1lag42xtxDoFf93G3XuZ2v7d28m5DhYATOx2bSDr8aRM1isxBej2IV7X3kpNQBsqvBckT0+odJ5LrUbo0DNDA==; 31:8Z0JTJi4McTk8tLc1oSNYZCkFROruiUP0Yvo5hunOVH0Tpzv/lkT802Jjxm1LMhs5jzpWp6eHt+Jx/7LqgSUP+mxoXn3KFqVknQ3TVQIYIVTneKwdh1Dr90YXaTQ/GcE/jHDHmT2oUdYpc95eK9zyguFAZZ0TdYS08VtNTbb0IECpstElX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Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(10201501046)(3002001)(3231254)(944501410)(52105095)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123558120)(20161123562045)(6072148)(201708071742011)(7699016); SRVR:BN3PR07MB2513; BCL:0; PCL:0; RULEID:; SRVR:BN3PR07MB2513; X-Forefront-PRVS: 0713BC207F X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(39850400004)(39380400002)(346002)(396003)(376002)(57704003)(13464003)(199004)(189003)(11346002)(33716001)(50466002)(446003)(25786009)(16586007)(97736004)(105586002)(54906003)(59450400001)(106356001)(2906002)(956004)(8936002)(5660300001)(93886005)(316002)(305945005)(6496006)(476003)(58126008)(66066001)(68736007)(486006)(7736002)(81156014)(81166006)(47776003)(229853002)(44832011)(8676002)(186003)(23726003)(53546011)(16526019)(1076002)(6916009)(76176011)(52116002)(6666003)(478600001)(55016002)(33896004)(4326008)(72206003)(6116002)(3846002)(9686003)(42882007)(26005)(53936002)(5009440100003)(6246003)(107886003)(33656002)(386003)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2513; H:jerin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR07MB2513; 23:vnFU3mkD6E752wxwIVkv5bnR/aUJT9kE9Yr0VILoi?= =?us-ascii?Q?xVdm/4CdvNYMC4ak5ikBruXDzg98oPkCFSQQlldvJA5FIE0kIYijCybmOXD0?= =?us-ascii?Q?eC3USdcesnxg6lGXf/xf9KHRTgygG0IJnq387gH7/DKh6VSCxwTfDUV1u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EQG9Jjsj/5FjJM4fDmf9gdECVSjRRZZkjqwH2B?= =?us-ascii?Q?uQP61Bzf8Yd0W2NIJ59lA2QVOpqPN835XzYAPjXmsF9i8iMWx7Ezby0xoVEh?= =?us-ascii?Q?voa/esYFn87HrHu78qr0Oz36h9cDawCzYbaNV3U3IVEXg0R6hX6NVdm06IqL?= =?us-ascii?Q?NDHv6MrMUpHtJRyz8CzPMD2inM4Mg+u1CR+Zl5NMgnC4hBUlHshCeHluNiqw?= =?us-ascii?Q?KoLDvUx2I9Fz94MsUvT56gShojLKvZj4Laytexbu6iQFhEjc5nRvkjK8uZcT?= =?us-ascii?Q?rZt92cMWeMyI412fQQy/pNrRUVxgv9QMEdw3gxwhrjBW38/eKRm0CL3Pxsds?= =?us-ascii?Q?vl78iAB1I7JkzImaIe03ykNgfW2K4I7/I7JDTwDr3SDOcjeX5YQR12SAMuez?= =?us-ascii?Q?PjWR/Fsk4EsdEPUsfgQ5F/XsS5b1nFFggZLJLcu/b3JlaGHvss7pgT3fyUpc?= =?us-ascii?Q?KCIF6kE1L/Y2e0emz7e4SPdoIhVekec3mA=3D?= X-Microsoft-Antispam-Message-Info: Sg+P+Zj3TKT3YubTjZ2BaFTkuKJgE7/ZctG98zWpeUD6k58pLpUzZrnx1OyHIVUPCTzOwdQtBzo97ixvZ7g2KnIn2+Dde6J8hpZadDJWmjyO8h5DYT5rr3aajMh6ksBE/ZlZXj1ICRiJxx065xkZohLHkz4TMyHy3HR7t1wMaIVVaNJYsCwkrp9i2szLP7G378O6onDveTjIFOXqJEKng8UPQ7MQcqmaTZLvPUa3BzhAyLmeFjpuD0pum6kkOjQvPtjq3CzlrGtGKfStQTyi5c2G0qsU0tfB5j6gBjbVBsAqEw+VTdNpOqeO/Z4kf5DKmgkiVlCojUiUfTuBwBZN1rgoldSdt/hAi+55206qKCA= X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 6:RUDcsIEvcECiFqC6S933TpAnznRLSsO6qBasDZfg42wJTgKL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etworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jun 2018 12:28:02.0999 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6b358921-bd30-4096-10a2-08d5d9cdef72 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2513 Subject: Re: [dpdk-dev] [PATCH] mk: change TLS model for ARMv8 and DPAA machine 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: Sun, 24 Jun 2018 12:28:08 -0000 -----Original Message----- > Date: Thu, 14 Jun 2018 06:42:40 +0000 > From: Sachin Saxena > To: Jerin Jacob > CC: Hemant Agrawal , "dev@dpdk.org" , > "nitin.saxena@cavium.com" , > "narayanaprasad.athreya@cavium.com" > Subject: RE: [dpdk-dev] [PATCH] mk: change TLS model for ARMv8 and DPAA > machine > > > > -----Original Message----- > > From: Jerin Jacob [mailto:jerin.jacob@caviumnetworks.com] > > Sent: Monday, June 11, 2018 1:15 PM > > To: Sachin Saxena > > Cc: Hemant Agrawal ; dev@dpdk.org; > > nitin.saxena@cavium.com; narayanaprasad.athreya@cavium.com > > Subject: Re: [dpdk-dev] [PATCH] mk: change TLS model for ARMv8 and DPAA > > machine > > > > [....] > > > > > > Signed-off-by: Sachin Saxena > > > > > --- > > > > > mk/machine/armv8a/rte.vars.mk | 3 +++ > > > > > mk/machine/dpaa/rte.vars.mk | 3 +++ > > > > > mk/machine/dpaa2/rte.vars.mk | 3 +++ > > > > > 3 files changed, 9 insertions(+) > > > > > > > > > > diff --git a/mk/machine/armv8a/rte.vars.mk > > > > > b/mk/machine/armv8a/rte.vars.mk index 8252efb..6897cd6 100644 > > > > > --- a/mk/machine/armv8a/rte.vars.mk > > > > > +++ b/mk/machine/armv8a/rte.vars.mk > > > > > @@ -29,3 +29,6 @@ > > > > > # CPU_ASFLAGS = > > > > > > > > > > MACHINE_CFLAGS += -march=armv8-a+crc+crypto > > > > > + > > > > > +# To avoid TLS corruption issue. > > > > > +MACHINE_CFLAGS += -mtls-dialect=trad > > > > > > > > This issue is not reproducible on Cavium ARMv8 platforms. Just > > > > wondering, Do we need to change default ARMv8 config? > > > [Sachin Saxena] The issue is currently visible On NXP platforms with VPP- > > dpdk solution only. Similar behavior like random crashes or initialization > > failures have been seen by Cavium guys on VPP but they are still > > investigating whether the issues are related to TLS corruption. > > > > I checked with Cavium-VPP team. According to them, they are not facing any > > issue related to TLS > > > [Sachin Saxena] Some more information. - The issue is appearing on NXP ARM platforms as DPDK drivers are also using __thread TLS variables. If the total number of TLS variables (main application + dpdk shared Lib) increases beyond Static TLS Size limit, one will start facing issue like Corruption in TLS variable values. OK. Then it is generic problem. Any information on what is the limit of number of __thread variable ? Is it possible to increase that limit by gcc command line arguments? You may not have answers for this, but, could you ask in Linaro/gcc mailing list. If it is fixed in some specific gcc/glibc version and applying blindly to all GCC versions is not good IMO.