Skip to content

XIVE2 changes to support Group and Crowd operations

Michael Kowal qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest14 patches 16 repliesIn review
  2. v114 patches 14 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14ppc/xive2: Update NVP save/restore for group attributeshw/intc/xive2.c include/hw/ppc/xive2_regs.h+25 -81 reply
2/14ppc/xive: Rename ipb_to_pipr() to xive_ipb_to_pipr()hw/intc/xive.c include/hw/ppc/xive.h+18 -201 reply
2/14ppc/xive2: Add grouping level to notificationhw/intc/trace-events hw/intc/xive.c hw/intc/xive2.c +2 more+100 -491 reply
3/14ppc/xive2: Support group-matching when looking for targethw/intc/pnv_xive2.c hw/intc/xive.c hw/intc/xive2.c +2 more+114 -461 reply
3/14ppc/xive2: Add grouping level to notificationhw/intc/trace-events hw/intc/xive.c hw/intc/xive2.c +2 more+90 -531 reply
4/14ppc/xive2: Add undelivered group interrupt to backloghw/intc/pnv_xive2.c hw/intc/xive2.c hw/ppc/pnv.c +2 more+156 -150 replies
4/14ppc/xive2: Support group-matching when looking for targethw/intc/pnv_xive2.c hw/intc/xive.c hw/intc/xive2.c +2 more+118 -530 replies
5/14ppc/xive2: Add undelivered group interrupt to backloghw/intc/pnv_xive2.c hw/intc/xive2.c hw/ppc/pnv.c +2 more+159 -161 reply
5/14ppc/xive2: Process group backlog when pushing an OS contexthw/intc/xive2.c+97 -30 replies
6/14ppc/xive2: Process group backlog when pushing an OS contexthw/intc/xive2.c+97 -00 replies
6/14ppc/xive2: Process group backlog when updating the CPPRhw/intc/xive.c hw/intc/xive2.c include/hw/ppc/xive2.h+177 -40 replies
7/14qtest/xive: Add group-interrupt testtests/qtest/pnv-xive2-test.c+160 -00 replies
7/14ppc/xive2: Process group backlog when updating the CPPRhw/intc/xive.c hw/intc/xive2.c include/hw/ppc/xive2.h+177 -41 reply
8/14Add support for MMIO operations on the NVPG/NVC BARhw/intc/pnv_xive2.c hw/intc/trace-events hw/intc/xive2.c +6 more+329 -150 replies
8/14qtest/xive: Add group-interrupt testtests/qtest/pnv-xive2-test.c+160 -01 reply
9/14ppc/xive2: Support crowd-matching when looking for targethw/intc/pnv_xive.c hw/intc/pnv_xive2.c hw/intc/spapr_xive.c +6 more+105 -460 replies
9/14ppc/xive2: Add support for MMIO operations on the NVPG/NVC BARhw/intc/pnv_xive2.c hw/intc/trace-events hw/intc/xive2.c +6 more+329 -151 reply
10/14ppc/xive2: Support crowd-matching when looking for targethw/intc/pnv_xive.c hw/intc/pnv_xive2.c hw/intc/spapr_xive.c +6 more+131 -521 reply
10/14ppc/xive2: Check crowd backlog when scanning group backloghw/intc/xive2.c include/hw/ppc/xive2_regs.h+60 -260 replies
11/14pnv/xive: Only support crowd size of 0, 2, 4 and 16hw/intc/xive.c+20 -11 reply
11/14ppc/xive2: Check crowd backlog when scanning group backloghw/intc/xive2.c include/hw/ppc/xive2_regs.h+60 -261 reply
12/14pnv/xive: Support ESB Escalationhw/intc/xive2.c include/hw/ppc/xive2.h include/hw/ppc/xive2_regs.h+58 -171 reply
13/14pnv/xive: Fix problem with treating NVGC as a NVPhw/intc/xive2.c+39 -391 reply
14/14qtest/xive: Add test of pool interruptstests/qtest/pnv-xive2-flush-sync.c tests/qtest/pnv-xive2-nvpg_bar.c tests/qtest/pnv-xive2-test.c+94 -171 reply

