Skip to content

x86/HPET: broadcast IRQ and other improvements

Jan Beulich xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest9 patches 9 repliesIn review
  2. v29 patches 16 repliesSuperseded
  3. v110 patches 30 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9x86/HPET: deal with unused channelsxen/arch/x86/hpet.c+3 -71 reply
2/9x86/HPET: use single, global, low-priority vector for broadcast IRQxen/arch/x86/hpet.c xen/arch/x86/include/asm/hpet.h xen/arch/x86/include/asm/irq-vectors.h +4 more+92 -186 replies
3/9x86/HPET: replace handle_hpet_broadcast()'s on-stack cpumask_txen/arch/x86/hpet.c xen/arch/x86/include/asm/smp.h xen/arch/x86/smpboot.c+12 -42 replies
4/9x86/HPET: avoid indirect call to event handlerxen/arch/x86/hpet.c+7 -50 replies
5/9x86/HPET: make another channel flags update atomicxen/arch/x86/hpet.c+1 -10 replies
6/9x86/HPET: move legacy tick IRQ count adjustmentxen/arch/x86/hpet.c+2 -20 replies
7/9x86/HPET: reduce hpet_next_event() call sitesxen/arch/x86/hpet.c+4 -60 replies
8/9x86/HPET: drop "long timeout" handling from reprogram_hpet_evt_channel()xen/arch/x86/hpet.c+0 -70 replies
9/9x86/HPET: simplify "expire" check a little in reprogram_hpet_evt_channel()xen/arch/x86/hpet.c+2 -20 replies

Reviews trailers per patch

3 of 9 patches have a Reviewed-by or Acked-by.

PatchOleksii KurochkoRoger Pau Monné
1/9Release-Acked-by R-b
2/9Release-Acked-by R-b
3/9Release-Acked-By R-b
4/9
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 for-4.21 0/9] x86/HPET: broadcast IRQ and other improvements

While 1db7829e5657 ("x86/hpet: do local APIC EOI after interrupt processing") helped quite a bit, nested interrupts could still occur. First and foremost as a result of IRQ migration (where we don't have any control over the vectors chosen). Hence besides reducing the number of IRQs that can be raised (first patch), the main goal here is to eliminate the potential for nested IRQs (patch 2). These patches are imo 4.21 candidates. Patches 3 and onwards likely aren't important enough anymore at this point of the release cycle, even if those with a Fixes: tag may end up being backported later on.

v3 has again a fair bit of rework of (not only) the "main" patch. See individual patches for details.

1: deal with unused channels
2: use single, global, low-priority vector for broadcast IRQ 3: replace handle_hpet_broadcast()'s on-stack cpumask_t 4: avoid indirect call to event handler
5: make another channel flags update atomic
6: move legacy tick IRQ count adjustment
7: reduce hpet_next_event() call sites
8: drop "long timeout" handling from reprogram_hpet_evt_channel() 9: simplify "expire" check a little in reprogram_hpet_evt_channel()

Jan