linux/drivers/pci
Mark Gross 8a443df40b PCI: iova: lockdep false alarm fix
lockdep goes off on the iova copy_reserved_iova() because it and a function
it calls grabs locks in the from, and the to of the copy operation.

The function grab locks of the same lock classes triggering the warning.  The
first lock grabbed is for the constant reserved areas that is never accessed
after early boot.  Technically you could do without grabbing the locks for the
"from" structure its copying reserved areas from.

But dropping the from locks to me looks wrong, even though it would be ok.

The affected code only runs in early boot as its setting up the DMAR
engines.

This patch gives the reserved_ioval_list locks special lockdep classes.

Signed-off-by: Mark Gross <mgross@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-03-24 22:38:44 -07:00
..
hotplug pciehp: don't enable slot unless forced 2008-03-17 19:26:05 -07:00
pcie
.gitignore
access.c
bus.c PCI: fix issue with busses registering multiple times in sysfs 2008-03-13 10:21:09 -07:00
dmar.c copyright owner and author clean up for intel iommu and related files 2008-02-23 17:12:14 -08:00
hotplug-pci.c PCI: fix section mismatch warning in pci_scan_child_bus 2008-03-04 15:07:03 -08:00
hotplug.c
htirq.c
intel-iommu.c PCI: iova: lockdep false alarm fix 2008-03-24 22:38:44 -07:00
intel-iommu.h copyright owner and author clean up for intel iommu and related files 2008-02-23 17:12:14 -08:00
iova.c copyright owner and author clean up for intel iommu and related files 2008-02-23 17:12:14 -08:00
iova.h copyright owner and author clean up for intel iommu and related files 2008-02-23 17:12:14 -08:00
Kconfig
Makefile mn10300: add the MN10300/AM33 architecture to the kernel 2008-02-08 09:22:30 -08:00
msi.c
msi.h
pci-acpi.c ACPI: acpi_pci_set_power_state() cleanups 2008-02-23 01:29:34 -05:00
pci-driver.c
pci-sysfs.c
pci.c PM: Introduce PM_EVENT_HIBERNATE callback state 2008-02-23 10:40:04 -08:00
pci.h
probe.c PCI: fix section mismatch warning in pci_scan_child_bus 2008-03-04 15:07:03 -08:00
proc.c PCI: Fix wrong reference counter check for proc_dir_entry 2008-02-21 15:34:39 -08:00
quirks.c PCI: consolidate duplicated MSI enable functions 2008-03-04 15:07:03 -08:00
remove.c
rom.c docbook: fix kernel-api source files 2008-03-03 10:47:14 -08:00
search.c
setup-bus.c PCI: fix up setup-bus.c #ifdef 2008-02-21 15:34:38 -08:00
setup-irq.c
setup-res.c
syscall.c