projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0906372
)
x86, AMD IOMMU: fix device table entry size
author
Joerg Roedel
<joerg.roedel@amd.com>
Fri, 11 Jul 2008 15:14:34 +0000
(17:14 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Fri, 11 Jul 2008 16:01:17 +0000
(18:01 +0200)
A device table entry is actually only 256 *bits* large. Not 256 bytes.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Cc: iommu@lists.linux-foundation.org
Cc: bhavna.sarathy@amd.com
Cc: robert.richter@amd.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/amd_iommu_types.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-x86/amd_iommu_types.h
b/include/asm-x86/amd_iommu_types.h
index 14aaffe38fe5643c29eb90c7b8f0b93fd0e676c5..2e8601b0f006367fb88d67a6e68b0a6bc6c7d925 100644
(file)
--- a/
include/asm-x86/amd_iommu_types.h
+++ b/
include/asm-x86/amd_iommu_types.h
@@
-27,7
+27,7
@@
/*
* some size calculation constants
*/
-#define DEV_TABLE_ENTRY_SIZE
256
+#define DEV_TABLE_ENTRY_SIZE
32
#define ALIAS_TABLE_ENTRY_SIZE 2
#define RLOOKUP_TABLE_ENTRY_SIZE (sizeof(void *))