From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0086.outbound.protection.outlook.com [104.47.33.86]) by dpdk.org (Postfix) with ESMTP id 5F09A322C for ; Mon, 22 Jan 2018 13:37:53 +0100 (CET) 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=bWw4wGGjGJmWa9JMfAPVwVj5+ltypbCJRSJyHZ7fsaw=; b=eXRQ6jRE3AQqRKdm4ClnqpSE9EIBKwgh1vAF1jJBgux8EsSMCepDH/TEzRPuIUWpdqes5565emw/dZRyjEBfxj18HPTdchV3gLhlmUwyoMRyUXRDyj3Hc7PkwwwXrZCpR5cO5xK2x7RZauiHYxkSfZW8DAWAL+Q8sDMPYjKd1K0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from Pavan-LT (111.93.218.67) by DM5PR07MB3466.namprd07.prod.outlook.com (10.164.153.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Mon, 22 Jan 2018 12:37:48 +0000 Date: Mon, 22 Jan 2018 18:07:18 +0530 From: Pavan Nikhilesh To: Bruce Richardson , jerin.jacob@caviumnetworks.com, harry.van.haaren@intel.com, herbert.guan@arm.com, hemant.agrawal@nxp.com Cc: dev@dpdk.org Message-ID: <20180122123717.7ku5z6yr5dz6mit3@Pavan-LT> References: <20171219105338.198727-1-bruce.richardson@intel.com> <20180122114649.5907-1-pbhagavatula@caviumnetworks.com> <20180122114649.5907-2-pbhagavatula@caviumnetworks.com> <20180122123053.GA19076@bricha3-MOBL3.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180122123053.GA19076@bricha3-MOBL3.ger.corp.intel.com> User-Agent: NeoMutt/20170609 (1.8.3) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: KL1PR0601CA0001.apcprd06.prod.outlook.com (10.170.160.139) To DM5PR07MB3466.namprd07.prod.outlook.com (10.164.153.21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7104a6c0-eb5d-4dec-e5b8-08d56194f380 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534125)(4602075)(4627221)(201703031133081)(201702281549075)(2017052603307)(7153060)(7193020); SRVR:DM5PR07MB3466; X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3466; 3:pIBZ+MmPFprff8WAPzIgqMuh5soZEcXPr88zfIASw3LuHoQnOqNy8PxFSAdFBEAWDiMPb6JZ4O06xMTvzBZgm5Pu/8c49A2cHe5vCdjr+OsK31ztW4RAes0qmAsSK1lTop/DvVSzUDUIZLbE2gm4RDdoZEEIUOLzG9WoYwKfdUSSb1P/xtV4c+XxCyajAL/cvZMrvqzXZoYI8N6ptUqJsv+EW6t93QYK213kUqCyaSfakuUvq0Q7ltxEUtXJoCZp; 25:Mbnu8zbIk8RwSoFBsAMC12jTenkPKaCboIT7jWKUWubomTxivO3bZfMQV0hvt4uRMdWYtUonXOfJROOXdCNOcKZhhW6BLF2lrxl0y84VAsZ9cyiir8m0c4s0S3DYap48QFs2Zw1XPP5W5OH5Fy0P987Dd1A7SwZAJoDrCZIH8oObcMU6bonaHznMEbXOg9johMOqu4tAHoRA76cwNJBKtDrCSkBGbG5w/p34pOAUg/huy8PaF0ViIjhxc9oVRvKjE+bfa789iN0MqRRulTE7z+QFplQX+sdaBhGe5HWxz8eRiGDQAuTeRI+iZ+Dn08Oa431KZAiCA08ICK6RVsC7bw==; 31:bpKltErTuyW4BsbhCmIBCwg9BGCCFv5Gy8jzLT1A8LhaAIdt7JrlGQ8qrZVb4HtL5p/8UigK5SvQsGEixwUNQpir+vUjBxYyDMk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0ltql0PAzuwHuUsz0xqd1MW+qqtffGVTZz5XsKJmdDg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(3231023)(2400081)(944501161)(93006095)(10201501046)(3002001)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011); SRVR:DM5PR07MB3466; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:DM5PR07MB3466; X-Forefront-PRVS: 0560A2214D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39380400002)(396003)(346002)(39850400004)(366004)(376002)(174864002)(199004)(189003)(16586007)(53936002)(16526018)(9686003)(47776003)(55016002)(93886005)(58126008)(68736007)(8936002)(4326008)(8656006)(97736004)(50466002)(305945005)(25786009)(7736002)(386003)(81156014)(6246003)(8676002)(83506002)(1076002)(2906002)(106356001)(33716001)(6496006)(81166006)(5660300001)(105586002)(66066001)(478600001)(3846002)(6116002)(23726003)(6666003)(42882006)(2950100002)(26005)(229853002)(72206003)(76176011)(5009440100003)(52116002)(33896004)(316002)(107986001)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR07MB3466; H:Pavan-LT; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR07MB3466; 23:EHGMaxh7MdCK18VB55IVpay1V4nN8ZYzuuaWCVcDj?= =?us-ascii?Q?25SJ4m4PgMOvCK81ifUsWQELJA4PUdNA0JuixVjX/A3A1tdkZnlDs+C82VX+?= =?us-ascii?Q?LK8tneifNhRMawZgmxFEB87F3nGgBKRILiInMYAD3IvyIV95rRipYnrje1wr?= =?us-ascii?Q?euocjG4XATe1qyCALEomshN6Pf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YUR34r/vVrzVGti2epWCy4NVukyxIdvfIAu/r5vjV8WGY4RK+Q8dblvqrH9g1zeULda0DfIFaO9qAucjEn/y6bMkSh+r9JiCAFLd9WJFN7gTbGfR31m6ky+u93IdOnWzxPsAWBHTrNYSPQeOcV8QCuxNjrYxH/7MHXU0pY++Nr1et8xMiFVrC SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jan 2018 12:37:48.3189 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7104a6c0-eb5d-4dec-e5b8-08d56194f380 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR07MB3466 Subject: Re: [dpdk-dev] [PATCH v5 2/2] build: add support for detecting march on ARM 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, 22 Jan 2018 12:37:53 -0000 On Mon, Jan 22, 2018 at 12:30:53PM +0000, Bruce Richardson wrote: > On Mon, Jan 22, 2018 at 05:16:49PM +0530, Pavan Nikhilesh wrote: > > Added support for detecting march and mcpu by reading midr_el1 register. > > The implementer, primary part number values read can be used to figure > > out the underlying arm cpu. > > > > Signed-off-by: Pavan Nikhilesh > > --- > > app/test-pmd/meson.build | 2 +- > > config/arm/armv8_machine.py | 18 +++++++++ > > config/arm/meson.build | 95 +++++++++++++++++++++++++++++++++++++++++---- > > config/meson.build | 19 ++++----- > > drivers/meson.build | 2 +- > > examples/meson.build | 2 +- > > lib/meson.build | 2 +- > > meson.build | 2 +- > > test/test/meson.build | 2 +- > > 9 files changed, 121 insertions(+), 23 deletions(-) > > create mode 100755 config/arm/armv8_machine.py > > > > + > > + if machine == 'generic' > > + machine = impl_generic > > + cmd_output = cmd_generic > > + endif > > + > > + message('Implementer : ' + machine[0]) > > When cross-compiling for arm I get an error at this line: > > Meson encountered an error in file config/arm/meson.build, line 69, column 1: > Index 0 out of bounds of array of size 0. > Will be sending v2 of the cross patch soon(once directory structure and file name is fininlized) that would resolve this issue. > Regards, > /Bruce Thanks, Pavan. > >