summary refs log tree commit diff
path: root/arch/ia64
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2010-08-30 14:10:02 -0400
committerIngo Molnar <mingo@elte.hu>2010-08-31 08:06:10 +0200
commit7ac41ccf47d82569d26f34beab1dec92cc3b6347 (patch)
treefce67781199e2e9e392a025c5fd7c21b39c62346 /arch/ia64
parent6f44d0337cc54a46e83b4c8a6195607e78fff71d (diff)
downloadlinux-7ac41ccf47d82569d26f34beab1dec92cc3b6347.tar.gz
x86, iommu: Fix IOMMU_INIT alignment rules
This boot crash was observed:

 DMA-API: preallocated 32768 debug entries
 DMA-API: debugging enabled by kernel config
 BUG: unable to handle kernel paging request at 19da8955
 IP: [<f4ffffff>] 0xf4ffffff
 *pde = 00000000

The crux of the failure was that even if we did not use any
of the .iommu_table section, the linker would still insert it
in the vmlinux file. This patch fixes that and also fixes the
runtime crash where we would try to access the array.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Joerg Roedel <joerg.roedel@amd.com>
Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
LKML-Reference: <1283191802-25086-1-git-send-email-konrad.wilk@oracle.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/ia64')
0 files changed, 0 insertions, 0 deletions