summaryrefslogtreecommitdiff
path: root/drivers/pci/pci.c
diff options
context:
space:
mode:
authorMark Gross <mgross@linux.intel.com>2008-03-05 01:59:31 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2008-03-25 08:38:44 +0300
commit8a443df40b35da89e32fcd499d7720c8c2cc2eee (patch)
treeb3004069bc4eebb2fceb0c3102f56634e8102f8d /drivers/pci/pci.c
parent7c12c92fba4bd985ed6d909e5537468b268dcaa4 (diff)
downloadlinux-8a443df40b35da89e32fcd499d7720c8c2cc2eee.tar.xz
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>
Diffstat (limited to 'drivers/pci/pci.c')
0 files changed, 0 insertions, 0 deletions