]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] x86-64: robustify bad_dma_address handling
authorMuli Ben-Yehuda <muli@il.ibm.com>
Tue, 13 Feb 2007 12:26:24 +0000 (13:26 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 13 Feb 2007 12:26:24 +0000 (13:26 +0100)
commit310adfdd9153f6ae818981a38a48dd2330990d8d
tree6c093730e11bcfe96368db6af86a43e2c4a9abc6
parent2fa8a050a0026eadbb39a2f281011991e00fe29a
[PATCH] x86-64: robustify bad_dma_address handling

- set bad_dma_address explicitly to 0x0
- reserve 32 pages from bad_dma_address and up
- WARN_ON() a driver feeding us bad_dma_address

Thanks to Leo Duran <leo.duran@amd.com> for the suggestion.

Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Leo Duran <leo.duran@amd.com>
Cc: Job Mason <jdmason@kudzu.us>
arch/x86_64/kernel/pci-calgary.c