cxl: Remove abandonned capi support for the Mellanox CX4
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest10 patches 11 repliesIn review
- v110 patches 2 repliesSuperseded
Changelog from the cover letter
v2: add missing signed-offs for the revert patches
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | Revert "cxl: Add kernel API to allow a context to operate with relocate disabled"drivers/ drivers/ drivers/ +2 more | +2 | 2 replies | |
| 2/10 | Revert "cxl: Add support for interrupts on the Mellanox CX4"arch/ arch/ arch/ +5 more | +0 | 1 reply | |
| 3/10 | Revert "cxl: Add preliminary workaround for CX4 interrupt limitation"drivers/ drivers/ drivers/ +3 more | +0 | 1 reply | |
| 4/10 | Revert "cxl: Add kernel APIs to get & set the max irqs per context"drivers/ | +0 | 1 reply | |
| 5/10 | Revert "cxl: Add cxl_check_and_switch_mode() API to switch bi-modal cards"drivers/ drivers/ include/ | +18 | 1 reply | |
| 6/10 | Revert "cxl: Add support for using the kernel API with a real PHB"drivers/ drivers/ | +2 | 1 reply | |
| 7/10 | Revert "powerpc/powernv: Add support for the cxl kernel api on the real phb"arch/ arch/ arch/ +1 more | +1 | 1 reply | |
| 8/10 | Revert "cxl: Add cxl_slot_is_supported API"drivers/ include/ | +0 | 1 reply | |
| 9/10 | Revert "cxl: Allow a default context to be associated with an external pci_dev"drivers/ drivers/ drivers/ +4 more | +28 | 1 reply | |
| 10/10 | cxl: Remove abandonned capi support for the Mellanox CX4, final cleanupdrivers/ drivers/ drivers/ +1 more | +7 | 1 reply |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by.
| Patch | Andrew Donnellan |
|---|---|
| 1/10 | A-b |
| 2/10 | A-b |
| 3/10 | A-b |
| 4/10 | A-b |
| 5/10 | A-b |
| 6/10 | A-b |
| 7/10 | A-b |
| 8/10 | A-b |
| 9/10 | A-b |
| 10/10 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/10] cxl: Remove abandonned capi support for the Mellanox CX4
An attempt was made to add capi support for the Mellanox CX4 card, so that it could operate in "traditional" PCI mode or capi mode. The project ended up being canceled and a different approach was taken for CX5. Mellanox never upstreamed any capi support in their CX4 driver.
CX4 was not following exactly the CAIA 1.0 model, so some CX4-specific code was added. That code is now dead and hasn't been tested for a while, so it's probably broken anyway. Let's remove it. It has been agreed with engineers at Mellanox, of course.
No user API is affected. Some (unused) symbols exported by cxl are removed.
Most of the patch set consists of reverts of older patches, with sometimes very minor tweaking. The last patch aggregates a few changes where reverting was not possible easily.
Tests run to prevent regressions:
- memcpy tests on POWER8 and POWER9 - Mellanox CX5, which uses a different code path, based on cxllib - cxlflash tests on POWER8
Changelog:
v2: add missing signed-offs for the revert patches
Alastair D'Silva (7):
Revert "cxl: Add kernel API to allow a context to operate with
relocate disabled"
Revert "cxl: Add support for interrupts on the Mellanox CX4" Revert "cxl: Add preliminary workaround for CX4 interrupt limitation" Revert "cxl: Add kernel APIs to get & set the max irqs per context" Revert "cxl: Add cxl_check_and_switch_mode() API to switch bi-modal
cards"
Revert "cxl: Add support for using the kernel API with a real PHB" Revert "powerpc/powernv: Add support for the cxl kernel api on the
real phb"
Frederic Barrat (3):
Revert "cxl: Add cxl_slot_is_supported API"
Revert "cxl: Allow a default context to be associated with an external
pci_dev"
cxl: Remove abandonned capi support for the Mellanox CX4, final
cleanup
arch/powerpc/include/asm/pnv-pci.h | 7 - arch/powerpc/platforms/powernv/pci-cxl.c | 199 ------------ arch/powerpc/platforms/powernv/pci-ioda.c | 22 +- arch/powerpc/platforms/powernv/pci.h | 15 - drivers/misc/cxl/Kconfig | 8 - drivers/misc/cxl/Makefile | 2 +- drivers/misc/cxl/api.c | 132 -------- drivers/misc/cxl/base.c | 83 ----- drivers/misc/cxl/context.c | 3 +- drivers/misc/cxl/cxl.h | 33 -- drivers/misc/cxl/debugfs.c | 5 - drivers/misc/cxl/guest.c | 3 - drivers/misc/cxl/main.c | 5 - drivers/misc/cxl/native.c | 3 +- drivers/misc/cxl/pci.c | 351 ++-------------------- drivers/misc/cxl/phb.c | 44 --- drivers/misc/cxl/vphb.c | 46 +-- include/misc/cxl-base.h | 10 - include/misc/cxl.h | 68 ----- 19 files changed, 58 insertions(+), 981 deletions(-) delete mode 100644 drivers/misc/cxl/phb.c
Signature · 1 line
2.17.1