From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00051.outbound.protection.outlook.com [40.107.0.51]) by dpdk.org (Postfix) with ESMTP id C3A4A1D7 for ; Sun, 6 May 2018 15:17:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Wz1sFOyOK+xVTK1GQekthX1i4H0c6xFL9izHVDdhm28=; b=bronzregxbYoTDqwE25nbEJLsiydKm72e00wv3LnVPiaSrXJH8QiiLSGDCvMEwY78oXC2xgMnCMOQExU4QAdvY3fnaw3oYlVwKYNtbLGnD9DVUgOL5460Gb29Vxhgd2epMnxyNA+DgaulivbCVSl+n9+z+m2Du+K4Ouc8WrAUOU= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB4346.eurprd05.prod.outlook.com (52.134.108.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.735.17; Sun, 6 May 2018 13:17:55 +0000 Received: from DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::f116:5be4:ba29:fed8]) by DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::f116:5be4:ba29:fed8%13]) with mapi id 15.20.0735.018; Sun, 6 May 2018 13:17:55 +0000 From: Shahaf Shuler To: Pavan Nikhilesh , Ali Alnubani , Thomas Monjalon , "Raslan Darawsheh" , "jerin.jacob@caviumnetworks.com" CC: "dev@dpdk.org" Thread-Topic: event/octeontx: add event timer adapter driver Thread-Index: AQHT5Tyl0xoPiQtjWk6YK0xR3TZWTg== Date: Sun, 6 May 2018 13:17:55 +0000 Message-ID: References: <20180423084433.GA29406@ltp-pvn> In-Reply-To: <20180423084433.GA29406@ltp-pvn> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; x-originating-ip: [31.154.10.107] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB4346; 7:CGYnytKtYE1yRUfEAK7WpB/zHdXY4rMxO7ZdUN9seICNfQBw0JsqFta6osdOmDZjlzyrd4uUZ8EkVVKWREeyzZO56W3XW/ipbE8psC1aJrctn85qftwEI39eJEXpJbn4ENzAbKVhb9Di3iJmqCQbUOhxpQaqhT+GCVMgT69YRy6OJl+zrv23lDtGR/B9Ht+G4xSOKAe1A3fR9hvaY94I7T2+/ArzuouZBlClXmDI8aWkKmmt2C4PwG41P9BTmvkJ x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB4346; x-ms-traffictypediagnostic: DB7PR05MB4346: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(189930954265078)(45079756050767); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231254)(944501410)(52105095)(3002001)(10201501046)(6055026)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123558120)(6072148)(201708071742011); SRVR:DB7PR05MB4346; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB4346; x-forefront-prvs: 06640999CA x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39380400002)(346002)(376002)(366004)(39860400002)(396003)(189003)(199004)(3846002)(6116002)(316002)(97736004)(25786009)(45080400002)(110136005)(106356001)(3660700001)(3280700002)(2906002)(186003)(476003)(446003)(11346002)(486006)(66066001)(105586002)(575784001)(86362001)(99286004)(478600001)(966005)(6506007)(59450400001)(7696005)(76176011)(6436002)(26005)(102836004)(53936002)(5660300001)(7736002)(81156014)(81166006)(8676002)(9686003)(8936002)(55016002)(305945005)(4326008)(14454004)(5250100002)(5890100001)(2501003)(74316002)(2900100001)(6306002)(6246003)(33656002)(68736007)(229853002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB4346; H:DB7PR05MB4426.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: FHmbrQJO2ad9I/Scpdn+i6JWK4e5NMDPqTdqnoCBRrlbl3OkipWOP3viKFY3lNgH0uaNRad1vEmYZEkijgbg0obqoED5V+8UAVe3ELMVAkx2gJaWKHRYLn4o1UBEPRkC42Iy50MyP5LXPX5mG5lMs3by81SYgOl1SWKpGS9IduQNEZ4AUCwcbWcfPcBNAn5t spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 75264e3e-b1e5-4f0b-747c-08d5b353c79c X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 75264e3e-b1e5-4f0b-747c-08d5b353c79c X-MS-Exchange-CrossTenant-originalarrivaltime: 06 May 2018 13:17:55.4901 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB4346 Subject: Re: [dpdk-dev] event/octeontx: add event timer adapter driver 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, 06 May 2018 13:17:58 -0000 Monday, April 23, 2018 11:45 AM, Pavan Nikhilesh: > Subject: Re: event/octeontx: add event timer adapter driver >=20 > Hi Ali, >=20 > Looks like a compiler bug rather than code issue, I have verified this on= x86 > with gcc 4.8.5 and don't see an issue. >=20 > Looking around I found that compiling with -O1 on aarch64 gcc 4.8.5 seems= to > fix the compiler bug. Even if compiler bug, can we W.A in the PMD code? Surely you want your PMD = to be compiled in most/all inbox gcc compilers.=20 Here is even more problematic since it means DPDK doesn't compile natively = on aarch with RH7.5. not sure how octeontx PMD can be enabled by default wi= th such case.=20 >=20 > Thanks, > Pavan. >=20 > On Sun, Apr 22, 2018 at 04:03:36PM +0000, Ali Alnubani wrote: > > Hi Pavan, > > > > The patchset > https://emea01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fdpd > k.org%2Fml%2Farchives%2Fdev%2F2018- > April%2F094928.html&data=3D02%7C01%7Cshahafs%40mellanox.com%7C0829 > 941a97144eed811508d5a8f680c8%7Ca652971c7d2e4d9ba6a4d149256f461b%7 > C0%7C0%7C636600699041780885&sdata=3DhyAPljSPsY5PY2Had7vNwF5JX1zC0T > i8WLEZr1lzhwo%3D&reserved=3D0 is causing a compilation error on > QUALCOMM ARM with RHEL7.5 and gcc version 4.8.5: > > > > """ > > /download/dpdk-next-net-mlx/drivers/event/octeontx/timvf_worker.c: > In function 'timvf_timer_arm_burst_sp': > > /download/dpdk-next-net- > mlx/drivers/event/octeontx/timvf_worker.c:89:1 > > : error: could not split insn } ^ (insn 95 98 99 (parallel [ > > (set (reg:DI 0 x0 [orig:98 D.8130 ] [98]) > > (mem/v:DI (reg/f:DI 21 x21 [orig:88 D.8136 ] [88]) [-1 = S8 A64])) > > (set (mem/v:DI (reg/f:DI 21 x21 [orig:88 D.8136 ] [88]) [-1= S8 A64]) > > (unspec_volatile:DI [ > > (plus:DI (mem/v:DI (reg/f:DI 21 x21 [orig:88 D.= 8136 ] [88]) [-1 S8 > A64]) > > (const_int -281474976710656 [0xffff00000000= 0000])) > > (const_int 0 [0]) > > ] UNSPECV_ATOMIC_OP)) > > (clobber (reg:CC 66 cc)) > > (clobber (reg:DI 1 x1)) > > (clobber (reg:SI 2 x2)) > > ]) /download/dpdk-next-net- > mlx/drivers/event/octeontx/timvf_worker.h:95 1832 {atomic_fetch_adddi} > > (expr_list:REG_UNUSED (reg:CC 66 cc) > > (expr_list:REG_UNUSED (reg:SI 2 x2) > > (expr_list:REG_UNUSED (reg:DI 1 x1) > > (nil))))) > > /download/dpdk-next-net- > mlx/drivers/event/octeontx/timvf_worker.c:89:1 > > : internal compiler error: in final_scan_insn, at final.c:2897 Please > > submit a full bug report, with preprocessed source if appropriate. > > See > gzilla.redhat.com%2Fbugzilla&data=3D02%7C01%7Cshahafs%40mellanox.com% > 7C0829941a97144eed811508d5a8f680c8%7Ca652971c7d2e4d9ba6a4d149256f > 461b%7C0%7C0%7C636600699041780885&sdata=3DbPZVI%2BkCTkDrHmUscl%2 > FqJyuwe%2BmZw795yiAvoUX%2BPE8%3D&reserved=3D0> for instructions. > > PMDINFO opdl_evdev.o.pmd.c > > CC opdl_evdev.o.pmd.o > > LD opdl_evdev.o > > PMDINFO sw_evdev.o.pmd.c > > CC sw_evdev.o.pmd.o > > LD sw_evdev.o > > Preprocessed source stored into /tmp/ccmqxmH7.out file, please attach > this to your bugreport. > > make[6]: *** [timvf_worker.o] Error 1 > > make[5]: *** [octeontx] Error 2 > > make[5]: *** Waiting for unfinished jobs.... > > AR librte_pmd_opdl_event.a > > INSTALL-LIB librte_pmd_opdl_event.a > > AR librte_pmd_sw_event.a > > INSTALL-LIB librte_pmd_sw_event.a > > make[4]: *** [event] Error 2 > > make[3]: *** [drivers] Error 2 > > make[2]: *** [all] Error 2 > > make[1]: *** [pre_install] Error 2 > > make: *** [install] Error > > """ > > > > The compilation only passes with CONFIG_RTE_LIBRTE_OCTEONTX_PMD, > CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF and > CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL set to false. > > It also passes if I upgrade gcc, but can we have a fix for old gcc vers= ions? > > > > Thanks, > > Ali