Skip to content

ocxl: Cleanup AFU interrupt allocation

Frederic Barrat linuxppc-dev 2 versions – Applied

Status from this message: Applied to powerpc/next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 5 repliesApplied
  2. v14 patches 9 repliesSuperseded

Changes in v2 from the cover letter

Fix error path in patch 1
All other patches unchanged

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4scsi: cxlflash: Access interrupt trigger page from xive directlydrivers/scsi/cxlflash/ocxl_hw.c drivers/scsi/cxlflash/ocxl_hw.h+8 -112 replies
2/4ocxl: Access interrupt trigger page from xive directlydrivers/misc/ocxl/afu_irq.c+6 -20 replies
3/4ocxl: Don't return trigger page when allocating an interruptdrivers/misc/ocxl/Kconfig drivers/misc/ocxl/afu_irq.c drivers/misc/ocxl/link.c +2 more+12 -221 reply
4/4ocxl: Remove custom service to allocate interruptsarch/powerpc/include/asm/pnv-ocxl.h arch/powerpc/platforms/powernv/ocxl.c+0 -331 reply

Reviews trailers per patch

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

PatchCédric Le GoaterGreg KurzAndrew DonnellanMatthew R. Ochs
1/4R-b A-b
2/4R-b R-b A-b
3/4R-b R-b A-b
4/4R-b R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/4] ocxl: Cleanup AFU interrupt allocation

Short series to cleanup AFU interrupt allocation for opencapi. Current code was using its own allocation service, calling opal directly to get the trigger page. This is not needed and we can use xive to achieve the same thing. The only caveat is that the trigger page address is only valid after the interrupt has been mapped, but that is not a problem with the way the code is using it. No functional change.

Changelog:
v2:
Fix error path in patch 1
All other patches unchanged

Frederic Barrat (4):
scsi: cxlflash: Access interrupt trigger page from xive directly
ocxl: Access interrupt trigger page from xive directly
ocxl: Don't return trigger page when allocating an interrupt
ocxl: Remove custom service to allocate interrupts

 arch/powerpc/include/asm/pnv-ocxl.h   |  3 ---
 arch/powerpc/platforms/powernv/ocxl.c | 30 ---------------------------
 drivers/misc/ocxl/Kconfig             |  2 +-
 drivers/misc/ocxl/afu_irq.c           | 12 ++++++-----
 drivers/misc/ocxl/link.c              | 15 +++++++-------
 drivers/scsi/cxlflash/ocxl_hw.c       | 21 ++++++++-----------
 drivers/scsi/cxlflash/ocxl_hw.h       |  1 -
 include/misc/ocxl.h                   | 10 ++-------
 8 files changed, 26 insertions(+), 68 deletions(-)
Signature · 1 line
2.25.1