]> git.baikalelectronics.ru Git - kernel.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)
commit81da846d2f35b2bcae53dc67458c240d33a15d3b
tree145941130f4714e845e5932085ff76aa45c42dd7
parent65bae8948c986836164730d684f472bfe5ab6578
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