Bluetooth: virtio_bt: fix device removal
Subsystems (2)
Michael S. Tsirkin
maintainerPATCH 1/1 Bluetooth: virtio_bt: fix device removal
Device removal is clearly out of virtio spec: it attempts to remove unused buffers from a VQ before invoking device reset. To fix, make open/close NOPs and do all cleanup/setup in probe/remove.
The cost here is a single skb wasted on an unused bt device - which seems modest.
NB: with this fix in place driver still suffers from a race condition if an interrupt triggers while device is being reset. Work on a fix for that issue is in progress.
---
Note: completely untested, in particular the device isn't supported in QEMU. Please do not queue directly - please help review and test and ack, and I will queue this together with reset fixes.
Thanks!
drivers/bluetooth/virtio_bt.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-)
drivers/bluetooth/virtio_bt.c +16 -2
@@ -50,8 +50,11 @@ static int virtbt_add_inbuf(struct virtio_bluetooth *vbt)static int virtbt_open (struct hci_dev *hdev) { -struct virtio_bluetooth *vbt =hci_get_drvdata (hdev); +return 0 ; +} +static int virtbt_open_vdev (struct virtio_bluetooth *vbt) +{if (virtbt_add_inbuf (vbt) <0 )return -EIO ;
@@ -61,7 +64,11 @@ static int virtbt_open(struct hci_dev *hdev)static int virtbt_close (struct hci_dev *hdev) { -struct virtio_bluetooth *vbt =hci_get_drvdata (hdev); +return 0 ; +} + +static int virtbt_close_vdev (struct virtio_bluetooth *vbt) +{int i;cancel_work_sync (&vbt->rx);
@@ -351,8 +358,14 @@ static int virtbt_probe(struct virtio_device *vdev) goto failed; } +virtio_device_ready (vdev); +if (virtbt_open_vdev (vbt)) + goto open_failed; +return 0 ; +open_failed: +hci_free_dev (hdev); failed: vdev->config->del_vqs (vdev);return err;
@@ -365,6 +378,7 @@ static void virtbt_remove(struct virtio_device *vdev)hci_unregister_dev (hdev); vdev->config->reset (vdev); +virtbt_close_vdev (vbt);hci_free_dev (hdev); vbt->hdev =NULL ;
Signature · 6 lines
MST _______________________________________________ Virtualization mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Marcel Holtmann
maintainerHi Michael,
Quoted 3 lines
Device removal is clearly out of virtio spec: it attempts to remove unused buffers from a VQ before invoking device reset. To fix, make open/close NOPs and do all cleanup/setup in probe/remove.
so the virtbt_{open,close} as NOP is not really what a driver is suppose to be doing. These are transport enable/disable callbacks from the BT Core towards the driver. It maps to a device being enabled/disabled by something like bluetoothd for example. So if disabled, I expect that no resources/queues are in use.
Maybe I misunderstand the virtio spec in that regard, but I would like to keep this fundamental concept of a Bluetooth driver. It does work with all other transports like USB, SDIO, UART etc.
Quoted 2 lines
The cost here is a single skb wasted on an unused bt device - which seems modest.
There should be no buffer used if the device is powered off. We also don’t have any USB URBs in-flight if the transport is not active.
Quoted 3 lines
NB: with this fix in place driver still suffers from a race condition if an interrupt triggers while device is being reset. Work on a fix for that issue is in progress.
In the virtbt_close() callback we should deactivate all interrupts.
Regards
Marcel
Michael S. Tsirkin
maintainerQuoted 26 lines · Marcel Holtmann
Hi Michael,
Quoted 3 lines
Device removal is clearly out of virtio spec: it attempts to remove unused buffers from a VQ before invoking device reset. To fix, make open/close NOPs and do all cleanup/setup in probe/remove.
so the virtbt_{open,close} as NOP is not really what a driver is suppose to be doing. These are transport enable/disable callbacks from the BT Core towards the driver. It maps to a device being enabled/disabled by something like bluetoothd for example. So if disabled, I expect that no resources/queues are in use.
Maybe I misunderstand the virtio spec in that regard, but I would like to keep this fundamental concept of a Bluetooth driver. It does work with all other transports like USB, SDIO, UART etc.
Quoted 2 lines
The cost here is a single skb wasted on an unused bt device - which seems modest.
There should be no buffer used if the device is powered off. We also don’t have any USB URBs in-flight if the transport is not active.
Quoted 3 lines
NB: with this fix in place driver still suffers from a race condition if an interrupt triggers while device is being reset. Work on a fix for that issue is in progress.
Quoted 5 lines
In the
virtbt_close()callback we should deactivate all interrupts.Regards
Marcel
If you want to do that then device has to be reset on close, and fully reinitialized on open.
Can you work on a patch like that?
Given I don't have the device such a rework is probably more than I can undertake.
Signature · 6 lines
MST _______________________________________________ Virtualization mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Marcel Holtmann
maintainerHi Michael,
Quoted 24 lines
Quoted 24 lines
Quoted 3 lines
Device removal is clearly out of virtio spec: it attempts to remove unused buffers from a VQ before invoking device reset. To fix, make open/close NOPs and do all cleanup/setup in probe/remove.
so the virtbt_{open,close} as NOP is not really what a driver is suppose to be doing. These are transport enable/disable callbacks from the BT Core towards the driver. It maps to a device being enabled/disabled by something like bluetoothd for example. So if disabled, I expect that no resources/queues are in use.
Maybe I misunderstand the virtio spec in that regard, but I would like to keep this fundamental concept of a Bluetooth driver. It does work with all other transports like USB, SDIO, UART etc.
Quoted 2 lines
The cost here is a single skb wasted on an unused bt device - which seems modest.
There should be no buffer used if the device is powered off. We also don’t have any USB URBs in-flight if the transport is not active.
Quoted 3 lines
NB: with this fix in place driver still suffers from a race condition if an interrupt triggers while device is being reset. Work on a fix for that issue is in progress.
Quoted 8 lines
Quoted 2 lines
In the
virtbt_close()callback we should deactivate all interrupts.If you want to do that then device has to be reset on close, and fully reinitialized on open.
Can you work on a patch like that?
Given I don't have the device such a rework is probably more than I can undertake.
so you mean move virtio_find_vqs() into virtbt_open() and del_vqs() into virtbt_close()?
Or is there are way to set up the queues without starting them?
However I am failing to understand your initial concern, we do reset() before del_vqs() in virtbt_remove(). Should we be doing something different in virtbt_close() other than virtqueue_detach_unused_buf(). Why would I keep buffers attached if they are not used.
Regards
Marcel
Michael S. Tsirkin
maintainerQuoted 29 lines · Marcel Holtmann
Hi Michael,
Quoted 27 lines
Quoted 26 lines
Quoted 3 lines
Device removal is clearly out of virtio spec: it attempts to remove unused buffers from a VQ before invoking device reset. To fix, make open/close NOPs and do all cleanup/setup in probe/remove.
so the virtbt_{open,close} as NOP is not really what a driver is suppose to be doing. These are transport enable/disable callbacks from the BT Core towards the driver. It maps to a device being enabled/disabled by something like bluetoothd for example. So if disabled, I expect that no resources/queues are in use.
Maybe I misunderstand the virtio spec in that regard, but I would like to keep this fundamental concept of a Bluetooth driver. It does work with all other transports like USB, SDIO, UART etc.
Quoted 2 lines
The cost here is a single skb wasted on an unused bt device - which seems modest.
There should be no buffer used if the device is powered off. We also don’t have any USB URBs in-flight if the transport is not active.
Quoted 3 lines
NB: with this fix in place driver still suffers from a race condition if an interrupt triggers while device is being reset. Work on a fix for that issue is in progress.
In the
virtbt_close()callback we should deactivate all interrupts.
Quoted 8 lines
Quoted 5 lines
If you want to do that then device has to be reset on close, and fully reinitialized on open.
Can you work on a patch like that?
Given I don't have the device such a rework is probably more than I can undertake.so you mean move
virtio_find_vqs()intovirtbt_open()anddel_vqs()intovirtbt_close()?
And reset before del_vqs.
Quoted 10 lines
Or is there are way to set up the queues without starting them?
However I am failing to understand your initial concern, we do
reset()beforedel_vqs()invirtbt_remove(). Should we be doing something different invirtbt_close()other thanvirtqueue_detach_unused_buf(). Why would I keep buffers attached if they are not used.Regards
Marcel
They are not used at that point but until device is reset can use them. Also, if you then proceed to open without a reset, and kick, device will start by processing the original buffers, crashing or corrupting memory.
Signature · 6 lines
MST _______________________________________________ Virtualization mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Marcel Holtmann
maintainerHi Michael,
Quoted 46 lines
Quoted 27 lines
Quoted 27 lines
Quoted 26 lines
Quoted 3 lines
Device removal is clearly out of virtio spec: it attempts to remove unused buffers from a VQ before invoking device reset. To fix, make open/close NOPs and do all cleanup/setup in probe/remove.
so the virtbt_{open,close} as NOP is not really what a driver is suppose to be doing. These are transport enable/disable callbacks from the BT Core towards the driver. It maps to a device being enabled/disabled by something like bluetoothd for example. So if disabled, I expect that no resources/queues are in use.
Maybe I misunderstand the virtio spec in that regard, but I would like to keep this fundamental concept of a Bluetooth driver. It does work with all other transports like USB, SDIO, UART etc.
Quoted 2 lines
The cost here is a single skb wasted on an unused bt device - which seems modest.
There should be no buffer used if the device is powered off. We also don’t have any USB URBs in-flight if the transport is not active.
Quoted 3 lines
NB: with this fix in place driver still suffers from a race condition if an interrupt triggers while device is being reset. Work on a fix for that issue is in progress.
In the
virtbt_close()callback we should deactivate all interrupts.Quoted 8 lines
Quoted 5 lines
If you want to do that then device has to be reset on close, and fully reinitialized on open.
Can you work on a patch like that?
Given I don't have the device such a rework is probably more than I can undertake.so you mean move
virtio_find_vqs()intovirtbt_open()anddel_vqs()intovirtbt_close()?And reset before
del_vqs.Quoted 7 lines
Or is there are way to set up the queues without starting them?
However I am failing to understand your initial concern, we do
reset()beforedel_vqs()invirtbt_remove(). Should we be doing something different invirtbt_close()other thanvirtqueue_detach_unused_buf(). Why would I keep buffers attached if they are not used.
Quoted 4 lines
They are not used at that point but until device is reset can use them. Also, if you then proceed to open without a reset, and kick, device will start by processing the original buffers, crashing or corrupting memory.
so the only valid usage is like this:
vdev->config->reset(vdev);
while ((.. = virtqueue_detach_unused_buf(vq))) {
}
vdev->config->del_vqs(vdev);If I make virtbt_{open,close} a NOP, then I keep adding an extra SKB to inbuf on every power cycle (ifup/ifdown). How does netdev handle this?
Regards
Marcel
Michael S. Tsirkin
maintainerQuoted 62 lines · Marcel Holtmann
Hi Michael,
Quoted 46 lines
Quoted 27 lines
Quoted 27 lines
Quoted 26 lines
Quoted 3 lines
Device removal is clearly out of virtio spec: it attempts to remove unused buffers from a VQ before invoking device reset. To fix, make open/close NOPs and do all cleanup/setup in probe/remove.
so the virtbt_{open,close} as NOP is not really what a driver is suppose to be doing. These are transport enable/disable callbacks from the BT Core towards the driver. It maps to a device being enabled/disabled by something like bluetoothd for example. So if disabled, I expect that no resources/queues are in use.
Maybe I misunderstand the virtio spec in that regard, but I would like to keep this fundamental concept of a Bluetooth driver. It does work with all other transports like USB, SDIO, UART etc.
Quoted 2 lines
The cost here is a single skb wasted on an unused bt device - which seems modest.
There should be no buffer used if the device is powered off. We also don’t have any USB URBs in-flight if the transport is not active.
Quoted 3 lines
NB: with this fix in place driver still suffers from a race condition if an interrupt triggers while device is being reset. Work on a fix for that issue is in progress.
In the
virtbt_close()callback we should deactivate all interrupts.Quoted 8 lines
Quoted 5 lines
If you want to do that then device has to be reset on close, and fully reinitialized on open.
Can you work on a patch like that?
Given I don't have the device such a rework is probably more than I can undertake.so you mean move
virtio_find_vqs()intovirtbt_open()anddel_vqs()intovirtbt_close()?And reset before
del_vqs.Quoted 7 lines
Or is there are way to set up the queues without starting them?
However I am failing to understand your initial concern, we do
reset()beforedel_vqs()invirtbt_remove(). Should we be doing something different invirtbt_close()other thanvirtqueue_detach_unused_buf(). Why would I keep buffers attached if they are not used.Quoted 4 lines
They are not used at that point but until device is reset can use them. Also, if you then proceed to open without a reset, and kick, device will start by processing the original buffers, crashing or corrupting memory.
so the only valid usage is like this:
vdev->config->reset(vdev); while ((.. = virtqueue_detach_unused_buf(vq))) { } vdev->config->del_vqs(vdev);
Quoted 2 lines
If I make virtbt_{open,close} a NOP, then I keep adding an extra SKB to inbuf on every power cycle (ifup/ifdown).
So make sure you don't :)
Quoted 5 lines
How does netdev handle this?
Regards
Marcel
For net, open adds buffers to vq. close does not free them up - they stay in the vq until device is removed.
Signature · 6 lines
MST _______________________________________________ Virtualization mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Michael S. Tsirkin
maintainerQuoted 26 lines · Marcel Holtmann
Hi Michael,
Quoted 3 lines
Device removal is clearly out of virtio spec: it attempts to remove unused buffers from a VQ before invoking device reset. To fix, make open/close NOPs and do all cleanup/setup in probe/remove.
so the virtbt_{open,close} as NOP is not really what a driver is suppose to be doing. These are transport enable/disable callbacks from the BT Core towards the driver. It maps to a device being enabled/disabled by something like bluetoothd for example. So if disabled, I expect that no resources/queues are in use.
Maybe I misunderstand the virtio spec in that regard, but I would like to keep this fundamental concept of a Bluetooth driver. It does work with all other transports like USB, SDIO, UART etc.
Quoted 2 lines
The cost here is a single skb wasted on an unused bt device - which seems modest.
There should be no buffer used if the device is powered off. We also don’t have any USB URBs in-flight if the transport is not active.
Quoted 3 lines
NB: with this fix in place driver still suffers from a race condition if an interrupt triggers while device is being reset. Work on a fix for that issue is in progress.
Quoted 5 lines
In the
virtbt_close()callback we should deactivate all interrupts.Regards
Marcel
So Marcel, do I read it right that you are working on a fix and I can drop this patch for now?
Signature · 1 line
MST
Michael S. Tsirkin
maintainerQuoted 27 lines · Michael S. Tsirkin
Quoted 26 lines · Marcel Holtmann
Hi Michael,
Quoted 3 lines
Device removal is clearly out of virtio spec: it attempts to remove unused buffers from a VQ before invoking device reset. To fix, make open/close NOPs and do all cleanup/setup in probe/remove.
so the virtbt_{open,close} as NOP is not really what a driver is suppose to be doing. These are transport enable/disable callbacks from the BT Core towards the driver. It maps to a device being enabled/disabled by something like bluetoothd for example. So if disabled, I expect that no resources/queues are in use.
Maybe I misunderstand the virtio spec in that regard, but I would like to keep this fundamental concept of a Bluetooth driver. It does work with all other transports like USB, SDIO, UART etc.
Quoted 2 lines
The cost here is a single skb wasted on an unused bt device - which seems modest.
There should be no buffer used if the device is powered off. We also don’t have any USB URBs in-flight if the transport is not active.
Quoted 3 lines
NB: with this fix in place driver still suffers from a race condition if an interrupt triggers while device is being reset. Work on a fix for that issue is in progress.
Quoted 8 lines
Quoted 5 lines
In the
virtbt_close()callback we should deactivate all interrupts.Regards
Marcel
So Marcel, do I read it right that you are working on a fix and I can drop this patch for now?
ping
Quoted 2 lines
Signature · 1 line
MST
Michael S. Tsirkin
maintainerQuoted 30 lines · Michael S. Tsirkin
Quoted 29 lines · Michael S. Tsirkin
Quoted 28 lines · Marcel Holtmann
Hi Michael,
Quoted 3 lines
Device removal is clearly out of virtio spec: it attempts to remove unused buffers from a VQ before invoking device reset. To fix, make open/close NOPs and do all cleanup/setup in probe/remove.
so the virtbt_{open,close} as NOP is not really what a driver is suppose to be doing. These are transport enable/disable callbacks from the BT Core towards the driver. It maps to a device being enabled/disabled by something like bluetoothd for example. So if disabled, I expect that no resources/queues are in use.
Maybe I misunderstand the virtio spec in that regard, but I would like to keep this fundamental concept of a Bluetooth driver. It does work with all other transports like USB, SDIO, UART etc.
Quoted 2 lines
The cost here is a single skb wasted on an unused bt device - which seems modest.
There should be no buffer used if the device is powered off. We also don’t have any USB URBs in-flight if the transport is not active.
Quoted 3 lines
NB: with this fix in place driver still suffers from a race condition if an interrupt triggers while device is being reset. Work on a fix for that issue is in progress.
In the
virtbt_close()callback we should deactivate all interrupts.
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Regards
Marcel
So Marcel, do I read it right that you are working on a fix and I can drop this patch for now?
ping
If I don't hear otherwise I'll queue my version - it might not be ideal but it at least does not violate the spec. We can work on not allocating/freeing buffers later as appropriate.
Quoted 2 lines
Quoted 2 lines
Signature · 1 line
MST
Marcel Holtmann
maintainerHi Michael,
Quoted 33 lines
Quoted 33 lines
Quoted 32 lines
Quoted 24 lines
Quoted 3 lines
Device removal is clearly out of virtio spec: it attempts to remove unused buffers from a VQ before invoking device reset. To fix, make open/close NOPs and do all cleanup/setup in probe/remove.
so the virtbt_{open,close} as NOP is not really what a driver is suppose to be doing. These are transport enable/disable callbacks from the BT Core towards the driver. It maps to a device being enabled/disabled by something like bluetoothd for example. So if disabled, I expect that no resources/queues are in use.
Maybe I misunderstand the virtio spec in that regard, but I would like to keep this fundamental concept of a Bluetooth driver. It does work with all other transports like USB, SDIO, UART etc.
Quoted 2 lines
The cost here is a single skb wasted on an unused bt device - which seems modest.
There should be no buffer used if the device is powered off. We also don’t have any USB URBs in-flight if the transport is not active.
Quoted 3 lines
NB: with this fix in place driver still suffers from a race condition if an interrupt triggers while device is being reset. Work on a fix for that issue is in progress.
Quoted 5 lines
In the
virtbt_close()callback we should deactivate all interrupts.Regards
Marcel
So Marcel, do I read it right that you are working on a fix and I can drop this patch for now?
Quoted 7 lines
Quoted 1 line
ping
If I don't hear otherwise I'll queue my version - it might not be ideal but it at least does not violate the spec. We can work on not allocating/freeing buffers later as appropriate.
I have a patch, but it is not fully tested yet.
Regards
Marcel
Michael S. Tsirkin
maintainerQuoted 43 lines · Marcel Holtmann
Hi Michael,
Quoted 33 lines
Quoted 33 lines
Quoted 32 lines
Quoted 24 lines
Quoted 3 lines
Device removal is clearly out of virtio spec: it attempts to remove unused buffers from a VQ before invoking device reset. To fix, make open/close NOPs and do all cleanup/setup in probe/remove.
so the virtbt_{open,close} as NOP is not really what a driver is suppose to be doing. These are transport enable/disable callbacks from the BT Core towards the driver. It maps to a device being enabled/disabled by something like bluetoothd for example. So if disabled, I expect that no resources/queues are in use.
Maybe I misunderstand the virtio spec in that regard, but I would like to keep this fundamental concept of a Bluetooth driver. It does work with all other transports like USB, SDIO, UART etc.
Quoted 2 lines
The cost here is a single skb wasted on an unused bt device - which seems modest.
There should be no buffer used if the device is powered off. We also don’t have any USB URBs in-flight if the transport is not active.
Quoted 3 lines
NB: with this fix in place driver still suffers from a race condition if an interrupt triggers while device is being reset. Work on a fix for that issue is in progress.
Quoted 5 lines
In the
virtbt_close()callback we should deactivate all interrupts.Regards
Marcel
So Marcel, do I read it right that you are working on a fix and I can drop this patch for now?
Quoted 7 lines
Quoted 1 line
ping
If I don't hear otherwise I'll queue my version - it might not be ideal but it at least does not violate the spec. We can work on not allocating/freeing buffers later as appropriate.
Quoted 5 lines
I have a patch, but it is not fully tested yet.
Regards
Marcel
ping
it's been a month ...
I'm working on cleaning up module/device removal in virtio and bt is kind of sticking out.
Signature · 1 line
MST
Michael S. Tsirkin
maintainerQuoted 48 lines · Michael S. Tsirkin
Quoted 47 lines · Marcel Holtmann
Hi Michael,
Quoted 33 lines
Quoted 33 lines
Quoted 32 lines
Quoted 24 lines
Quoted 3 lines
Device removal is clearly out of virtio spec: it attempts to remove unused buffers from a VQ before invoking device reset. To fix, make open/close NOPs and do all cleanup/setup in probe/remove.
so the virtbt_{open,close} as NOP is not really what a driver is suppose to be doing. These are transport enable/disable callbacks from the BT Core towards the driver. It maps to a device being enabled/disabled by something like bluetoothd for example. So if disabled, I expect that no resources/queues are in use.
Maybe I misunderstand the virtio spec in that regard, but I would like to keep this fundamental concept of a Bluetooth driver. It does work with all other transports like USB, SDIO, UART etc.
Quoted 2 lines
The cost here is a single skb wasted on an unused bt device - which seems modest.
There should be no buffer used if the device is powered off. We also don’t have any USB URBs in-flight if the transport is not active.
Quoted 3 lines
NB: with this fix in place driver still suffers from a race condition if an interrupt triggers while device is being reset. Work on a fix for that issue is in progress.
Quoted 5 lines
In the
virtbt_close()callback we should deactivate all interrupts.Regards
Marcel
So Marcel, do I read it right that you are working on a fix and I can drop this patch for now?
Quoted 7 lines
Quoted 1 line
ping
If I don't hear otherwise I'll queue my version - it might not be ideal but it at least does not violate the spec. We can work on not allocating/freeing buffers later as appropriate.
I have a patch, but it is not fully tested yet.
Regards
Quoted 8 lines
Quoted 1 line
Marcel
ping
it's been a month ...
I'm working on cleaning up module/device removal in virtio and bt is kind of sticking out.
I am inclined to make this driver depend on BROKEN for now. Any objections?
Quoted 2 lines
Signature · 1 line
MST
Michael S. Tsirkin
maintainerQuoted 53 lines · Michael S. Tsirkin
Quoted 52 lines · Michael S. Tsirkin
Quoted 43 lines · Marcel Holtmann
Hi Michael,
Quoted 33 lines
Quoted 33 lines
Quoted 32 lines
Quoted 24 lines
Quoted 3 lines
Device removal is clearly out of virtio spec: it attempts to remove unused buffers from a VQ before invoking device reset. To fix, make open/close NOPs and do all cleanup/setup in probe/remove.
so the virtbt_{open,close} as NOP is not really what a driver is suppose to be doing. These are transport enable/disable callbacks from the BT Core towards the driver. It maps to a device being enabled/disabled by something like bluetoothd for example. So if disabled, I expect that no resources/queues are in use.
Maybe I misunderstand the virtio spec in that regard, but I would like to keep this fundamental concept of a Bluetooth driver. It does work with all other transports like USB, SDIO, UART etc.
Quoted 2 lines
The cost here is a single skb wasted on an unused bt device - which seems modest.
There should be no buffer used if the device is powered off. We also don’t have any USB URBs in-flight if the transport is not active.
Quoted 3 lines
NB: with this fix in place driver still suffers from a race condition if an interrupt triggers while device is being reset. Work on a fix for that issue is in progress.
Quoted 5 lines
In the
virtbt_close()callback we should deactivate all interrupts.Regards
Marcel
So Marcel, do I read it right that you are working on a fix and I can drop this patch for now?
Quoted 7 lines
Quoted 1 line
ping
If I don't hear otherwise I'll queue my version - it might not be ideal but it at least does not violate the spec. We can work on not allocating/freeing buffers later as appropriate.
Quoted 5 lines
I have a patch, but it is not fully tested yet.
Regards
Marcel
ping
Quoted 7 lines
Quoted 4 lines
it's been a month ...
I'm working on cleaning up module/device removal in virtio and bt is kind of sticking out.
I am inclined to make this driver depend on BROKEN for now. Any objections?
OK patch incoming.
Quoted 3 lines
Quoted 3 lines
Signature · 2 lines
-- MST
_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
PATCH 1/1 Bluetooth: virtio_bt: fix device removal
In reply to Michael S. TsirkinPlease mind our privacy notice<https://www.opensynergy.com/datenschutzerklaerung/privacy-notice-for-business-partners-pursuant-to-article-13-of-the-general-data-protection-regulation-gdpr/> pursuant to Art. 13 GDPR. // Unsere Hinweise zum Datenschutz gem. Art. 13 DSGVO finden Sie hier.<https://www.opensynergy.com/de/datenschutzerklaerung/datenschutzhinweise-fuer-geschaeftspartner-gem-art-13-dsgvo/>
_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization