projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb51637
)
iommu/amd: Fix pci_request_acs() call-place
author
Joerg Roedel
<joerg.roedel@amd.com>
Mon, 6 Aug 2012 12:18:42 +0000
(14:18 +0200)
committer
Joerg Roedel
<joerg.roedel@amd.com>
Mon, 6 Aug 2012 16:07:43 +0000
(18:07 +0200)
The pci_request_acs() function needs to be called before PCI
probing to be effective. So move it to another call-place to
ensure that.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/amd_iommu_init.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/amd_iommu_init.c
b/drivers/iommu/amd_iommu_init.c
index 500e7f15f5c266043d5d2bdc27a04f489595be79..0a2ea317120a3763212586f97c2773b5a8c03b03 100644
(file)
--- a/
drivers/iommu/amd_iommu_init.c
+++ b/
drivers/iommu/amd_iommu_init.c
@@
-1131,9
+1131,6
@@
static int __init amd_iommu_init_pci(void)
break;
}
- /* Make sure ACS will be enabled */
- pci_request_acs();
-
ret = amd_iommu_init_devices();
print_iommu_info();
@@
-1652,6
+1649,9
@@
static bool detect_ivrs(void)
early_acpi_os_unmap_memory((char __iomem *)ivrs_base, ivrs_size);
+ /* Make sure ACS will be enabled during PCI probe */
+ pci_request_acs();
+
return true;
}