Re: [PATCH] powerpc/vio: use simple dummy struct device as bus parent

2019-10-03 Thread Greg Kroah-Hartman
On Thu, Oct 03, 2019 at 03:10:03PM -0400, Dan Streetman wrote: > On Fri, Sep 27, 2019 at 2:19 PM Greg Kroah-Hartman > wrote: > > > > On Fri, Sep 27, 2019 at 09:04:02AM -0400, Dan Streetman wrote: > > > The dummy vio_bus_device creates the /sys/devices/vio directory, which > > > contains real vio d

Re: [PATCH] powerpc/vio: use simple dummy struct device as bus parent

2019-10-03 Thread Dan Streetman
On Fri, Sep 27, 2019 at 2:19 PM Greg Kroah-Hartman wrote: > > On Fri, Sep 27, 2019 at 09:04:02AM -0400, Dan Streetman wrote: > > The dummy vio_bus_device creates the /sys/devices/vio directory, which > > contains real vio devices under it; since it represents itself as having > > a bus = &vio_bus_

Re: [PATCH] powerpc/vio: use simple dummy struct device as bus parent

2019-09-29 Thread Dan Streetman
On Sat, Sep 28, 2019 at 3:41 AM Greg Kroah-Hartman wrote: > > On Fri, Sep 27, 2019 at 03:48:49PM -0400, Dan Streetman wrote: > > On Fri, Sep 27, 2019 at 2:19 PM Greg Kroah-Hartman > > wrote: > > > > > > On Fri, Sep 27, 2019 at 09:04:02AM -0400, Dan Streetman wrote: > > > > The dummy vio_bus_devic

Re: [PATCH] powerpc/vio: use simple dummy struct device as bus parent

2019-09-29 Thread Dan Streetman
On Fri, Sep 27, 2019 at 2:19 PM Greg Kroah-Hartman wrote: > > On Fri, Sep 27, 2019 at 09:04:02AM -0400, Dan Streetman wrote: > > The dummy vio_bus_device creates the /sys/devices/vio directory, which > > contains real vio devices under it; since it represents itself as having > > a bus = &vio_bus_

[PATCH] powerpc/vio: use simple dummy struct device as bus parent

2019-09-29 Thread Dan Streetman
The dummy vio_bus_device creates the /sys/devices/vio directory, which contains real vio devices under it; since it represents itself as having a bus = &vio_bus_type, its /sys/devices/vio/uevent does call the bus's .uevent function, vio_hotplug(), and as that function won't find a real device for t

Re: [PATCH] powerpc/vio: use simple dummy struct device as bus parent

2019-09-28 Thread Greg Kroah-Hartman
On Fri, Sep 27, 2019 at 03:48:49PM -0400, Dan Streetman wrote: > On Fri, Sep 27, 2019 at 2:19 PM Greg Kroah-Hartman > wrote: > > > > On Fri, Sep 27, 2019 at 09:04:02AM -0400, Dan Streetman wrote: > > > The dummy vio_bus_device creates the /sys/devices/vio directory, which > > > contains real vio d

Re: [PATCH] powerpc/vio: use simple dummy struct device as bus parent

2019-09-27 Thread Greg Kroah-Hartman
On Fri, Sep 27, 2019 at 09:04:02AM -0400, Dan Streetman wrote: > The dummy vio_bus_device creates the /sys/devices/vio directory, which > contains real vio devices under it; since it represents itself as having > a bus = &vio_bus_type, its /sys/devices/vio/uevent does call the bus's > .uevent funct