From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 80AFACA9EAF for ; Fri, 25 Oct 2019 01:36:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 498FA206DD for ; Fri, 25 Oct 2019 01:36:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571967362; bh=XCeKzecQIIglaoewbYNc46ewGAE4hVfr2+RHbU9+vYQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=eiCCH5b91GMItAX17pCuSdSPdHsKcFSpP4lVCxp2nuxYG/kUFAnm1COiCdBJWNh7D 95gwZgK3sE9JquRMIikUtNGSKlTv2lsFlgwjBx36AUCYZy4RdcVoy9G/2Zgk9JkOVH 5W+v/x/BBLn4gn8gjPoi2jz4VGEelrTOVRIvt1Ro= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389068AbfJYBgB (ORCPT ); Thu, 24 Oct 2019 21:36:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:46204 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730006AbfJYBgB (ORCPT ); Thu, 24 Oct 2019 21:36:01 -0400 Received: from localhost (unknown [38.98.37.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3C98E2064A; Fri, 25 Oct 2019 01:35:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571967360; bh=XCeKzecQIIglaoewbYNc46ewGAE4hVfr2+RHbU9+vYQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=r+Q77euabKymHctLCq2nDvGJO/eq3v2ABu1U3TB6/uXAXMqOvefrA9OaRhaQBJ7S/ e3UT4vSQbdZVgS1WDSTbc6tP2lfTdzuF4A0JENpSXd0LTxAFHYybaAF68sjlEIRAHp YX9zrd8UL2E9vUN46fsK0+H4a43Z59fo4Wle5nbo= Date: Thu, 24 Oct 2019 21:30:48 -0400 From: "gregkh@linuxfoundation.org" To: "Ertman, David M" Cc: Jason Gunthorpe , "Nguyen, Anthony L" , "Kirsher, Jeffrey T" , "netdev@vger.kernel.org" , "linux-rdma@vger.kernel.org" , "dledford@redhat.com" , "Ismail, Mustafa" , "Patil, Kiran" , "lee.jones@linaro.org" Subject: Re: [RFC 01/20] ice: Initialize and register multi-function device to provide RDMA Message-ID: <20191025013048.GB265361@kroah.com> References: <20190926180556.GB1733924@kroah.com> <7e7f6c159de52984b89c13982f0a7fd83f1bdcd4.camel@intel.com> <20190927051320.GA1767635@kroah.com> <2B0E3F215D1AB84DA946C8BEE234CCC97B2B1A28@ORSMSX101.amr.corp.intel.com> <20191023174448.GP23952@ziepe.ca> <2B0E3F215D1AB84DA946C8BEE234CCC97B2E0C84@ORSMSX101.amr.corp.intel.com> <20191023180108.GQ23952@ziepe.ca> <20191024185659.GE260560@kroah.com> <20191024191037.GC23952@ziepe.ca> <2B0E3F215D1AB84DA946C8BEE234CCC97B2E1D29@ORSMSX101.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2B0E3F215D1AB84DA946C8BEE234CCC97B2E1D29@ORSMSX101.amr.corp.intel.com> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org On Thu, Oct 24, 2019 at 10:25:36PM +0000, Ertman, David M wrote: > The direct access of the platform bus was unacceptable, and the MFD sub-system > was suggested by Greg as the solution. The MFD sub-system uses the platform > bus in the background as a base to perform its functions, since it is a purely software > construct that is handy and fulfills its needs. The question then is: If the MFD sub- > system is using the platform bus for all of its background functionality, is the platform > bus really only for platform devices? Yes, how many times do I have to keep saying this? The platform bus should ONLY be used for devices that are actually platform devices and can not be discovered any other way and are not on any other type of bus. If you try to add platform devices for a PCI device, I am going to continue to complain. I keep saying this and am getting tired. Now yes, MFD does do "fun" things here, and that should probably be fixed up one of these days. But I still don't see why a real bus would not work for you. greg "platform devices are dead, long live the platform device" k-h