Wei, Gang
2008-Jun-03 07:28 UTC
[Xen-devel] [PATCH]Improve HPET comparator reprog to prevent intr-near-missing case
HPET intr-near-missing means if the current counter value is too close to the comparator value to be reprogrammed the expected HPET intr may be missing. Linux kernel uses a mininal 48-hpet-ticks(~3.5us) distance to workaround this, but personal observation showed there is still failure case while delta=0xba (~13.5us). So choosing 20us as the MIN_DELTA_NS should be helpful to prevent near-missing from happening. local_irq_save/restore were used to avoid disturbance. (+ 2) was used as a final guard to avoid wrong judgement due to the real happened near-missing case. Signed-off-by: Wei Gang <gang.wei@intel.com> Signed-off-by: Tian Kevin <kevin.tian@intel.com> Jimmy _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Apparently Analagous Threads
- [PATCH] x86, hpet: check hpet existence
- Failure to boot, Debian squeeze with 4.0.1 hypervisor, timer problems?
- [PATCH 2/4] CPUIDLE: Avoid remnant LAPIC timer intr while force hpetbroadcast
- Bug#684334: xen-hypervisor-4.0-amd64: Does not complete boot of dom0 kernel, extremely slow boot from BIOS RAM map onwards
- [Patch 1/2] Add HPET emulation for HVM guest: add the HPET description table to ACPI