mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
vfio: selftests: Extend mix_and_match timeout to 90s
Systems with firmware first error handling can see heavy SMM load as a result of the mix_and_match induced IOMMU errors. For devices like igb that get wedged on these errors, the resulting FLR is delayed waiting for the transaction pending register to clear, which never occurs. However, due to the background SMM, the backoff delays in PCI code wildly exceed their timeouts. As a result, the whole test can report failure. Extend the mix_and_match timeout to a value shown to complete reliably on such systems, with ~2x margin. Assisted-by: LLM Reviewed-by: David Matlack <dmatlack@google.com> Signed-off-by: Alex Williamson <alex.williamson@nvidia.com> Link: https://lore.kernel.org/r/20260911170429.1642480-4-alex.williamson@nvidia.com Signed-off-by: Alex Williamson <alex@shazbot.org>
This commit is contained in:
parent
258ba46543
commit
24acae9894
|
|
@ -190,7 +190,7 @@ TEST_F(vfio_pci_driver_test, send_msi)
|
|||
ASSERT_EQ(1, value);
|
||||
}
|
||||
|
||||
TEST_F(vfio_pci_driver_test, mix_and_match)
|
||||
TEST_F_TIMEOUT(vfio_pci_driver_test, mix_and_match, 90)
|
||||
{
|
||||
u64 value;
|
||||
int i;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user