public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] enable readback to get HPET working on ATI SB4x00, kernel 2.6.35_rc5
@ 2010-07-14 15:55 Stephan Wolf
  2010-07-14 16:13 ` Linus Torvalds
  0 siblings, 1 reply; 13+ messages in thread
From: Stephan Wolf @ 2010-07-14 15:55 UTC (permalink / raw)
  To: linux-kernel; +Cc: torvalds, tglx

  After commit 30a564be9d9554c168a654eddc2165869cc0d7bf 
"x86, hpet: Restrict read back to affected ATI chipsets" hpet did not 
work anymore on HP nx6325. The machine hangs on booting until a 
keystroke was taken. After a short time machine hangs again until next 
keystroke. Applying the following patch solves the issue for me.

diff --git a/arch/x86/kernel/quirks.c b/arch/x86/kernel/quirks.c
index e72d3fc..8d28924 100644
--- a/arch/x86/kernel/quirks.c
+++ b/arch/x86/kernel/quirks.c
@@ -408,6 +408,7 @@ static void ati_force_enable_hpet(struct pci_dev *dev)
      dev_printk(KERN_DEBUG, &dev->dev, "Force enabled HPET at 0x%lx\n",
             force_hpet_address);
      cached_dev = dev;
+    hpet_readback_cmp = 1;
  }
  DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATI, 
PCI_DEVICE_ID_ATI_IXP400_SMBUS,
               ati_force_enable_hpet);

Signed-off-by: Stephan Wolf <stephan@letzte-bankreihe.de>

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-07-15 15:13 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-14 15:55 [PATCH] enable readback to get HPET working on ATI SB4x00, kernel 2.6.35_rc5 Stephan Wolf
2010-07-14 16:13 ` Linus Torvalds
2010-07-14 16:40   ` Stephan Wolf
2010-07-14 18:11   ` Borislav Petkov
2010-07-14 18:17     ` Linus Torvalds
2010-07-14 18:32       ` Borislav Petkov
2010-07-14 21:04         ` Thomas Gleixner
2010-07-15  7:06           ` Stephan Wolf
2010-07-15  8:22             ` Thomas Gleixner
2010-07-15 10:02               ` Borislav Petkov
2010-07-15 15:12           ` [tip:x86/urgent] x86: Force HPET readback_cmp for all ATI chipsets tip-bot for Thomas Gleixner
2010-07-14 19:32       ` [PATCH] enable readback to get HPET working on ATI SB4x00, kernel 2.6.35_rc5 Thomas Gleixner
2010-07-14 19:30   ` Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox