passthrough: drop break statement following c/s cd7dedad820
PATCH v2 1/1 passthrough: drop break statement following c/s cd7dedad820
The locking responsibilities have changed and a premature break in this section now causes the following assertion:
Assertion '!preempt_count()' failed at preempt.c:36
--- xen/drivers/passthrough/pci.c | 1 - 1 file changed, 1 deletion(-)
xen/drivers/passthrough/pci.c +0 -1
@@ -1705,7 +1705,6 @@ int iommu_do_pci_domctl( seg, bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); ret = -EINVAL ; } -break ; }else if ( !ret ) ret =assign_device (d, seg, bus, devfn, flags);
Signature · 7 lines
2.7.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 9 lines
-----Original Message-----
From: Igor Druzhinin <[email protected]>
Sent: 05 December 2019 12:14
To: [email protected]
Cc: [email protected]; [email protected]; Durrant, Paul <[email protected]>; Igor Druzhinin <[email protected]>
Subject: [PATCH v2] passthrough: drop break statement following c/scd7dedad820
Quoted 6 lines
The locking responsibilities have changed and a premature break in this section now causes the following assertion:
Assertion '!preempt_count()' failed at preempt.c:36
Suggested-by Paul Durrant <[email protected]>
Actually, it was suggested by Jan, but you can put my R-b on the patch.
Paul
Quoted 19 lines
Reported-by Sander Eikelenboom <[email protected]>Signed-off-by Igor Druzhinin <[email protected]>--- xen/drivers/passthrough/pci.c | 1 - 1 file changed, 1 deletion(-)xen/drivers/passthrough/pci.c +0
-2@@ -1705,7 +1705,6 @@ int iommu_do_pci_domctl( seg, bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); ret = -EINVAL ; } -break ; }else if ( !ret ) ret =assign_device (d, seg, bus, devfn, flags); --
Quoted 1 line
2.7.4
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 9 lines · Paul
Quoted 9 lines
-----Original Message-----
From: Igor Druzhinin <[email protected]>
Sent: 05 December 2019 12:14
To: [email protected]
Cc: [email protected]; [email protected]; Durrant, Paul <[email protected]>; Igor Druzhinin <[email protected]>
Subject: [PATCH v2] passthrough: drop break statement following c/scd7dedad820
Quoted 9 lines
Quoted 6 lines
The locking responsibilities have changed and a premature break in this section now causes the following assertion:
Assertion '!preempt_count()' failed at preempt.c:36
Suggested-by Paul Durrant <[email protected]>Actually, it was suggested by Jan, but you can put my R-b on the patch.
Oh, indeed :) Please fix up while committing as you wish.
Igor
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Jan Beulich
Reviewed-byQuoted 9 lines · Paul
Quoted 9 lines
-----Original Message-----
From: Igor Druzhinin <[email protected]>
Sent: 05 December 2019 12:14
To: [email protected]
Cc: [email protected]; [email protected]; Durrant, Paul <[email protected]>; Igor Druzhinin <[email protected]>
Subject: [PATCH v2] passthrough: drop break statement following c/scd7dedad820
Quoted 8 lines
Quoted 6 lines
The locking responsibilities have changed and a premature break in this section now causes the following assertion:
Assertion '!preempt_count()' failed at preempt.c:36
Suggested-by Paul Durrant <[email protected]>Actually, it was suggested by Jan, but you can put my R-b on the patch.
And mine:
I'll get this committed soon.
Jan
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel