Re: [PATCH v2 1/1] s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem

2019-02-21 Thread Pierre Morel
On 21/02/2019 14:01, Christian Borntraeger wrote: On 21.02.2019 13:51, Pierre Morel wrote: On 21/02/2019 13:35, Christian Borntraeger wrote: [..] Go ahead and send this as v3? OK CC stable ? Yes, also add a "Fixes:" tag. Yes, I will not forget this time :) Thanks Pierre -- Pierre

Re: [PATCH v2 1/1] s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem

2019-02-21 Thread Christian Borntraeger
On 21.02.2019 13:51, Pierre Morel wrote: > On 21/02/2019 13:35, Christian Borntraeger wrote: >> >> [..] >> Go ahead and send this as v3? >> > > OK > CC stable ? Yes, also add a "Fixes:" tag.

Re: [PATCH v2 1/1] s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem

2019-02-21 Thread Pierre Morel
On 21/02/2019 13:35, Christian Borntraeger wrote: On 21.02.2019 13:10, Pierre Morel wrote: On 20/02/2019 13:51, Halil Pasic wrote: On Wed, 20 Feb 2019 10:27:31 +0100 Cornelia Huck wrote: On Tue, 19 Feb 2019 22:31:17 +0100 Pierre Morel wrote: On 19/02/2019 19:52, Tony Krowiak wrote: On

Re: [PATCH v2 1/1] s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem

2019-02-21 Thread Christian Borntraeger
On 21.02.2019 13:10, Pierre Morel wrote: > On 20/02/2019 13:51, Halil Pasic wrote: >> On Wed, 20 Feb 2019 10:27:31 +0100 >> Cornelia Huck wrote: >> >>> On Tue, 19 Feb 2019 22:31:17 +0100 >>> Pierre Morel wrote: >>> On 19/02/2019 19:52, Tony Krowiak wrote: > On 2/18/19 1:08 PM, Pierre

Re: [PATCH v2 1/1] s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem

2019-02-21 Thread Pierre Morel
On 20/02/2019 13:51, Halil Pasic wrote: On Wed, 20 Feb 2019 10:27:31 +0100 Cornelia Huck wrote: On Tue, 19 Feb 2019 22:31:17 +0100 Pierre Morel wrote: On 19/02/2019 19:52, Tony Krowiak wrote: On 2/18/19 1:08 PM, Pierre Morel wrote: Libudev relies on having a subsystem link for non-root de

Re: [PATCH v2 1/1] s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem

2019-02-21 Thread Pierre Morel
On 19/02/2019 10:44, Christian Borntraeger wrote: On 19.02.2019 10:22, Cornelia Huck wrote: On Mon, 18 Feb 2019 19:08:48 +0100 Pierre Morel wrote: ...snip... +static struct bus_type matrix_bus = { + .name = "vfio_ap", + .match = &matrix_bus_match, +}; + +static int matrix_pro

Re: [PATCH v2 1/1] s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem

2019-02-21 Thread Pierre Morel
On 21/02/2019 08:37, Christian Borntraeger wrote: On 20.02.2019 14:12, Harald Freudenberger wrote: On 18.02.19 19:08, Pierre Morel wrote: Libudev relies on having a subsystem link for non-root devices. To avoid libudev (and potentially other userspace tools) choking on the matrix device let u

Re: [PATCH v2 1/1] s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem

2019-02-21 Thread Harald Freudenberger
On 21.02.19 08:37, Christian Borntraeger wrote: > > On 20.02.2019 14:12, Harald Freudenberger wrote: >> On 18.02.19 19:08, Pierre Morel wrote: >>> Libudev relies on having a subsystem link for non-root devices. To >>> avoid libudev (and potentially other userspace tools) choking on the >>> matrix d

Re: [PATCH v2 1/1] s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem

2019-02-20 Thread Christian Borntraeger
On 20.02.2019 14:12, Harald Freudenberger wrote: > On 18.02.19 19:08, Pierre Morel wrote: >> Libudev relies on having a subsystem link for non-root devices. To >> avoid libudev (and potentially other userspace tools) choking on the >> matrix device let us introduce a vfio_ap bus and with that th

