Skip to content

RFC Using HPET in MSI mode and setting up per CPU HPET timers

[email protected] lkml 1 version Applied

Status from this message: applied to tip/timers/hpet-percpu, thanks Venki!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4x86: HPET_MSI change IRQ affinity in process context when it is disabledkernel/irq/manage.c+2 -10 replies
2/4x86: HPET_MSI Refactor code in preparation for HPET_MSIarch/x86/kernel/hpet.c+27 -150 replies
3/4x86: HPET_MSI Basic HPET_MSI setup codearch/x86/kernel/hpet.c arch/x86/kernel/io_apic.c include/asm-x86/hpet.h+139 -00 replies
4/4x86: HPET_MSI Initialise per-cpu HPET timersarch/x86/kernel/hpet.c+291 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/4] Using HPET in MSI mode and setting up per CPU HPET timers

Patchset that uses HPET timers in MSI mode (when supported) and sets up per CPU HPET timers. This removes the dependency on IRQ0 timer broadcast with LAPIC stopping in deep C-state, on platforms that support HPET MSI mode.

On my test system with dual core CPU, the number of timer related interrupts (HPET_MSI + IRQ0 + LAPIC) comes down from 180 to 95 over a period of 10s, with these patches.
This is on an idle system with tickless enabled and when system is idle.

Patches against tip.