Commit 6f3814cd2fb5ea4d53a7fa5b0635d68fa4036c1b

Authored by Andi Kleen
Committed by Linus Torvalds
1 parent 73dea47fae

[PATCH] x86_64: Automatically enable apicmaintimer on ATI boards

They all have problems with IRQ 0 routing, so just use the APIC on them.

Can be overwritten with "noapicmaintimer"

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Showing 1 changed file with 8 additions and 0 deletions Side-by-side Diff

arch/x86_64/kernel/io_apic.c
... ... @@ -304,6 +304,14 @@
304 304 #endif
305 305 /* RED-PEN skip them on mptables too? */
306 306 return;
  307 + case PCI_VENDOR_ID_ATI:
  308 + if (apic_runs_main_timer != 0)
  309 + break;
  310 + printk(KERN_INFO
  311 + "ATI board detected. Using APIC/PM timer.\n");
  312 + apic_runs_main_timer = 1;
  313 + nohpet = 1;
  314 + return;
307 315 }
308 316  
309 317 /* No multi-function device? */