Commit 5439b0b
committed
arm/boot: skip fdt_pack in qtest mode to fix BQL deadlock
The fdt_pack() call in arm_load_dtb() changes the DTB ROM blob handling
during reset, which causes a timing difference that triggers a BQL
deadlock in the virtio-scsi iothread dataplane stop path.
kernel boot (where DTB size optimization matters) and not during
qtest (where it triggers the deadlock).
Also update CI configure to disable vhost-net/vhost-user since those
tests require kernel support unavailable in CI containers.
Root cause: main thread holds BQL while calling
virtio_scsi_dataplane_stop (waiting for iothread), but iothread needs
BQL to complete a DMA bounce buffer unmap to address 0 (flash ROMD).
Signed-off-by: Jason Truong <jason.truong@windriver.com>1 parent 20ef5dd commit 5439b0b
2 files changed
Lines changed: 19 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
| |||
493 | 496 | | |
494 | 497 | | |
495 | 498 | | |
496 | | - | |
| 499 | + | |
497 | 500 | | |
498 | 501 | | |
499 | 502 | | |
500 | 503 | | |
| 504 | + | |
501 | 505 | | |
502 | 506 | | |
503 | 507 | | |
| |||
633 | 637 | | |
634 | 638 | | |
635 | 639 | | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
636 | 653 | | |
637 | 654 | | |
638 | 655 | | |
| |||
0 commit comments