Reviews trailers per patch

18 of 24 patches have a Reviewed-by or Acked-by.

PatchNicholas Piggin
1/14R-b
2/14R-b R-b
2/14R-b R-b
3/14R-b
3/14R-b
4/14
4/14
5/14R-b
5/14R-b
6/14
6/14
7/14R-b
7/14R-b
8/14R-b
8/14R-b
9/14R-b
9/14R-b
10/14R-b
10/14R-b
11/14R-b
11/14R-b
12/14
13/14
14/14R-b

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

Read the v2 thread

Cover letter [PATCH v2 00/14] XIVE2 changes to support Group and Crowd operations

XIVE2 has the concepts of a Group of interrupts and a Crowd of interrupts (where a crowd is a group of Groups). These patch sets are associated with:
- NVGC tables
- Group/Crowd level notification
- Incrementing backlog countets
- Backlog processing
- NVPG and NVC Bar MMIO operations
- Group/Crowd testing
- ESB Escalation
- Pool interrupt testing

version 2:
- Removed printfs from test models and replaced with g_test_message()
- Updated XIVE copyrights to use:
SPDX-License-Identifier: GPL-2.0-or-later
- Set entire NSR to 0, not just fields
- Moved rename of xive_ipb_to_pipr() into its own patch set 0002
- Rename xive2_presenter_backlog_check() to xive2_presenter_backlog_scan()
- Squash patch set 11 (crowd size restrictions) into
patch set 9 (support crowd-matching)
- Made xive2_notify() a static rou

Frederic Barrat (10):
ppc/xive2: Update NVP save/restore for group attributes ppc/xive2: Add grouping level to notification ppc/xive2: Support group-matching when looking for target ppc/xive2: Add undelivered group interrupt to backlog ppc/xive2: Process group backlog when pushing an OS context ppc/xive2: Process group backlog when updating the CPPR qtest/xive: Add group-interrupt test
ppc/xive2: Add support for MMIO operations on the NVPG/NVC BAR ppc/xive2: Support crowd-matching when looking for target ppc/xive2: Check crowd backlog when scanning group backlog

Glenn Miles (3):
pnv/xive: Support ESB Escalation pnv/xive: Fix problem with treating NVGC as a NVP qtest/xive: Add test of pool interrupts

Michael Kowal (1):
ppc/xive: Rename ipb_to_pipr() to xive_ipb_to_pipr()

 include/hw/ppc/xive.h              |  41 +-
 include/hw/ppc/xive2.h             |  25 +-
 include/hw/ppc/xive2_regs.h        |  30 +-
 include/hw/ppc/xive_regs.h         |  25 +-
 tests/qtest/pnv-xive2-common.h     |   1 +
 hw/intc/pnv_xive.c                 |  10 +-
 hw/intc/pnv_xive2.c                | 166 +++++--
 hw/intc/spapr_xive.c               |   8 +-
 hw/intc/xive.c                     | 200 +++++---
 hw/intc/xive2.c                    | 750 +++++++++++++++++++++++++----
 hw/ppc/pnv.c                       |  35 +-
 hw/ppc/spapr.c                     |   7 +-
 tests/qtest/pnv-xive2-flush-sync.c |   6 +-
 tests/qtest/pnv-xive2-nvpg_bar.c   | 153 ++++++
 tests/qtest/pnv-xive2-test.c       | 249 +++++++++-
 hw/intc/trace-events               |   6 +-
 tests/qtest/meson.build            |   3 +-
 17 files changed, 1475 insertions(+), 240 deletions(-)
 create mode 100644 tests/qtest/pnv-xive2-nvpg_bar.c
Signature · 1 line
2.43.0