Re: [PATCH v2 1/1] s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem

2019-02-20 Thread Harald Freudenberger
On 18.02.19 19:08, Pierre Morel wrote: > Libudev relies on having a subsystem link for non-root devices. To > avoid libudev (and potentially other userspace tools) choking on the > matrix device let us introduce a vfio_ap bus and with that the vfio_ap > bus subsytem, and make the matrix device resi

Re: [PATCH v2 1/1] s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem

2019-02-20 Thread Halil Pasic
On Wed, 20 Feb 2019 10:27:31 +0100 Cornelia Huck wrote: > On Tue, 19 Feb 2019 22:31:17 +0100 > Pierre Morel wrote: > > > On 19/02/2019 19:52, Tony Krowiak wrote: > > > On 2/18/19 1:08 PM, Pierre Morel wrote: > > >> Libudev relies on having a subsystem link for non-root devices. To > > >> avoi

Re: [PATCH v2 1/1] s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem

2019-02-20 Thread Cornelia Huck
On Tue, 19 Feb 2019 22:31:17 +0100 Pierre Morel wrote: > On 19/02/2019 19:52, Tony Krowiak wrote: > > On 2/18/19 1:08 PM, Pierre Morel wrote: > >> Libudev relies on having a subsystem link for non-root devices. To > >> avoid libudev (and potentially other userspace tools) choking on the > >> ma

Re: [PATCH v2 1/1] s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem

2019-02-19 Thread Pierre Morel
On 19/02/2019 19:52, Tony Krowiak wrote: On 2/18/19 1:08 PM, Pierre Morel wrote: Libudev relies on having a subsystem link for non-root devices. To avoid libudev (and potentially other userspace tools) choking on the matrix device let us introduce a vfio_ap bus and with that the vfio_ap bus subs

Re: [PATCH v2 1/1] s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem

2019-02-19 Thread Tony Krowiak
On 2/18/19 1:08 PM, Pierre Morel wrote: Libudev relies on having a subsystem link for non-root devices. To avoid libudev (and potentially other userspace tools) choking on the matrix device let us introduce a vfio_ap bus and with that the vfio_ap bus subsytem, and make the matrix device reside wi

Re: [PATCH v2 1/1] s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem

2019-02-19 Thread Halil Pasic
On Mon, 18 Feb 2019 19:08:48 +0100 Pierre Morel wrote: > Libudev relies on having a subsystem link for non-root devices. To > avoid libudev (and potentially other userspace tools) choking on the > matrix device let us introduce a vfio_ap bus and with that the vfio_ap > bus subsytem, and make the

Re: [PATCH v2 1/1] s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem

2019-02-19 Thread Christian Borntraeger
On 19.02.2019 10:22, Cornelia Huck wrote: > On Mon, 18 Feb 2019 19:08:48 +0100 > Pierre Morel wrote: > >> Libudev relies on having a subsystem link for non-root devices. To >> avoid libudev (and potentially other userspace tools) choking on the >> matrix device let us introduce a vfio_ap bus a

Re: [PATCH v2 1/1] s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem

2019-02-19 Thread Cornelia Huck
On Mon, 18 Feb 2019 19:08:48 +0100 Pierre Morel wrote: > Libudev relies on having a subsystem link for non-root devices. To > avoid libudev (and potentially other userspace tools) choking on the > matrix device let us introduce a vfio_ap bus and with that the vfio_ap > bus subsytem, and make the

Re: [PATCH v2 1/1] s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem

2019-02-19 Thread Christian Borntraeger
On 18.02.2019 19:08, Pierre Morel wrote: > Libudev relies on having a subsystem link for non-root devices. To > avoid libudev (and potentially other userspace tools) choking on the > matrix device let us introduce a vfio_ap bus and with that the vfio_ap > bus subsytem, and make the matrix device

[PATCH v2 1/1] s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem

2019-02-18 Thread Pierre Morel
Libudev relies on having a subsystem link for non-root devices. To avoid libudev (and potentially other userspace tools) choking on the matrix device let us introduce a vfio_ap bus and with that the vfio_ap bus subsytem, and make the matrix device reside within it. Doing this we need to suppress t