Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933418AbbGJS3W (ORCPT ); Fri, 10 Jul 2015 14:29:22 -0400 Received: from mail-bn1bon0145.outbound.protection.outlook.com ([157.56.111.145]:51520 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932661AbbGJS3M (ORCPT ); Fri, 10 Jul 2015 14:29:12 -0400 X-Greylist: delayed 79625 seconds by postgrey-1.27 at vger.kernel.org; Fri, 10 Jul 2015 14:29:11 EDT From: Roy Pledge To: Scott Wood , Paul Bolle CC: "linuxppc-dev@lists.ozlabs.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH 02/11] soc/fsl: Introduce DPAA BMan device management driver Thread-Topic: [PATCH 02/11] soc/fsl: Introduce DPAA BMan device management driver Thread-Index: AQHQuohY2rDMKNe3ZkWysPaDcXIDnp3UYocAgACU+4CAAA5dcA== Date: Fri, 10 Jul 2015 18:29:08 +0000 Message-ID: References: <1436473322-21247-1-git-send-email-Roy.Pledge@freescale.com> <1436473322-21247-3-git-send-email-Roy.Pledge@freescale.com> <1436517510.20619.123.camel@tiscali.nl> <1436549503.2658.157.camel@freescale.com> In-Reply-To: <1436549503.2658.157.camel@freescale.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: freescale.com; dkim=none (message not signed) header.d=none; x-originating-ip: [192.88.168.49] x-microsoft-exchange-diagnostics: 1;CY1PR03MB1485;24:TK2H3pwc3lOcBhhZxt2Bb5cBQeL/5gZCZfSIwmKtyco+61HqB3aDmFF/4Anyy8wz8e4K749t++kl2l0XTURt/CHPk/Htl2yG0LMTj9zQ6ss=;20:qXesuYoCHsdjCtbFkqKMUPoeEXbt3Q4RNiBTmrMjn8KQZW42BoIdU1l+trX8tdjupEsWfbsWruDbN9WiWb/U1A== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR03MB1485; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:CY1PR03MB1485;BCL:0;PCL:0;RULEID:;SRVR:CY1PR03MB1485; x-forefront-prvs: 06339BAE63 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(40100003)(77156002)(74316001)(102836002)(189998001)(2656002)(5003600100002)(87936001)(122556002)(5001960100002)(46102003)(62966003)(5001770100001)(92566002)(93886004)(77096005)(54356999)(50986999)(76176999)(33656002)(86362001)(2950100001)(106116001)(2900100001)(5002640100001)(76576001)(66066001);DIR:OUT;SFP:1102;SCL:1;SRVR:CY1PR03MB1485;H:BN3PR0301MB1267.namprd03.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jul 2015 18:29:08.2165 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR03MB1485 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id t6AITQwP009899 Content-Length: 1318 Lines: 27 > return in_be32((void *)bm + offset); > > ^ > > [...]/drivers/soc/fsl/qbman/bman.c: In function ‘__bm_out’: > > [...]/drivers/soc/fsl/qbman/bman.c:172:2: error: implicit declaration > > of function ‘out_be32’ [-Werror=implicit-function-declaration] > > out_be32((void *)bm + offset, val); > > These PPCisms will need to be fixed. LS1043A is an ARM chip with DPAA 1.0. LS1043 (ARM, Little Endian) support is still work in progress. The patches for that are being tested now but are based on the SDK version of the driver and will need to be massaged in order to get them applied here. Our plan of record is to add upstream support for this at a later time. > > > ^ > > [...]/drivers/soc/fsl/qbman/bman.c: In function ‘of_fsl_bman_probe’: > > [...]/drivers/soc/fsl/qbman/bman.c:463:17: error: ‘NO_IRQ’ undeclared > > (first use in this function) > > if (err_irq == NO_IRQ) { > > This isn't even a PPCism. It's just wrong. Compare to zero instead. Yeah - I recall fixing this when doing the ARM port but I guess I didn't make the same change in this version. I will address this in the next version. > > -Scott ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?