Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp304754pxb; Wed, 4 Nov 2020 23:51:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJyo35P6EsJTFVACLuppENG3UkTEWD8AaMjnr0bQe0QaX06iOMzzIb+PPFzyt/hpa8IHu8a6 X-Received: by 2002:a17:906:4753:: with SMTP id j19mr1035110ejs.65.1604562671974; Wed, 04 Nov 2020 23:51:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604562671; cv=none; d=google.com; s=arc-20160816; b=nEZEZWryR8dRa7oydpi1g1PIz4njGM+binXEtGcPtEo8uUTsoYAVo9uXnEra3vloYn Zg4hLTNMUNr/s/Zjm1veV+OQHrqVRex9rnhSr13DsA8Cv8LaI0zu0NzoRyB7KjbubogM xyEfilBqf58uT843vrbRHDcjhN/jF7QNHiBwOcwq/UqyA7YsIc0B2cZmvwsYUzlCdGxI aHiD4C/LJ+F0lqcTI0YLqesO8BKXV+ET5NKWUiNPZeGbdU8fCeLLTI6IdMF/N2A1rEF5 TK/J0SRGCJ8JGLHr6YtQEOeUJj+q3nf9rbxu/nKLvEeoFiNfqHQljcSUfSENkclt6GfW ivkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=HiHN7cEc9FvAFXuwqXLWF0XbMGI5NJnlheI3AC/p0Rk=; b=AeZxCVNW4BJHq9Gp++7eHZ3ze6twnAbDSX9xxNPEj8x3d9qvQ4/qHv3zm8WI/r32+j u6tKO8CQG9oXIIy+vGPJjJ/2wdqk+W0XjAu/EK97A72Ol6xpfNBaUSbbDbm6XIHu5dtV 35cTJdK8mP2njtJmZoAdXXDx8VFkf+p6TvKf9fzXfa7WbYwR9AdvRd8hgGT/3NHCoMmy NKGUFaS4payeFw5Q2ZQn5xf3E4J1gLc+9Py11nb+CSuQcgUq8UXbS30GdJUxtCofW1Bg nkxpiHmT2MRMZNf9cf8YLMoU1ATNUNj441AmnZrPKtH6R81oWNH3N0B3As4/gMPZAgPP 4DuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=sDW2kw2W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bz2si538635ejc.558.2020.11.04.23.50.49; Wed, 04 Nov 2020 23:51:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=sDW2kw2W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728579AbgKEHtZ (ORCPT + 99 others); Thu, 5 Nov 2020 02:49:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726428AbgKEHtY (ORCPT ); Thu, 5 Nov 2020 02:49:24 -0500 Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75177C0613D2 for ; Wed, 4 Nov 2020 23:49:24 -0800 (PST) Received: by mail-ej1-x641.google.com with SMTP id w13so1188844eju.13 for ; Wed, 04 Nov 2020 23:49:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HiHN7cEc9FvAFXuwqXLWF0XbMGI5NJnlheI3AC/p0Rk=; b=sDW2kw2WIZtOBBqP3OLvBf0PZR4l//kVfPnpgjZLMq0vnE4tjG4Ig8z5tff+gOMOP0 snGDBlsMM8PeDWRiOvFXKxwsoy/1Xtb6Xcc7mo4BQMPh/IrM38WXigtT7wQwr6ggUOjR dnfFwV5wvxh5jl5IGJroHGHpfEDC4ES+wgWgBUaJCOqtZ8QG5P0CUCQzNp78U2eeV7O5 yCCmjn+yqQ4xcVOlwAcacEw2ny9JMCkuwMdXa4VYdR8fSYj/JM2Oeviqgge95DNvbHBt rfnzbtVc3h3BTVvE+MV5I+onfG+QEpeqBoYtXw43J1bzbdBKp+zHOxdL3J2AqKAJxUFO MhFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HiHN7cEc9FvAFXuwqXLWF0XbMGI5NJnlheI3AC/p0Rk=; b=emLNqYo9k3UAdDNIM33PuE4Vcm8JZ3lmgOv0g3wMD1CORCs0yqFL603Gxp7dNOoFCa b+npsmz+UUYhxqCHPAYtBChwS2zX94evqVYa12nUlaTCKK4EYuYWs0q7JOVER4k74xK8 YGKsCZY74hxwZxfOEfLRPlKB9SxKOd+p2q/Jf2KgGfCPY/M2cUbZGNunmtj+pCuX+4r6 FXV3VJBWo6BRQ3IoVzvQSIZ1nGCUSmlx7L1LTlDah+KKVua4KCytcilRaEk2diEVFEkB ucTEjHcTOplFyF9OSWpZslsPHAThs5Ah5mHb1wqkD6rT7sLCV6sgMLwokzVkqh9/2wWR K9/A== X-Gm-Message-State: AOAM530UItBDQIQ6QE+DiB7dH4r9lA6q1n4XPXUVRFz1wG9YZDt7SpOU SSuow7wfBvQHOYF+i/o6Y0p2hwxVRA42KSNy4Hy7vA== X-Received: by 2002:a17:906:4306:: with SMTP id j6mr1091381ejm.523.1604562563054; Wed, 04 Nov 2020 23:49:23 -0800 (PST) MIME-Version: 1.0 References: <20201101201542.2027568-1-leon@kernel.org> <20201101201542.2027568-7-leon@kernel.org> <20201103154525.GO36674@ziepe.ca> <20201105073302.GA3415673@kroah.com> In-Reply-To: <20201105073302.GA3415673@kroah.com> From: Dan Williams Date: Wed, 4 Nov 2020 23:49:11 -0800 Message-ID: Subject: Re: [PATCH mlx5-next v1 06/11] vdpa/mlx5: Connect mlx5_vdpa to auxiliary bus To: gregkh Cc: Leon Romanovsky , Doug Ledford , Leon Romanovsky , Jakub Kicinski , Jason Wang , linux-rdma , "Michael S. Tsirkin" , Netdev , Parav Pandit , Roi Dayan , Saeed Mahameed , virtualization@lists.linux-foundation.org, alsa-devel@alsa-project.org, Takashi Iwai , Mark Brown , "David S . Miller" , Ranjani Sridharan , Pierre-Louis Bossart , Fred Oh , "Saleem, Shiraz" , "Patil, Kiran" , Linux Kernel Mailing List , David M Ertman , Jason Gunthorpe Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 4, 2020 at 11:32 PM gregkh wrote: > > On Wed, Nov 04, 2020 at 03:21:23PM -0800, Dan Williams wrote: > > On Tue, Nov 3, 2020 at 7:45 AM Jason Gunthorpe wrote: > > [..] > > > > +MODULE_DEVICE_TABLE(auxiliary, mlx5v_id_table); > > > > + > > > > +static struct auxiliary_driver mlx5v_driver = { > > > > + .name = "vnet", > > > > + .probe = mlx5v_probe, > > > > + .remove = mlx5v_remove, > > > > + .id_table = mlx5v_id_table, > > > > +}; > > > > > > It is hard to see from the diff, but when this patch is applied the > > > vdpa module looks like I imagined things would look with the auxiliary > > > bus. It is very similar in structure to a PCI driver with the probe() > > > function cleanly registering with its subsystem. This is what I'd like > > > to see from the new Intel RDMA driver. > > > > > > Greg, I think this patch is the best clean usage example. > > > > > > I've looked over this series and it has the right idea and > > > parts. There is definitely more that can be done to improve mlx5 in > > > this area, but this series is well scoped and cleans a good part of > > > it. > > > > Greg? > > > > I know you alluded to going your own way if the auxiliary bus patches > > did not shape up soon, but it seems they have and the stakeholders > > have reached this consensus point. > > > > Were there any additional changes you wanted to see happen? I'll go > > give the final set another once over, but David has been diligently > > fixing up all the declared major issues so I expect to find at most > > minor incremental fixups. > > This is in my to-review pile, along with a load of other stuff at the > moment: > $ ~/bin/mdfrm -c ~/mail/todo/ > 1709 messages in /home/gregkh/mail/todo/ > > So give me a chance. There is no rush on my side for this given the > huge delays that have happened here on the authorship side many times in > the past :) Sure, I was more looking to confirm that it's worth continuing to polish this set given your mention of possibly going a different direction. > If you can review it, or anyone else, that is always most appreciated. Thanks, will do.