RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-12 Thread Ertman, David M
ha...@linux.intel.com; > fred...@linux.intel.com; linux-r...@vger.kernel.org; > dledf...@redhat.com; broo...@kernel.org; j...@nvidia.com; > gre...@linuxfoundation.org; k...@kernel.org; Saleem, Shiraz > ; da...@davemloft.net; Patil, Kiran > > Subject: Re: [

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-09 Thread Pierre-Louis Bossart
+ + ancildrv->driver.owner = owner; + ancildrv->driver.bus = &ancillary_bus_type; + ancildrv->driver.probe = ancillary_probe_driver; + ancildrv->driver.remove = ancillary_remove_driver; + ancildrv->driver.shutdown = ancillary_shutdown_driver; + I think that this part is wrong, probe

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-09 Thread Dan Williams
On Fri, Oct 9, 2020 at 7:27 AM Pierre-Louis Bossart wrote: > > > > + > + ancildrv->driver.owner = owner; > + ancildrv->driver.bus = &ancillary_bus_type; > + ancildrv->driver.probe = ancillary_probe_driver; > + ancildrv->driver.remove = ancillary_remove_driver; > >>

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-09 Thread Pierre-Louis Bossart
+ + ancildrv->driver.owner = owner; + ancildrv->driver.bus = &ancillary_bus_type; + ancildrv->driver.probe = ancillary_probe_driver; + ancildrv->driver.remove = ancillary_remove_driver; + ancildrv->driver.shutdown = ancillary_shutdown_driver; + I think that this part is wrong, prob

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-09 Thread Leon Romanovsky
On Thu, Oct 08, 2020 at 08:29:00AM -0500, Pierre-Louis Bossart wrote: > > > > > > > But ... since the init() function is performing both device_init and > > > > > > device_add - it should probably be called ancillary_device_register, > > > > > > and we are back to a single exported API for both reg

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-08 Thread Dan Williams
a...@mellanox.com; Saleem, Shiraz ; Williams, > > Dan J ; Patil, Kiran > > Subject: Re: [PATCH v2 1/6] Add ancillary bus support > > > > On Mon, Oct 05, 2020 at 11:24:41AM -0700, Dave Ertman wrote: > > > Add support for the Ancillary Bus, ancillary

RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-08 Thread Ertman, David M
v@vger.kernel.org; da...@davemloft.net; k...@kernel.org; > gre...@linuxfoundation.org; ranjani.sridha...@linux.intel.com; pierre- > louis.boss...@linux.intel.com; fred...@linux.intel.com; > pa...@mellanox.com; Saleem, Shiraz ; Williams, > Dan J ; Patil, Kiran > Subject: Re: [PATCH v2 1/6] Add an

RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-08 Thread Ertman, David M
> netdev@vger.kernel.org; ranjani.sridha...@linux.intel.com; > > > > fred...@linux.intel.com; linux-r...@vger.kernel.org; > > > > dledf...@redhat.com; broo...@kernel.org; Jason Gunthorpe > > > > ; gre...@linuxfoundation.org; k...@kernel.org; > Williams, > > &

RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-08 Thread Ertman, David M
ridha...@linux.intel.com; > fred...@linux.intel.com; linux-r...@vger.kernel.org; > dledf...@redhat.com; broo...@kernel.org; Jason Gunthorpe > ; gre...@linuxfoundation.org; k...@kernel.org; Williams, > Dan J ; Saleem, Shiraz > ; da...@davemloft.net; Patil, Kiran > > Subject:

RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-08 Thread Parav Pandit
> From: Ertman, David M > Sent: Thursday, October 8, 2020 10:24 PM > > From: Parav Pandit > > Sent: Wednesday, October 7, 2020 9:56 PM > > /** > > * ancillar_device_register() - register an ancillary device > > * NOTE: __never directly free @adev after calling this function, even > > if it

RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-08 Thread Ertman, David M
v@vger.kernel.org; da...@davemloft.net; k...@kernel.org; > gre...@linuxfoundation.org; ranjani.sridha...@linux.intel.com; pierre- > louis.boss...@linux.intel.com; fred...@linux.intel.com; > pa...@mellanox.com; Saleem, Shiraz ; Williams, > Dan J ; Patil, Kiran > Subject: Re: [PATCH v2 1/6] A

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-08 Thread Leon Romanovsky
; > Gunthorpe ; gre...@linuxfoundation.org; > > k...@kernel.org; Saleem, Shiraz ; > > da...@davemloft.net; Patil, Kiran > > Subject: Re: [PATCH v2 1/6] Add ancillary bus support > > > > On Thu, Oct 08, 2020 at 12:38:00AM -0700, Dan Williams wrote: > > > On Thu,

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-08 Thread Leon Romanovsky
On Mon, Oct 05, 2020 at 11:24:41AM -0700, Dave Ertman wrote: > Add support for the Ancillary Bus, ancillary_device and ancillary_driver. > It enables drivers to create an ancillary_device and bind an > ancillary_driver to it. > > The bus supports probe/remove shutdown and suspend/resume callbacks.

RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-08 Thread Ertman, David M
ridha...@linux.intel.com; > fred...@linux.intel.com; linux-r...@vger.kernel.org; > dledf...@redhat.com; broo...@kernel.org; Jason Gunthorpe > ; gre...@linuxfoundation.org; k...@kernel.org; Williams, > Dan J ; Saleem, Shiraz > ; da...@davemloft.net; Patil, Kiran > > Subject:

RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-08 Thread Ertman, David M
m; ti...@suse.de; netdev@vger.kernel.org; > ranjani.sridha...@linux.intel.com; fred...@linux.intel.com; linux- > r...@vger.kernel.org; dledf...@redhat.com; broo...@kernel.org; Jason > Gunthorpe ; gre...@linuxfoundation.org; > k...@kernel.org; Saleem, Shiraz ; > da...@davemloft.net; Patil, K

RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-08 Thread Ertman, David M
; pa...@mellanox.com; ti...@suse.de; netdev@vger.kernel.org; > ranjani.sridha...@linux.intel.com; fred...@linux.intel.com; linux- > r...@vger.kernel.org; dledf...@redhat.com; broo...@kernel.org; Jason > Gunthorpe ; k...@kernel.org; Saleem, Shiraz > ; da...@davemloft.net; Patil, Kiran

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-08 Thread Pierre-Louis Bossart
But ... since the init() function is performing both device_init and device_add - it should probably be called ancillary_device_register, and we are back to a single exported API for both register and unregister. Kind reminder that we introduced the two functions to allow the caller to know i

RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-08 Thread Parav Pandit
> From: gre...@linuxfoundation.org > Sent: Thursday, October 8, 2020 1:21 PM > > On Thu, Oct 08, 2020 at 12:38:00AM -0700, Dan Williams wrote: > > On Thu, Oct 8, 2020 at 12:01 AM Leon Romanovsky > wrote: > > [..] > > > All stated above is my opinion, it can be different from yours. > > > > Yes

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-08 Thread Leon Romanovsky
sky > > > > > > >> Cc: alsa-de...@alsa-project.org; pa...@mellanox.com; > > > > > > >> ti...@suse.de; netdev@vger.kernel.org; > > > > > > >> ranjani.sridha...@linux.intel.com; > > > > > > >> fred...@linux

RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-08 Thread Parav Pandit
> > > >> ranjani.sridha...@linux.intel.com; > > > > > >> fred...@linux.intel.com; linux-r...@vger.kernel.org; > > > > > >> dledf...@redhat.com; broo...@kernel.org; Jason Gunthorpe > > > > > >> ; gre...@linuxfoun

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-08 Thread Dan Williams
On Thu, Oct 8, 2020 at 1:00 AM Leon Romanovsky wrote: > > On Thu, Oct 08, 2020 at 12:38:00AM -0700, Dan Williams wrote: > > On Thu, Oct 8, 2020 at 12:01 AM Leon Romanovsky wrote: > > [..] > > > All stated above is my opinion, it can be different from yours. > > > > Yes, but we need to converge to

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-08 Thread Leon Romanovsky
On Thu, Oct 08, 2020 at 12:38:00AM -0700, Dan Williams wrote: > On Thu, Oct 8, 2020 at 12:01 AM Leon Romanovsky wrote: > [..] > > All stated above is my opinion, it can be different from yours. > > Yes, but we need to converge to move this forward. Jason was involved > in the current organization

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-08 Thread gre...@linuxfoundation.org
On Thu, Oct 08, 2020 at 12:38:00AM -0700, Dan Williams wrote: > On Thu, Oct 8, 2020 at 12:01 AM Leon Romanovsky wrote: > [..] > > All stated above is my opinion, it can be different from yours. > > Yes, but we need to converge to move this forward. Jason was involved > in the current organization

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-08 Thread Leon Romanovsky
ti...@suse.de; netdev@vger.kernel.org; > > > > >> ranjani.sridha...@linux.intel.com; > > > > >> fred...@linux.intel.com; linux-r...@vger.kernel.org; > > > > >> dledf...@redhat.com; broo...@kernel.org; Jason Gunthorpe > > > > >> ; gre...@

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-08 Thread Dan Williams
On Thu, Oct 8, 2020 at 12:01 AM Leon Romanovsky wrote: [..] > All stated above is my opinion, it can be different from yours. Yes, but we need to converge to move this forward. Jason was involved in the current organization for registration, Greg was angling for this to be core functionality. I h

RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-08 Thread Parav Pandit
rnel.org; > > > >> dledf...@redhat.com; broo...@kernel.org; Jason Gunthorpe > > > >> ; gre...@linuxfoundation.org; k...@kernel.org; > > > >> Williams, Dan J ; Saleem, Shiraz > > > >> ; da...@davemloft.net; Patil, Kiran &g

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-08 Thread Leon Romanovsky
vger.kernel.org; ranjani.sridha...@linux.intel.com; > > > > fred...@linux.intel.com; linux-r...@vger.kernel.org; > > > > dledf...@redhat.com; broo...@kernel.org; Jason Gunthorpe > > > > ; gre...@linuxfoundation.org; k...@kernel.org; > > > &

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-07 Thread Dan Williams
.kernel.org; > > > dledf...@redhat.com; broo...@kernel.org; Jason Gunthorpe > > > ; gre...@linuxfoundation.org; k...@kernel.org; Williams, > > > Dan J ; Saleem, Shiraz > > > ; da...@davemloft.net; Patil, Kiran > > > > > > Subject: RE: [PATCH v2 1/6] Add anci

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-07 Thread Leon Romanovsky
.kernel.org; ranjani.sridha...@linux.intel.com; > > >> fred...@linux.intel.com; linux-r...@vger.kernel.org; > > >> dledf...@redhat.com; broo...@kernel.org; Jason Gunthorpe > > >> ; gre...@linuxfoundation.org; k...@kernel.org; > > >> Williams, Dan J ; Sa

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-07 Thread Leon Romanovsky
rg; k...@kernel.org; Williams, > > Dan J ; Saleem, Shiraz > > ; da...@davemloft.net; Patil, Kiran > > > > Subject: RE: [PATCH v2 1/6] Add ancillary bus support > > > > > > > From: Leon Romanovsky > > > Sent: Thursday, October 8, 2020 12:56 AM &

RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-07 Thread Parav Pandit
t; dledf...@redhat.com; broo...@kernel.org; Jason Gunthorpe > >> ; gre...@linuxfoundation.org; k...@kernel.org; > >> Williams, Dan J ; Saleem, Shiraz > >> ; da...@davemloft.net; Patil, Kiran > >> > >> Subject: Re: [PATCH v2 1/6] Add ancillary bus s

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-07 Thread Pierre-Louis Bossart
; ranjani.sridha...@linux.intel.com; fred...@linux.intel.com; linux-r...@vger.kernel.org; dledf...@redhat.com; broo...@kernel.org; Jason Gunthorpe ; gre...@linuxfoundation.org; k...@kernel.org; Williams, Dan J ; Saleem, Shiraz ; da...@davemloft.net; Patil, Kiran Subject: Re: [PATCH v2 1/6] Add ancillary bus

RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-07 Thread Ertman, David M
nux.intel.com; > fred...@linux.intel.com; linux-r...@vger.kernel.org; > dledf...@redhat.com; broo...@kernel.org; Jason Gunthorpe > ; gre...@linuxfoundation.org; k...@kernel.org; Williams, > Dan J ; Saleem, Shiraz > ; da...@davemloft.net; Patil, Kiran > > Subject: Re

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-07 Thread Pierre-Louis Bossart
Below is most simple, intuitive and matching with core APIs for name and design pattern wise. init() { err = ancillary_device_initialize(); if (err) return ret; err = ancillary_device_add(); if (ret) goto err_unwind; err

RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-07 Thread Ertman, David M
ridha...@linux.intel.com; > fred...@linux.intel.com; linux-r...@vger.kernel.org; > dledf...@redhat.com; broo...@kernel.org; Jason Gunthorpe > ; gre...@linuxfoundation.org; k...@kernel.org; Williams, > Dan J ; Saleem, Shiraz > ; da...@davemloft.net; Patil, Kiran > > Subject:

RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-07 Thread Ertman, David M
linux.intel.com; fred...@linux.intel.com; linux- > r...@vger.kernel.org; dledf...@redhat.com; broo...@kernel.org; > j...@nvidia.com; gre...@linuxfoundation.org; k...@kernel.org; Williams, > Dan J ; Saleem, Shiraz > ; da...@davemloft.net; Patil, Kiran > > Subject: Re: [PATCH v2 1/6] Add ancillary b

RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-07 Thread Ertman, David M
tel.com; Pierre-Louis > Bossart ; fred...@linux.intel.com; > linux-r...@vger.kernel.org; dledf...@redhat.com; broo...@kernel.org; > j...@nvidia.com; gre...@linuxfoundation.org; k...@kernel.org; Williams, > Dan J ; Saleem, Shiraz > ; da...@davemloft.net; Patil, Kiran > > Subject: Re

RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-07 Thread Ertman, David M
nux.intel.com; > fred...@linux.intel.com; linux-r...@vger.kernel.org; > dledf...@redhat.com; broo...@kernel.org; j...@nvidia.com; > gre...@linuxfoundation.org; k...@kernel.org; Williams, Dan J > ; Saleem, Shiraz ; > da...@davemloft.net; Patil, Kiran > Subject: Re: [PATCH v2 1/6] Add ancillary bus

RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-07 Thread Parav Pandit
> From: Leon Romanovsky > Sent: Thursday, October 8, 2020 12:56 AM > > > > This API is partially obscures low level driver-core code and needs > > > to provide clear and proper abstractions without need to remember > > > about put_device. There is already _add() interface why don't you do > > >

RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-07 Thread Ertman, David M
an > > Subject: Re: [PATCH v2 1/6] Add ancillary bus support > > On Wed, Oct 7, 2020 at 6:37 AM Leon Romanovsky > wrote: > > > > On Wed, Oct 07, 2020 at 01:09:55PM +0000, Saleem, Shiraz wrote: > > > > Subject: Re: [PATCH v2 1/6] Add ancillary bus su

RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-07 Thread Ertman, David M
ierre-Louis > Bossart ; fred...@linux.intel.com; > linux-r...@vger.kernel.org; dledf...@redhat.com; broo...@kernel.org; > j...@nvidia.com; gre...@linuxfoundation.org; k...@kernel.org; Williams, > Dan J ; Saleem, Shiraz > ; da...@davemloft.net; Patil, Kiran > > Subject: RE: [PATCH v2 1/6] Add a

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-07 Thread Leon Romanovsky
n J ; Saleem, Shiraz > > ; da...@davemloft.net; Patil, Kiran > > > > Subject: Re: [PATCH v2 1/6] Add ancillary bus support > > > > On Tue, Oct 06, 2020 at 10:18:07AM -0500, Pierre-Louis Bossart wrote: > > > Thanks for the review Leon. > > > > &g

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-07 Thread Dan Williams
On Wed, Oct 7, 2020 at 6:37 AM Leon Romanovsky wrote: > > On Wed, Oct 07, 2020 at 01:09:55PM +, Saleem, Shiraz wrote: > > > Subject: Re: [PATCH v2 1/6] Add ancillary bus support > > > > > > On Tue, Oct 6, 2020 at 12:21 PM Leon Romanovsky wrote: > > &g

RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-07 Thread Ertman, David M
linux.intel.com; fred...@linux.intel.com; linux- > r...@vger.kernel.org; dledf...@redhat.com; broo...@kernel.org; > j...@nvidia.com; gre...@linuxfoundation.org; k...@kernel.org; Williams, > Dan J ; Saleem, Shiraz > ; da...@davemloft.net; Patil, Kiran > > Subject: Re: [PATCH v2 1/6] Add ancillary b

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-07 Thread Leon Romanovsky
On Wed, Oct 07, 2020 at 01:09:55PM +, Saleem, Shiraz wrote: > > Subject: Re: [PATCH v2 1/6] Add ancillary bus support > > > > On Tue, Oct 6, 2020 at 12:21 PM Leon Romanovsky wrote: > > > > > > On Tue, Oct 06, 2020 at 05:41:00PM +, Saleem, Shiraz wrote:

RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-07 Thread Saleem, Shiraz
> Subject: Re: [PATCH v2 1/6] Add ancillary bus support > > On Tue, Oct 6, 2020 at 12:21 PM Leon Romanovsky wrote: > > > > On Tue, Oct 06, 2020 at 05:41:00PM +, Saleem, Shiraz wrote: > > > > Subject: Re: [PATCH v2 1/6] Add ancillary bus support > > &g

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-06 Thread Dan Williams
On Tue, Oct 6, 2020 at 12:21 PM Leon Romanovsky wrote: > > On Tue, Oct 06, 2020 at 05:41:00PM +, Saleem, Shiraz wrote: > > > Subject: Re: [PATCH v2 1/6] Add ancillary bus support > > > > > > On Tue, Oct 06, 2020 at 05:09:09PM +, Parav Pandit wrote: > &

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-06 Thread Leon Romanovsky
On Tue, Oct 06, 2020 at 05:41:00PM +, Saleem, Shiraz wrote: > > Subject: Re: [PATCH v2 1/6] Add ancillary bus support > > > > On Tue, Oct 06, 2020 at 05:09:09PM +, Parav Pandit wrote: > > > > > > > From: Leon Romanovsky > > > > Sent: T

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-06 Thread Ranjani Sridharan
On Tue, 2020-10-06 at 20:26 +0300, Leon Romanovsky wrote: > On Tue, Oct 06, 2020 at 05:09:09PM +, Parav Pandit wrote: > > > From: Leon Romanovsky > > > Sent: Tuesday, October 6, 2020 10:33 PM > > > > > > On Tue, Oct 06, 2020 at 10:18:07AM -0500, Pierre-Louis Bossart > > > wrote: > > > > Thank

RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-06 Thread Saleem, Shiraz
> Subject: Re: [PATCH v2 1/6] Add ancillary bus support > > On Tue, Oct 06, 2020 at 10:18:07AM -0500, Pierre-Louis Bossart wrote: > > Thanks for the review Leon. > > > > > > Add support for the Ancillary Bus, ancillary_device and > > > > ancillary_dr

RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-06 Thread Saleem, Shiraz
> Subject: Re: [PATCH v2 1/6] Add ancillary bus support > > On Mon, Oct 05, 2020 at 11:24:41AM -0700, Dave Ertman wrote: > > Add support for the Ancillary Bus, ancillary_device and ancillary_driver. > > It enables drivers to create an ancillary_device and bind an >

RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-06 Thread Saleem, Shiraz
> Subject: Re: [PATCH v2 1/6] Add ancillary bus support > > On Tue, Oct 06, 2020 at 05:09:09PM +, Parav Pandit wrote: > > > > > From: Leon Romanovsky > > > Sent: Tuesday, October 6, 2020 10:33 PM > > > > > > On Tue, Oct 06, 2020 at 10:18:07A

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-06 Thread Leon Romanovsky
On Tue, Oct 06, 2020 at 05:09:09PM +, Parav Pandit wrote: > > > From: Leon Romanovsky > > Sent: Tuesday, October 6, 2020 10:33 PM > > > > On Tue, Oct 06, 2020 at 10:18:07AM -0500, Pierre-Louis Bossart wrote: > > > Thanks for the review Leon. > > > > > > > > Add support for the Ancillary Bus, a

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-06 Thread Leon Romanovsky
On Mon, Oct 05, 2020 at 11:24:41AM -0700, Dave Ertman wrote: > Add support for the Ancillary Bus, ancillary_device and ancillary_driver. > It enables drivers to create an ancillary_device and bind an > ancillary_driver to it. > > The bus supports probe/remove shutdown and suspend/resume callbacks.

RE: [PATCH v2 1/6] Add ancillary bus support

2020-10-06 Thread Parav Pandit
> From: Leon Romanovsky > Sent: Tuesday, October 6, 2020 10:33 PM > > On Tue, Oct 06, 2020 at 10:18:07AM -0500, Pierre-Louis Bossart wrote: > > Thanks for the review Leon. > > > > > > Add support for the Ancillary Bus, ancillary_device and > > > > ancillary_driver. > > > > It enables drivers t

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-06 Thread Leon Romanovsky
On Tue, Oct 06, 2020 at 10:18:07AM -0500, Pierre-Louis Bossart wrote: > Thanks for the review Leon. > > > > Add support for the Ancillary Bus, ancillary_device and ancillary_driver. > > > It enables drivers to create an ancillary_device and bind an > > > ancillary_driver to it. > > > > I was under

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-06 Thread Pierre-Louis Bossart
Thanks for the review Leon. Add support for the Ancillary Bus, ancillary_device and ancillary_driver. It enables drivers to create an ancillary_device and bind an ancillary_driver to it. I was under impression that this name is going to be changed. It's part of the opens stated in the cover

Re: [PATCH v2 1/6] Add ancillary bus support

2020-10-06 Thread Leon Romanovsky
On Mon, Oct 05, 2020 at 11:24:41AM -0700, Dave Ertman wrote: > Add support for the Ancillary Bus, ancillary_device and ancillary_driver. > It enables drivers to create an ancillary_device and bind an > ancillary_driver to it. I was under impression that this name is going to be changed. > > The b

[PATCH v2 1/6] Add ancillary bus support

2020-10-05 Thread Dave Ertman
Add support for the Ancillary Bus, ancillary_device and ancillary_driver. It enables drivers to create an ancillary_device and bind an ancillary_driver to it. The bus supports probe/remove shutdown and suspend/resume callbacks. Each ancillary_device has a unique string based id; driver binds to an