mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
To: Frederic Barrat <fbarrat@linux.vnet.ibm.com>,
	linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org
Cc: arnd@arndb.de, gregkh@linuxfoundation.org, mpe@ellerman.id.au,
	alastair@au1.ibm.com
Subject: Re: [PATCH 11/13] cxl: Remove support for "Processing accelerators" class
Date: Tue, 19 Dec 2017 10:47:04 +1100	[thread overview]
Message-ID: <05f705cc-588c-58ea-27e2-8a992c62b298@au1.ibm.com> (raw)
In-Reply-To: <199cdb186d837daa838a37d937c6586bb9cfe1a2.1513608243.git.fbarrat@linux.vnet.ibm.com>

On 19/12/17 02:21, Frederic Barrat wrote:
> The cxl driver currently declares in its table of supported PCI
> devices the class "Processing accelerators". Therefore it may be
> called to probe for opencapi devices, which generates errors, as the
> config space of a cxl device is not compatible with opencapi.
> 
> So remove support for the generic class, as we now have (at least) two
> drivers for devices of the same class. Most cxl devices are FPGAs with
> a PSL which will show a known device ID of 0x477. Other devices are
> really supported by the cxlflash driver and are already listed in the
> table. So removing the class is expected to go unnoticed.
> 
> Signed-off-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>

Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>

> ---
>   drivers/misc/cxl/pci.c | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/misc/cxl/pci.c b/drivers/misc/cxl/pci.c
> index 19969ee86d6f..758842f65a1b 100644
> --- a/drivers/misc/cxl/pci.c
> +++ b/drivers/misc/cxl/pci.c
> @@ -125,8 +125,6 @@ static const struct pci_device_id cxl_pci_tbl[] = {
>   	{ PCI_DEVICE(PCI_VENDOR_ID_IBM, 0x0601), },
>   	{ PCI_DEVICE(PCI_VENDOR_ID_IBM, 0x0623), },
>   	{ PCI_DEVICE(PCI_VENDOR_ID_IBM, 0x0628), },
> -	{ PCI_DEVICE_CLASS(0x120000, ~0), },
> -
>   	{ }
>   };
>   MODULE_DEVICE_TABLE(pci, cxl_pci_tbl);
> 

-- 
Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnellan@au1.ibm.com  IBM Australia Limited

  reply	other threads:[~2017-12-18 23:47 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-18 15:21 [PATCH 00/13] New driver to support OpenCAPI devices on POWER9 Frederic Barrat
2017-12-18 15:21 ` [PATCH 01/13] powerpc/powernv: Introduce new PHB type for opencapi links Frederic Barrat
2018-01-03  3:53   ` Andrew Donnellan
2017-12-18 15:21 ` [PATCH 02/13] powerpc/powernv: Set correct configuration space size for opencapi devices Frederic Barrat
2017-12-19  1:14   ` Andrew Donnellan
2018-01-20  9:52   ` Michael Ellerman
2018-01-22  5:07     ` Andrew Donnellan
2017-12-18 15:21 ` [PATCH 03/13] powerpc/powernv: Add opal calls for opencapi Frederic Barrat
2017-12-19  0:47   ` Andrew Donnellan
2017-12-18 15:21 ` [PATCH 04/13] powerpc/powernv: Add platform-specific services " Frederic Barrat
2018-01-03  7:31   ` Andrew Donnellan
2017-12-18 15:21 ` [PATCH 05/13] powerpc/powernv: Capture actag information for the device Frederic Barrat
2017-12-18 15:21 ` [PATCH 06/13] ocxl: Driver code for 'generic' opencapi devices Frederic Barrat
2018-01-03  7:30   ` Andrew Donnellan
2017-12-18 15:21 ` [PATCH 07/13] ocxl: Add AFU interrupt support Frederic Barrat
2017-12-19  4:05   ` Benjamin Herrenschmidt
2018-01-23 17:10     ` Cédric Le Goater
2017-12-18 15:21 ` [PATCH 08/13] ocxl: Add a kernel API for other opencapi drivers Frederic Barrat
2017-12-18 15:21 ` [PATCH 09/13] ocxl: Add trace points Frederic Barrat
2017-12-18 16:48   ` Philippe Ombredanne
2017-12-20 12:01     ` Frederic Barrat
2017-12-18 15:21 ` [PATCH 10/13] ocxl: Add Makefile and Kconfig Frederic Barrat
2018-01-03  5:48   ` Andrew Donnellan
2018-01-09 15:45     ` Frederic Barrat
2018-01-09 23:21       ` Michael Ellerman
2018-01-10 19:17         ` Frederic Barrat
2017-12-18 15:21 ` [PATCH 11/13] cxl: Remove support for "Processing accelerators" class Frederic Barrat
2017-12-18 23:47   ` Andrew Donnellan [this message]
2017-12-18 15:21 ` [PATCH 12/13] ocxl: Documentation Frederic Barrat
2017-12-18 15:21 ` [PATCH 13/13] ocxl: add MAINTAINERS entry Frederic Barrat
2017-12-18 16:04   ` Joe Perches
2017-12-19 14:39     ` Frederic Barrat
2017-12-19  0:22 ` [PATCH 00/13] New driver to support OpenCAPI devices on POWER9 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=05f705cc-588c-58ea-27e2-8a992c62b298@au1.ibm.com \
    --to=andrew.donnellan@au1.ibm.com \
    --cc=alastair@au1.ibm.com \
    --cc=arnd@arndb.de \
    --cc=fbarrat@linux.vnet.ibm.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    /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

all inboxes | Powered by JetHome®