Linux depends on an ACPI BIOS to provide configuration for the HPET. The net6501 does not support ACPI, so Linux does not use the HPET.

However, I've created a patch (attached) for Linux 3.2 that enables HPET on the net6501. I've been running with this patch for several months and have no problems.

-Peter

On 3/10/2012 3:30 AM, George wrote:
I tried Debian/Ubuntu with different kernels 2.6.32 and 2.6.38 on net6501-70 BIOS 1.41a. All do not detect the HPET.

Kernel timer interrupt frequency is approx. 1000 Hz instead of 4000 Hz or higher with LowLatency kernel. Same kernels on other motherboards work fine.

cat /proc/timer_list does not list hpet and shows
.resolution: 999848 nsecs instead of 1 nsecs

--- linux-3.2-rc4/arch/x86/kernel/quirks.c      2011-12-01 14:56:01.000000000 
-0800
+++ patched_quirks.c    2011-12-30 10:00:43.000000000 -0800
@@ -508,6 +508,20 @@
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_SBX00_SMBUS,
                         force_disable_hpet_msi);
 
+
+static void e6xx_force_enable_hpet(struct pci_dev *dev)
+{
+       if (hpet_address || force_hpet_address)
+               return;
+
+       force_hpet_address = 0xfed00000;
+       force_hpet_resume_type = NONE_FORCE_HPET_RESUME;
+       dev_printk(KERN_DEBUG, &dev->dev, "Force enabled HPET at "
+               "0x%lx\n", force_hpet_address);
+}
+
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x8183, e6xx_force_enable_hpet);
+
 #endif
 
 #if defined(CONFIG_PCI) && defined(CONFIG_NUMA)
_______________________________________________
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to