um-virt-pci: Make max delay configurable
authorVincent Whitchurch <vincent.whitchurch@axis.com>
Thu, 26 Jan 2023 10:47:10 +0000 (11:47 +0100)
committerRichard Weinberger <richard@nod.at>
Mon, 13 Feb 2023 09:14:31 +0000 (10:14 +0100)
commit935f8f7a0123ffa0a2dd7234713dc2ebeeb08955
treefed9705f00fac7d49357059b41e74f276a1e58e6
parent314a1408b79a844dafdcde867d90de5d509409b7
um-virt-pci: Make max delay configurable

There is a hard coded maximum time for which the driver busy-loops
waiting for a response from the virtio device.  This default time may be
too short for some systems, so make it a module parameter so that it can
be set via the kernel command line.

Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/drivers/virt-pci.c