Re: [Intel-gfx] [PATCH v1 4/7] vfio/ccw: move private to mdev lifecycle

2022-11-01 Thread Eric Farman
On Tue, 2022-11-01 at 09:08 +, Tian, Kevin wrote: > > From: Eric Farman > > Sent: Thursday, October 20, 2022 12:22 AM > > > > @@ -101,15 +101,20 @@ static int vfio_ccw_mdev_probe(struct > > mdev_device *mdev) > >  { > > struct subchannel *sch = to_subchannel(mdev->dev.parent); > >    

Re: [Intel-gfx] [PATCH v1 4/7] vfio/ccw: move private to mdev lifecycle

2022-11-01 Thread Tian, Kevin
> From: Eric Farman > Sent: Thursday, October 20, 2022 12:22 AM > > @@ -101,15 +101,20 @@ static int vfio_ccw_mdev_probe(struct > mdev_device *mdev) > { > struct subchannel *sch = to_subchannel(mdev->dev.parent); > struct vfio_ccw_parent *parent = dev_get_drvdata(&sch->dev); > -

[Intel-gfx] [PATCH v1 4/7] vfio/ccw: move private to mdev lifecycle

2022-10-19 Thread Eric Farman
Now that the mdev parent data is split out into its own struct, it is safe to move the remaining private data to follow the mdev probe/remove lifecycle. The mdev parent data will remain where it is, and follow the subchannel and the css driver interfaces. Signed-off-by: Eric Farman --- drivers/s