Received: by 10.223.164.202 with SMTP id h10csp649809wrb; Mon, 6 Nov 2017 12:58:54 -0800 (PST) X-Google-Smtp-Source: ABhQp+QHtdO4gSWpGUN3MKvgbAMcf1HIscTABUCilW1Ppd2+FJ2kkySODAv+CGZOiepOe+h0yURk X-Received: by 10.84.224.132 with SMTP id s4mr15823886plj.409.1510001934835; Mon, 06 Nov 2017 12:58:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510001934; cv=none; d=google.com; s=arc-20160816; b=ig34DiUToatmv29D4WpBmFlLYyK/teYuKgCqkn8aj+Y8SQ5e0o9WkpwRmZOlkYyTWZ uXu7ejhx36uip7nL9r9ja+DlMhbFTVoVL5V54/1r2WWLjFikGT07aemMcl00fhpElwfz Cj7LDqsyzSZtMlYQyxXFSVaKZAwTiRxi4Hk1/l4cYNULMtYlXmTyG29zrHPQLK/CPxgL dlr+URNjvnslVvGftSasxXYh5Fg6+2KyEfQrF2LdfaUnGdrTCI+ZYU9vFQsVPZFd+Rrk 8RP6SsrL5h4Uk7HoDsKrGEAGrGVdhRpHCmTrmGtHej9rGSa9965Iq3JKYYKA47EUU6vh iwQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=FjTl5iJsDg3NI0b5n5Bos1np2N8+bbt+5FiEd93Yr4U=; b=XFHm4L47bEHxUJd1rCT2UwZqugPMiXfZRfL/QP8Yol+uNFXdLcAdHT6cICuzCt0FAN aNBm9nXeLDDHEFh1t26myRvsIo+3lqvYreKHeeM890gB1hTta7gUJQ7uyAQompBgKJh2 r3a036W/UzvFEKM3tfjPU/a9Js0q/VtG7lhcq+YVbsbsgKAFNuKRe03CF9CqkQcXOFmV s9vQkrUFR9463EUPm6kwH4uD/JzB/+FCGt+qrXyiynDQY9ebv78lPp8d+aeVJpjmXaoH WQG2jAS56O2IDGFbXCFDwKIRCXC9srA/OcO0bHibBmoHHFUxZiqcJsocWTEbnQF/+pPG 9w3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=XFNL2yUH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k70si11778503pgc.344.2017.11.06.12.58.41; Mon, 06 Nov 2017 12:58:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=XFNL2yUH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933234AbdKFTkM (ORCPT + 95 others); Mon, 6 Nov 2017 14:40:12 -0500 Received: from mail-ve1eur01on0082.outbound.protection.outlook.com ([104.47.1.82]:56784 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752315AbdKFTkK (ORCPT ); Mon, 6 Nov 2017 14:40:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=FjTl5iJsDg3NI0b5n5Bos1np2N8+bbt+5FiEd93Yr4U=; b=XFNL2yUHfNpmZ6EIrbRv2KjOugxxv6I9SJ4SzRlBf179eC2xnh8ElEnjfVLCPUQzQ3d6f+F8z+KYCOz4YtRevyiJ2WKByPvM7s1Hc42yx7lxl5QAOZ02rOdo01NSiDC7qH4e1mgD327M5SPxQyK9/YPh0p6iRF9JjkIDY4M5oj4= Received: from DB6PR04MB2999.eurprd04.prod.outlook.com (10.170.213.18) by DB6PR0401MB2549.eurprd04.prod.outlook.com (10.169.225.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.197.13; Mon, 6 Nov 2017 19:40:07 +0000 Received: from DB6PR04MB2999.eurprd04.prod.outlook.com ([fe80::318e:4fa9:364f:4ec2]) by DB6PR04MB2999.eurprd04.prod.outlook.com ([fe80::318e:4fa9:364f:4ec2%13]) with mapi id 15.20.0197.019; Mon, 6 Nov 2017 19:40:06 +0000 From: Roy Pledge To: Laurentiu Tudor , Greg KH CC: "devel@driverdev.osuosl.org" , "stuyoder@gmail.com" , "arnd@arndb.de" , "marc.zyngier@arm.com" , Stuart Yoder , "linux-kernel@vger.kernel.org" , "agraf@suse.de" , "Catalin Horghidan" , Ioana Ciornei , Thomas Gleixner , Leo Li , "Bharat Bhushan" , "linux-arm-kernel@lists.infradead.org" , Jason Cooper Subject: Re: [PATCH v2] staging: fsl-mc: move bus driver out of staging Thread-Topic: [PATCH v2] staging: fsl-mc: move bus driver out of staging Thread-Index: AQHTH+wG8MTWniSaRk21xd0aK/lH3Q== Date: Mon, 6 Nov 2017 19:40:06 +0000 Message-ID: References: <20170828105405.19552-1-laurentiu.tudor@nxp.com> <20170831160430.GB11200@kroah.com> <20171103151711.GA22453@kroah.com> <5A006F97.1080409@nxp.com> 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=roy.pledge@nxp.com; x-originating-ip: [192.88.168.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DB6PR0401MB2549;6:IsPyrptiRS7bbzxgzpIJKMHGxDTa7TbaM4xnZl4VCxtI5sQeMrK7OPtxgMNHEuA52L15IlHHtH1B16k9DPYViC8mu3cLJBSs8CRlqb8oXfrKhJ2ZlbLxfVhTBRgLt1XhU4mDwVm/URZXg3duD8QOjrbHnoH4sHzR5Opusq/LmOcIf9EzjcUmCD5IkQQbgrXfrQtma3q5gxUPeb5ZJw9vAGW84K6Htso9CQ1+E4QUQjKKfyHcf050SP2c9IHzSr4Ge29W1ZmHby18azL2H3l3SQqSrI1jjq/BVvHm0t9yu7HvoUBHkVx+ZA4uE51QYvdtszMwxzg3I1qFM6e3yxHxW7qNgXYdZjnxb3L2cO+64tg=;5:IUNApbq1krGw5nwPVXw51sczIthCWIY2TCG+wZTGQhcPBWwntHexmTSJ7MhVYUsxymokQIbTTCNOemch/ar0HQUs1p4g5hoAzjsDEfdXH36JRpE5T+D1YUK+7nIZzghDKgbi/JhbPzgfHBnR7PeXgsqqdu1YnXuPqtHa22rtvLM=;24:K++cLA1RsOATYqGz/RXhcW2LJLw1HaO6RxbL5AsalqXvvuBrSyIyMjMJDpXnpTF201fsosfenMYE0LljlXrbZJE0W9fA35Y05gXvUl0W3hA=;7:BceXdVmijH1YXrI+AelXMVaqH+ANjq5eGnbCx2FIFnczgDdue+VTMm+NW/cx1UG6LNlPNH5dV+kCuNFmtpfXXl5ByVPT07nJ6+i1ZABhP/f2EEe4ZpetF02gxqLEB6BRrva+yPJiT1BKFP6wYsfPupis3DP6558JxXsizD4gGadIRWJHwRfrCXziEydpe+KGA09q8MGBTcrhJCrtNd+ieN/9ogqD9B5gwquhNpap6n9QR+qtL3G9dS6eGRQhFPGK x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-forefront-antispam-report: SFV:SKI;SCL:-1;SFV:NSPM;SFS:(10009020)(6009001)(376002)(346002)(39860400002)(189002)(199003)(68736007)(54906003)(8676002)(9686003)(3846002)(6116002)(478600001)(102836003)(6506006)(86362001)(3280700002)(110136005)(2900100001)(93886005)(55016002)(53936002)(2906002)(99286004)(6436002)(74316002)(7696004)(39060400002)(7416002)(66066001)(105586002)(5250100002)(6246003)(229853002)(3660700001)(81156014)(81166006)(106356001)(189998001)(8936002)(76176999)(50986999)(25786009)(54356999)(305945005)(316002)(33656002)(7736002)(101416001)(97736004)(4326008)(5660300001)(14454004);DIR:OUT;SFP:1101;SCL:1;SRVR:DB6PR0401MB2549;H:DB6PR04MB2999.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; x-ms-office365-filtering-correlation-id: 0200b639-708d-4452-d3db-08d5254e2ed1 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(48565401081)(2017052603249);SRVR:DB6PR0401MB2549; x-ms-traffictypediagnostic: DB6PR0401MB2549: x-exchange-antispam-report-test: UriScan:; x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(3002001)(3231021)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6041248)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123562025)(20161123564025)(20161123560025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:DB6PR0401MB2549;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:DB6PR0401MB2549; x-forefront-prvs: 048396AFA0 received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0200b639-708d-4452-d3db-08d5254e2ed1 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Nov 2017 19:40:06.5191 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0401MB2549 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >> struct dpaa2_io {=0A= >> atomic_t refs;=0A= >>=0A= >> That's a kref, please use it instead of trying to roll your own.=0A= >>=0A= >> And even for this, your locking is not correct (i.e. you do not have=0A= >> any), that needs to be fixed so that teardown works correctly.=0A= > =0A= > I think we can drop this refcount altogether as it's not used. Roy, any= =0A= > comment on this?=0A= > =0A= =0A= Yes I think this refcount can be removed. I'll make a note for when the = =0A= DPIO is moving out of staging but that isn't part of this patchset. =0A= There are other cleanups needed in DPIO as well. I've been holding off =0A= on pushing patches for that until the bus driver gets moved to try to =0A= avoid complex patch dependencies and merge conflict confusion.=0A= From 1583326843485671626@xxx Mon Nov 06 14:22:25 +0000 2017 X-GM-THRID: 1576972122641129236 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread