]> git.baikalelectronics.ru Git - kernel.git/commit
x86, dmar: use atomic allocations for QI and Intr-remapping init
authorSuresh Siddha <suresh.b.siddha@intel.com>
Tue, 17 Mar 2009 00:05:05 +0000 (17:05 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 17 Mar 2009 23:49:30 +0000 (16:49 -0700)
commit1c9dbf6f429e1321c431ef341ea20a36aabd554b
tree7c31d15426e29d86314545be3cf9553ab91ef574
parentb5b742d2f5319fe24103dfe2da52749b2c64ae32
x86, dmar: use atomic allocations for QI and Intr-remapping init

Impact: invalid use of GFP_KERNEL in interrupt context

Queued invalidation and interrupt-remapping will get initialized with
interrupts disabled (while enabling interrupt-remapping). So use
GFP_ATOMIC instead of GFP_KERNEL for memory alloacations.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
drivers/pci/dmar.c
drivers/pci/intr_remapping.c