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=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,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 14B55C3F68F for ; Sat, 15 Feb 2020 00:08:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E1E012073A for ; Sat, 15 Feb 2020 00:08:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b="H/E8XY97" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727602AbgBOAIh (ORCPT ); Fri, 14 Feb 2020 19:08:37 -0500 Received: from mail-qt1-f195.google.com ([209.85.160.195]:40179 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725946AbgBOAIh (ORCPT ); Fri, 14 Feb 2020 19:08:37 -0500 Received: by mail-qt1-f195.google.com with SMTP id v25so8175308qto.7 for ; Fri, 14 Feb 2020 16:08:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=b17aKGGo37hlriIldcmoz+zA0kaOJNJHOAY7BkBHEEk=; b=H/E8XY97zCl0Ib25evOj21LSEiM8N5LSI10j8qvatp+MzEW6YOGUFB9JUTPAKhcIvM W/RbP59wGMQnZ1Dww5jFb77KfhEuFo1i0igK9qeK3S5PFBnia2Tq+8lao2771TouepQA gIR9Dpxm5aPshfKWd9eFFMBMIOmiSjwoQJ+ppvFwHRe6Z7O8MY6yoT4qiKD6lQp5qNM0 y2ut8xvgWYj8rjobujQdcBZ6y+OE/8K2W8Ijd1LvMz7whK9t8pm0dE2ZjpNUioobz+zq Ch9jYcn5M239LBLxiTqNicHIBKS2aMh9lJYtQlQTOFIgphTp6Ut9I413/hVIBVWTgqvq sY7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=b17aKGGo37hlriIldcmoz+zA0kaOJNJHOAY7BkBHEEk=; b=VaKHvFkV7z2rLkQ3+7CT+7KMGycve42Y/D4Fm3C/MsyhSpir84qwvSPs2UKeu/WuiW rjjA+4qTIIwXVdVPd64dxUevsBaINjqxZGCF0wwzH7RwYFIbG3lqpscaW64J0zVHBr1m +TVLYdEceUAWhGYwTaH9HpkRdIobLLm21ZykRfuno/wXCx3+vvGn/z26lvqpCPnkfnJP +KyQllC9/2a3k2eB2Ex0Zekc50Ed5ntDte4YksJTIzmks2M18oMfbEVLwsm+DuO5WtMO NpCK69cYqpD8LZmdOaVz/VVrlNAI6TBC+BPp5hHN28wGirPtCMTdnmC8PVmCipoXs/QD MGCQ== X-Gm-Message-State: APjAAAWVTTcvB7NaARlzx60fQcLUiI2H8i5IiXePWXJlX2LA6h8+ZjNT DHp/i7FlhYXDc81XCYXAk89ppw== X-Google-Smtp-Source: APXvYqwaX3Qx0JPPkN4W2i4VvkAqp+PbHoLHG0AyAgFRU7VWjYcrc1zecMEqMlyXjqs3YalcSS5+Cw== X-Received: by 2002:aed:2266:: with SMTP id o35mr4713762qtc.392.1581725314463; Fri, 14 Feb 2020 16:08:34 -0800 (PST) Received: from ziepe.ca (hlfxns017vw-142-68-57-212.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.68.57.212]) by smtp.gmail.com with ESMTPSA id b26sm4404148qkk.5.2020.02.14.16.08.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 14 Feb 2020 16:08:33 -0800 (PST) Received: from jgg by mlx.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1j2l0b-0003m7-Bl; Fri, 14 Feb 2020 20:08:33 -0400 Date: Fri, 14 Feb 2020 20:08:33 -0400 From: Jason Gunthorpe To: Jeff Kirsher Cc: davem@davemloft.net, gregkh@linuxfoundation.org, Dave Ertman , netdev@vger.kernel.org, linux-rdma@vger.kernel.org, nhorman@redhat.com, sassmann@redhat.com, parav@mellanox.com, galpress@amazon.com, selvin.xavier@broadcom.com, sriharsha.basavapatna@broadcom.com, benve@cisco.com, bharat@chelsio.com, xavier.huwei@huawei.com, yishaih@mellanox.com, leonro@mellanox.com, mkalderon@marvell.com, aditr@vmware.com, Kiran Patil , Andrew Bowers Subject: Re: [RFC PATCH v4 01/25] virtual-bus: Implementation of Virtual Bus Message-ID: <20200215000833.GA31668@ziepe.ca> References: <20200212191424.1715577-1-jeffrey.t.kirsher@intel.com> <20200212191424.1715577-2-jeffrey.t.kirsher@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200212191424.1715577-2-jeffrey.t.kirsher@intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org On Wed, Feb 12, 2020 at 11:14:00AM -0800, Jeff Kirsher wrote: > From: Dave Ertman > > This is the initial implementation of the Virtual Bus, > virtbus_device and virtbus_driver. The virtual bus is > a software based bus intended to support registering > virtbus_devices and virtbus_drivers and provide matching > between them and probing of the registered drivers. > > The bus will support probe/remove shutdown and > suspend/resume callbacks. > > Kconfig and Makefile alterations are included Can you please include the various sysfs paths that are generated by all of this for irdma in some commit message? I'm particularly interested to see how all the parentage turned out for the virtual device. Is PM going to work? IIRC PM will require that the virtual bus device goes through PM states in the right order relative to the PCI device. This all turned out OK? The concept certainly seems like what I imagined I'm not totally sold on 'virtual bus' as a name for this 'multi function pci device' thing, but you can work that out with Greg :) Thanks, Jason