Skip to content

Linux: FIFO-based event channel ABI

David Vrabel xen-devel 17 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 posting 2/22 patches 7 repliesIn review
  2. v6 posting 3/30 of 1 patch 0 repliesSuperseded
  3. v5 posting 3/32 patches 4 repliesSuperseded
Earlier versions · 14
VersionPostedPatchesRepliesStatus
v4 posting 2/22 patches3 repliesSuperseded
v9 Latest16 patches0 repliesNew
v3 posting 2/22 patches6 repliesSuperseded
v816 patches0 repliesSuperseded
v2 posting 2/23 patches21 repliesSuperseded
v7 posting 1/216 patches5 repliesSuperseded
v6 posting 2/316 patches21 repliesSuperseded
v6 posting 1/311 patches4 repliesSuperseded
v5 posting 2/316 patches4 repliesSuperseded
v5 posting 1/311 patches9 repliesSuperseded
v4 posting 1/211 patches11 repliesSuperseded
v3 posting 1/211 patches10 repliesSuperseded
v2 RFC posting 1/212 patches7 repliesSuperseded
v1 RFC8 patches19 repliesSuperseded

Changes in v9 from the cover letter

- Updates for draft H: spin on BUSY when unmasking.

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16xen/events: refactor retrigger_dynirq() and resend_irq_on_evtchn()drivers/xen/events.c+9 -180 replies
2/16xen/events: remove unnecessary init_evtchn_cpu_bindings()drivers/xen/events.c+0 -220 replies
3/16xen/events: introduce test_and_set_mask()drivers/xen/events.c+8 -30 replies
4/16xen/events: replace raw bit ops with functionsdrivers/xen/events.c+1 -20 replies
5/16xen/events: move drivers/xen/events.c into drivers/xen/events/drivers/xen/Makefile drivers/xen/events/Makefile drivers/xen/events/events_base.c+5 -10 replies
6/16xen/events: move 2-level specific code into its own filedrivers/xen/events/Makefile drivers/xen/events/events_2l.c drivers/xen/events/events_base.c +2 more+442 -3620 replies
7/16xen/events: add struct evtchn_ops for the low-level port operationsdrivers/xen/events/events_2l.c drivers/xen/events/events_base.c drivers/xen/events/events_internal.h+84 -160 replies
8/16xen/events: allow setup of irq_info to faildrivers/xen/events/events_base.c+91 -650 replies
9/16xen/events: add a evtchn_op for port setupdrivers/xen/events/events_base.c drivers/xen/events/events_internal.h+13 -10 replies
10/16xen/events: Refactor evtchn_to_irq array to be dynamically allocateddrivers/xen/events/events_2l.c drivers/xen/events/events_base.c drivers/xen/events/events_internal.h+149 -550 replies
11/16xen/events: add xen_evtchn_mask_all()drivers/xen/events/events_base.c+11 -70 replies
12/16xen/evtchn: support more than 4096 portsdrivers/xen/events/events_base.c drivers/xen/events/events_internal.h drivers/xen/evtchn.c +1 more+16 -60 replies
13/16xen/events: Add the hypervisor interface for the FIFO-based event channelsdrivers/xen/events/events_2l.c include/xen/interface/event_channel.h include/xen/interface/xen.h+72 -100 replies
14/16xen/events: allow event channel priority to be setdrivers/xen/events/events_base.c include/xen/events.h+22 -00 replies
15/16xen/x86: set VIRQ_TIMER priority to maximumarch/x86/xen/time.c+1 -00 replies
16/16xen/events: use the FIFO-based ABI if availabledrivers/xen/events/Makefile drivers/xen/events/events_base.c drivers/xen/events/events_fifo.c +1 more+448 -10 replies

Reviews trailers per patch

All 16 patches have a Reviewed-by or Acked-by.

PatchKonrad Rzeszutek WilkBoris Ostrovsky
1/16R-b R-b
2/16R-b R-b
3/16R-b R-b
4/16R-b R-b
5/16R-b R-b
6/16R-b R-b
7/16R-b R-b
8/16R-b R-b
9/16R-b R-b
10/16R-b R-b
11/16R-b R-b
12/16R-b R-b
13/16R-b R-b
14/16R-b R-b
15/16R-b R-b
16/16R-b R-b

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

Read the v9 thread

Cover letter [PATCHv9 00/16] Linux: FIFO-based event channel ABI

This is the complete Linux guest-side implementation of the FIFO-based event channel ABI described in this design document:

http://xenbits.xen.org/people/dvrabel/event-channels-H.pdf

The Xen implementation is now available in xen-unstable, except for the updates for draft H.

This series is also available from:

git://xenbits.xen.org/people/dvrabel/linux.git orochi-v9

Changes in v9:

- Updates for draft H: spin on BUSY when unmasking.

Changes in v8:

- Updates for draft G: use unmask hypercall for tail events.

Changes in v7:

- Add xen.fifo_events command line option (defaults to true).
- Use xen_evtchn_nr_channels() in xen_evtchn driver.
- Drop unnecessary test in evtchn_fifo_unmask()
- Refactor irq_info setup/cleanup a bit.

Changes in v6:

- nlevel -> 2l to match naming in Xen.

Changes in v5 (v4 not posted):

- Set priority of VIRQ_TIMER.
- Remove NR_EVENT_CHANNELS limit from xen-evtchn driver.
- Licence drivers/xen/events/fifo.c under a dual MIT/GPLv2.

Changes in v3:

- Support suspend/resume by reinitializing the control blocks on resume.
- Only init control block if one does not exist (should fix CPU hotplug).