]> bbs.cooldavid.org Git - net-next-2.6.git/commit
x86/amd-iommu: Fix initialization failure panic
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 21 Dec 2009 14:51:23 +0000 (15:51 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Mon, 21 Dec 2009 14:51:23 +0000 (15:51 +0100)
commit0f764806438d5576ac58898332e5dcf30bb8a679
tree145941130f4714e845e5932085ff76aa45c42dd7
parent55639353a0035052d9ea6cfe4dde0ac7fcbb2c9f
x86/amd-iommu: Fix initialization failure panic

The assumption that acpi_table_parse passes the return value
of the hanlder function to the caller proved wrong
recently. The return value of the handler function is
totally ignored. This makes the initialization code for AMD
IOMMU buggy in a way that could cause a kernel panic on
initialization. This patch fixes the issue in the AMD IOMMU
driver.

Cc: stable@kernel.org
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
arch/x86/kernel/amd_iommu_init.c