Re: [char-misc-next] mei: gsc_proxy: add gsc proxy driver

From: Greg Kroah-Hartman
Date: Fri Jan 27 2023 - 04:07:33 EST


On Tue, Jan 24, 2023 at 09:05:19PM +0000, Winkler, Tomas wrote:
>
>
> > -----Original Message-----
> > From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> > Sent: Thursday, January 19, 2023 18:21
> > To: Usyskin, Alexander <alexander.usyskin@xxxxxxxxx>
> > Cc: Winkler, Tomas <tomas.winkler@xxxxxxxxx>; Lubart, Vitaly
> > <vitaly.lubart@xxxxxxxxx>; linux-kernel@xxxxxxxxxxxxxxx
> > Subject: Re: [char-misc-next] mei: gsc_proxy: add gsc proxy driver
> >
> > On Wed, Dec 28, 2022 at 11:46:36AM +0000, Usyskin, Alexander wrote:
> > > >
> > > > Why a whole new subdirectory for a tiny 200 line file?
> > > >
> > > All drivers for devices on mei bus have private subdirectory.
> > > This one just modelled on the existing examples.
> > > If you say that this is not a good thing - can put it in the main mei directory.
> >
> > Put it in the main mei directory, no need to split things up for no good
> > reason.
> >
>
> All mei sub drivers are in sperate directories, this driver is indeed tiny, but I do prefer consistency,
> In my view it is easier to maintain that way.

Ok.

> I believe all the bellow stuff you've already discussed in ths thread,.
> https://lore.kernel.org/lkml/YkXdgQH1GWCitf0A@xxxxxxxxx/T/
> I guess all that was explained there, so no need to repeat.
>
> We'll try to see what can be done to make it more robust and your comments are more than valid,
> but as the thread concludes probably the component framework needs to be addressed.

Agreed, something needs to be done, you can't make these random
assumptions about the exact driver and device topology as that is not
how the driver model works at all (nor do you want it to work that way.)

thanks,

greg k-h