linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Frederic Barrat <fbarrat@linux.ibm.com>
To: alastair@au1.ibm.com, andrew.donnellan@au1.ibm.com,
	vaibhav@linux.ibm.com, clombard@linux.ibm.com,
	felix@linux.ibm.com, linuxppc-dev@lists.ozlabs.org
Cc: huyn@mellanox.com
Subject: [PATCH v2 00/10] cxl: Remove abandonned capi support for the Mellanox CX4
Date: Thu, 28 Jun 2018 12:04:59 +0200	[thread overview]
Message-ID: <20180628100509.17413-1-fbarrat@linux.ibm.com> (raw)

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

-- 
2.17.1

             reply	other threads:[~2018-06-28 10:05 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-28 10:04 Frederic Barrat [this message]
2018-06-28 10:05 ` [PATCH v2 01/10] Revert "cxl: Add kernel API to allow a context to operate with relocate disabled" Frederic Barrat
2018-06-28 23:44   ` Andrew Donnellan
2018-07-11 13:24   ` [v2, " Michael Ellerman
2018-06-28 10:05 ` [PATCH v2 02/10] Revert "cxl: Add support for interrupts on the Mellanox CX4" Frederic Barrat
2018-06-28 23:45   ` Andrew Donnellan
2018-06-28 10:05 ` [PATCH v2 03/10] Revert "cxl: Add preliminary workaround for CX4 interrupt limitation" Frederic Barrat
2018-06-28 23:45   ` Andrew Donnellan
2018-06-28 10:05 ` [PATCH v2 04/10] Revert "cxl: Add kernel APIs to get & set the max irqs per context" Frederic Barrat
2018-06-28 23:48   ` Andrew Donnellan
2018-06-28 10:05 ` [PATCH v2 05/10] Revert "cxl: Add cxl_check_and_switch_mode() API to switch bi-modal cards" Frederic Barrat
2018-06-28 23:50   ` Andrew Donnellan
2018-06-28 10:05 ` [PATCH v2 06/10] Revert "cxl: Add support for using the kernel API with a real PHB" Frederic Barrat
2018-06-28 23:50   ` Andrew Donnellan
2018-06-28 10:05 ` [PATCH v2 07/10] Revert "powerpc/powernv: Add support for the cxl kernel api on the real phb" Frederic Barrat
2018-06-28 23:50   ` Andrew Donnellan
2018-06-28 10:05 ` [PATCH v2 08/10] Revert "cxl: Add cxl_slot_is_supported API" Frederic Barrat
2018-06-28 23:50   ` Andrew Donnellan
2018-06-28 10:05 ` [PATCH v2 09/10] Revert "cxl: Allow a default context to be associated with an external pci_dev" Frederic Barrat
2018-06-28 23:51   ` Andrew Donnellan
2018-06-28 10:05 ` [PATCH v2 10/10] cxl: Remove abandonned capi support for the Mellanox CX4, final cleanup Frederic Barrat
2018-06-28 23:53   ` Andrew Donnellan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180628100509.17413-1-fbarrat@linux.ibm.com \
    --to=fbarrat@linux.ibm.com \
    --cc=alastair@au1.ibm.com \
    --cc=andrew.donnellan@au1.ibm.com \
    --cc=clombard@linux.ibm.com \
    --cc=felix@linux.ibm.com \
    --cc=huyn@mellanox.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=vaibhav@linux.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).