projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1119030
)
iommu/vt-d: Convert allocations to GFP_KERNEL
author
Thomas Gleixner
<tglx@linutronix.de>
Wed, 7 Jan 2015 07:31:30 +0000
(15:31 +0800)
committer
Thomas Gleixner
<tglx@linutronix.de>
Thu, 15 Jan 2015 10:24:22 +0000
(11:24 +0100)
No reason anymore to do GFP_ATOMIC allocations which are not harmful
in the normal bootup case, but matter in the physical hotplug
scenario.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Borislav Petkov <bp@alien8.de>
Acked-and-tested-by: Joerg Roedel <joro@8bytes.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: iommu@lists.linux-foundation.org
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: x86@kernel.org
Link:
http://lkml.kernel.org/r/20141205084147.472428339@linutronix.de
Link:
http://lkml.kernel.org/r/1420615903-28253-4-git-send-email-jiang.liu@linux.intel.com
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/iommu/intel_irq_remapping.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iommu/intel_irq_remapping.c
b/drivers/iommu/intel_irq_remapping.c
index 2360cb6a8896a258d79518c29caba9b2e001ce1f..1e7e093277533a8637582e0285ae452cf5751364 100644
(file)
--- a/
drivers/iommu/intel_irq_remapping.c
+++ b/
drivers/iommu/intel_irq_remapping.c
@@
-481,11
+481,11
@@
static int intel_setup_irq_remapping(struct intel_iommu *iommu)
if (iommu->ir_table)
return 0;
- ir_table = kzalloc(sizeof(struct ir_table), GFP_
ATOMIC
);
+ ir_table = kzalloc(sizeof(struct ir_table), GFP_
KERNEL
);
if (!ir_table)
return -ENOMEM;
- pages = alloc_pages_node(iommu->node, GFP_
ATOMIC
| __GFP_ZERO,
+ pages = alloc_pages_node(iommu->node, GFP_
KERNEL
| __GFP_ZERO,
INTR_REMAP_PAGE_ORDER);
if (!pages) {