ref: c5d08a602c35ac24b7c7ccfe5b53c8dfa12ef94e
parent: 1376d39ef1194c76e97035a1af110a59e4ad8257
author: cinap_lenrek <[email protected]>
date: Sat Nov 21 11:10:56 EST 2020
pc, pc64: disable all pci devices in pcicfginit() Make sure all pci busmaster activity is disabled, including MSI/MSI-X interrupts. Drivers will later reenable once taking control of a device.
--- a/sys/src/9/pc/pcipc.c
+++ b/sys/src/9/pc/pcipc.c
@@ -716,6 +716,8 @@
if(pciroot == nil)
goto out;
+ pcireset();
+
if(nobios) {
uvlong mema;
ulong ioa;