NetBSD/sys/arch/x86/pci
ozaki-r bf5ce79b5b Protect ec_multi* with mutex
The data can be accessed from sysctl, ioctl, interface watchdog
(if_slowtimo) and interrupt handlers. We need to protect the data against
parallel accesses from them.

Currently the mutex is applied to some drivers, we need to apply it to all
drivers in the future.

Note that the mutex is adaptive one for ease of implementation but some
drivers access the data in interrupt context so we cannot apply the mutex
to every drivers as is. We have two options: one is to replace the mutex
with a spin one, which requires some additional works (see
ether_multicast_sysctl), and the other is to modify the drivers to access
the data not in interrupt context somehow.
2016-12-28 07:32:16 +00:00
..
aapic.c
agp_machdep.c
amd8131reg.h
amdnb_misc.c
amdpcib_hpet.c
amdpcib.c
amdtemp.c Update module dependencies for all the existing modules that depend on sysmon components. 2015-04-23 23:23:00 +00:00
files.pci Separate the watchdog code from the pcib code, and make the watchdog 2015-05-03 02:50:59 +00:00
fwhrng.c Convert arch/x86 to use <sys/rnd*.h>. Omit needless includes. 2015-04-13 16:03:51 +00:00
i82802reg.h
ichlpcib_hpet.c
ichlpcib.c Disable gpio(4) attachment to ichlpcib(4) by default. 2016-08-06 21:57:04 +00:00
if_vmx.c Protect ec_multi* with mutex 2016-12-28 07:32:16 +00:00
if_vmxreg.h Sync code with FreeBSD to support RSS 2016-11-25 05:29:54 +00:00
msipic.c No functional change: 2015-11-17 17:51:42 +00:00
msipic.h add a const qualifier to struct pci_attach_args *pa argument 2015-05-08 04:27:48 +00:00
pchb.c use 4-byte style accesses, should hopefully fix PR#37787. 2016-10-01 21:51:52 +00:00
pchbvar.h
pci_addr_fixup.c
pci_addr_fixup.h
pci_bus_fixup.c
pci_bus_fixup.h
pci_intr_machdep.c fix build of amd64/i386 with NO_PCI_MSI_MSIX option. 2016-11-28 05:00:41 +00:00
pci_machdep.c more fix line break position in verbose message. 2016-08-25 12:21:21 +00:00
pci_msi_machdep.c fix build of amd64/i386 with NO_PCI_MSI_MSIX option. 2016-11-28 05:00:41 +00:00
pci_msi_machdep.h Add kernel code to support intrctl(8). 2015-08-17 06:16:02 +00:00
pci_ranges.c KNF. Remove extra spaces. No functional change. 2016-07-07 06:55:38 +00:00
pcib.c
pcibvar.h
pciide_machdep.c provide intr xname 2016-10-15 16:46:14 +00:00
rdcpcib.c
tco.c print the configuration information early so that it does not get intermingled 2015-08-30 07:50:34 +00:00
tco.h Separate the watchdog code from the pcib code, and make the watchdog 2015-05-03 02:50:59 +00:00
tcpcib.c KNF. No functional change. 2016-07-11 11:31:49 +00:00