]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/amd: Work around wrong IOAPIC device-id in IVRS table
authorJoerg Roedel <joerg.roedel@amd.com>
Tue, 16 Oct 2012 12:52:51 +0000 (14:52 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Tue, 16 Oct 2012 12:52:51 +0000 (14:52 +0200)
commitfa5469e7452530b777db128f485293c8a56816b0
tree2ec5e407ddd6cd4bb563b41f8c7d5026c4a3358c
parent1347743ab85deacc11378ae9a8eddeeaf6e10b63
iommu/amd: Work around wrong IOAPIC device-id in IVRS table

On some systems the BIOS puts the wrong device-id for the
IO-APIC into the IVRS table. The result is that interrupt
remapping is not working for the IO-APIC irqs. This usually
means a kernel panic at boot because the timer is not
working.
Fix this kernel panic by disabling interrupt remapping if
this problem is discovered in the IVRS table.

Reported-by: Andrew Oakley <andrew@ado.is-a-geek.net>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/amd_iommu_init.c