projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
218d11a
)
AMD IOMMU: fix iommu_map_page function
author
Joerg Roedel
<joerg.roedel@amd.com>
Thu, 4 Dec 2008 14:59:48 +0000
(15:59 +0100)
committer
Joerg Roedel
<joerg.roedel@amd.com>
Mon, 8 Dec 2008 13:58:07 +0000
(14:58 +0100)
Impact: bugfix in iommu_map_page function
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
arch/x86/kernel/amd_iommu.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/amd_iommu.c
b/arch/x86/kernel/amd_iommu.c
index 5662e226b0c922c1d2622e9173687bd6285b3e52..67970a8c2ee9aad2a5716991bab528ad53de3e3b 100644
(file)
--- a/
arch/x86/kernel/amd_iommu.c
+++ b/
arch/x86/kernel/amd_iommu.c
@@
-344,7
+344,7
@@
static int iommu_map(struct protection_domain *dom,
u64 __pte, *pte, *page;
bus_addr = PAGE_ALIGN(bus_addr);
- phys_addr = PAGE_ALIGN(
bu
s_addr);
+ phys_addr = PAGE_ALIGN(
phy
s_addr);
/* only support 512GB address spaces for now */
if (bus_addr > IOMMU_MAP_SIZE_L3 || !(prot & IOMMU_PROT_MASK))