Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp298045pxb; Wed, 4 Nov 2020 23:34:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJwDesFIrOSjMqvGxslv3GMis67pTuufxtuRlGX7Wgumf8Wk0T4zpNrkf7oBQCL3JeduQBNE X-Received: by 2002:a17:906:3a8d:: with SMTP id y13mr1093875ejd.460.1604561685721; Wed, 04 Nov 2020 23:34:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604561685; cv=none; d=google.com; s=arc-20160816; b=PR5FOtGHFFkKQiVMVFN3g5nOp9YM0/lDWlUbLdY2pg6zCZr+ajyB+E8HfVDJHVDDps ukucy67oDPFulSjMx/iSDD5P+FePNYZdxaLeuHnRSzLITSIcOp4bW8s84oHrlV0afJ4B aGTYxXH2hfcNsiHNnk2kum+iTyIGEV4jAC0pcVsZ3NNZvEpJalIQKr4Rss+MVcS3ruGH JhZVn5c+Ie10eg7ezgGryX+uj1qlcJDyg9khatFhHhMpAg5XXBpO16rd70JmLCBv3JsZ 4MvQmQAASAQKGSVk1urpFBg2aCf95lW65PtKMMk6GOXPseVB2wny4IgpgGS6nIlQvxg2 CjXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=WTmj5qtR+FwcSOg/GM1bYX0FvxLVOR5rAhxYWCYkYdo=; b=KX93qUcJdX7UERSWfNxdEOmYjcSXtGxVgO+UYu/CgUlPn2+NxAUa1+pVW0Z2y0YWah u0OfSiJt3+XBFDacVO3fqUJc7izPLn/saji9EcDELWk8LlQgfNJ288Lxg/tCtw9Y8h9A wRnMEBUCyTqgQfjkxjZKXL8qPMBc5KP/bXh09EhQfSxE58uxl01jLlCwYAj0kbwi5eK5 svKuKEY2k8xTy2g03PDVdYv0AkFMuh8AQFALLanGbhSekKY3B5K3yaWveY8+n5ITuhcc j6kcBiRocR08fG75rQdXDeoi4OP1R+rGyk8aegnIVc9yGvx1j80gLafuvu+6y/us4l9d Of3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=v7jixjnR; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t13si579174edv.198.2020.11.04.23.34.23; Wed, 04 Nov 2020 23:34:45 -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=@kernel.org header.s=default header.b=v7jixjnR; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729141AbgKEHcU (ORCPT + 99 others); Thu, 5 Nov 2020 02:32:20 -0500 Received: from mail.kernel.org ([198.145.29.99]:46156 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725320AbgKEHcQ (ORCPT ); Thu, 5 Nov 2020 02:32:16 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (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 930A420936; Thu, 5 Nov 2020 07:32:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604561534; bh=95POjnfgmnBfa+PcIUbO71yIixyEwcBCZu8ONi41qSI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=v7jixjnRS8IofHWpcD2+DxxCXJ90U/evKE0DUQul2JT/Y8H+g7nVaRbkifKy48xox VDGBlpUHfWervGmkwxAM0ACUtpdpFRRs9k0EqAwpLdfoM3L9+GBIUBILJMUGPAe8zd NU6sc18Y6rTq9FYLuezM9oiY3jBE5sPskCQybDUw= Date: Thu, 5 Nov 2020 08:33:02 +0100 From: gregkh To: Dan Williams 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 Subject: Re: [PATCH mlx5-next v1 06/11] vdpa/mlx5: Connect mlx5_vdpa to auxiliary bus Message-ID: <20201105073302.GA3415673@kroah.com> References: <20201101201542.2027568-1-leon@kernel.org> <20201101201542.2027568-7-leon@kernel.org> <20201103154525.GO36674@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 :) If you can review it, or anyone else, that is always most appreciated. thanks, greg k-h