* [PATCH stable 5.15] um: virt-pci: Fix build failure
@ 2026-05-08 20:52 Florian Fainelli
2026-05-09 2:08 ` Sasha Levin
0 siblings, 1 reply; 2+ messages in thread
From: Florian Fainelli @ 2026-05-08 20:52 UTC (permalink / raw)
To: stable
Cc: bcm-kernel-feedback-list, Florian Fainelli, Jeff Dike,
Richard Weinberger, Anton Ivanov, Benjamin Berg, Sasha Levin,
open list:USER-MODE LINUX (UML), open list
Commit a27e95a6ff3f ("um: virt-pci: properly remove PCI device from
bus") assumed that virtio_reset_device() is present in the 5.15.y kernel
but it is not and so backport would now cause a build failure.
Fixes: a27e95a6ff3f ("um: virt-pci: properly remove PCI device from bus")
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
---
arch/um/drivers/virt-pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/um/drivers/virt-pci.c b/arch/um/drivers/virt-pci.c
index d762d726b66c..0666c9e0998d 100644
--- a/arch/um/drivers/virt-pci.c
+++ b/arch/um/drivers/virt-pci.c
@@ -641,7 +641,7 @@ static void um_pci_virtio_remove(struct virtio_device *vdev)
}
/* Stop all virtqueues */
- virtio_reset_device(vdev);
+ vdev->config->reset(vdev);
dev->cmd_vq = NULL;
dev->irq_vq = NULL;
vdev->config->del_vqs(vdev);
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH stable 5.15] um: virt-pci: Fix build failure
2026-05-08 20:52 [PATCH stable 5.15] um: virt-pci: Fix build failure Florian Fainelli
@ 2026-05-09 2:08 ` Sasha Levin
0 siblings, 0 replies; 2+ messages in thread
From: Sasha Levin @ 2026-05-09 2:08 UTC (permalink / raw)
To: stable
Cc: Sasha Levin, bcm-kernel-feedback-list, Florian Fainelli,
Jeff Dike, Richard Weinberger, Anton Ivanov, Benjamin Berg,
linux-um, linux-kernel
On Fri, May 08, 2026 at 01:52:41PM -0700, Florian Fainelli wrote:
> Commit a27e95a6ff3f ("um: virt-pci: properly remove PCI device from
> bus") assumed that virtio_reset_device() is present in the 5.15.y kernel
> but it is not and so backport would now cause a build failure.
Queued for 5.15, thanks.
--
Thanks,
Sasha
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-09 2:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-08 20:52 [PATCH stable 5.15] um: virt-pci: Fix build failure Florian Fainelli
2026-05-09 2:08 ` Sasha Levin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox