shithub: riscv

Download patch

ref: 81d43b6f9dd7f52fdfd44cc3861d8be78fa96ecb
parent: dc544a34625603602db7788156a9b4b45bd33cd8
author: cinap_lenrek <[email protected]>
date: Wed Jul 25 19:18:26 EDT 2012

kernel: make mp mode and msi interrupts the default. *msi -> *nomsi

--- a/sys/man/8/plan9.ini
+++ b/sys/man/8/plan9.ini
@@ -693,12 +693,8 @@
 processors.
 .SS \fL*apicdebug=\fP
 Prints a summary of the multiprocessor APIC interrupt configuration.
-.SS \fL*msi=\fP
-Enables message signaled interrupts on devices that support it (see
-.IR icanhasmsi (8)).
-It is mutually exclusive with the
-.B *nomp=
-option.
+.SS \fL*nomsi=\fP
+Disables message signaled interrupts.
 .SS \fL*pcimaxbno=value\fP
 This puts a limit on the maximum bus number probed
 on a PCI bus (default 7).
--- a/sys/src/9/pc/mp.c
+++ b/sys/src/9/pc/mp.c
@@ -579,7 +579,7 @@
 	int tbdf, vno, cap, cpu, ok64;
 	Pcidev *pci;
 
-	if(getconf("*msi") == nil)
+	if(getconf("*nomsi") != nil)
 		return -1;
 	tbdf = v->tbdf;
 	if(tbdf == BUSUNKNOWN || BUSTYPE(tbdf) != BusPCI)