diff mbox

[v2] cxl: Enable PCI device IDs for future IBM CXL adapters

Message ID 1490371400-33398-1-git-send-email-mrochs@linux.vnet.ibm.com (mailing list archive)
State Accepted
Commit 41e20d959e5919c70058369323cefa57428b7aaf
Headers show

Commit Message

Matthew R. Ochs March 24, 2017, 4:03 p.m. UTC
Add support for future IBM Coherent Accelerator (CXL) devices
with an IDs of 0x0623 and 0x0628.

Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Signed-off-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com>
Acked-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
---
Changes in v2:
 - Add device ID 0x0628

 drivers/misc/cxl/pci.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Matthew R. Ochs April 13, 2017, 10:28 p.m. UTC | #1
> On Mar 24, 2017, at 11:03 AM, Matthew R. Ochs <mrochs@linux.vnet.ibm.com> wrote:
> 
> Add support for future IBM Coherent Accelerator (CXL) devices
> with an IDs of 0x0623 and 0x0628.
> 
> Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
> Signed-off-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com>
> Acked-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>

Hi Michael,

I think this one might have been overlooked. We'd like to try and
get this in for 4.12 to match up with our 4-port series in cxlflash.

Let me know if you feel it needs anything else. Thanks!


-matt

> ---
> Changes in v2:
> - Add device ID 0x0628
> 
> drivers/misc/cxl/pci.c | 2 ++
> 1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/misc/cxl/pci.c b/drivers/misc/cxl/pci.c
> index 80a87ab..dd606a2 100644
> --- a/drivers/misc/cxl/pci.c
> +++ b/drivers/misc/cxl/pci.c
> @@ -123,6 +123,8 @@ static const struct pci_device_id cxl_pci_tbl[] = {
> 	{ PCI_DEVICE(PCI_VENDOR_ID_IBM, 0x044b), },
> 	{ PCI_DEVICE(PCI_VENDOR_ID_IBM, 0x04cf), },
> 	{ 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), },
> 
> 	{ }
> -- 
> 2.1.0
>
Michael Ellerman April 18, 2017, 6:28 a.m. UTC | #2
"Matthew R. Ochs" <mrochs@linux.vnet.ibm.com> writes:

>> On Mar 24, 2017, at 11:03 AM, Matthew R. Ochs <mrochs@linux.vnet.ibm.com> wrote:
>> 
>> Add support for future IBM Coherent Accelerator (CXL) devices
>> with an IDs of 0x0623 and 0x0628.
>> 
>> Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
>> Signed-off-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com>
>> Acked-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
>
> Hi Michael,
>
> I think this one might have been overlooked. We'd like to try and
> get this in for 4.12 to match up with our 4-port series in cxlflash.

I saw it, but hadn't got around to actually applying it.

Have just put it in.

cheers
Michael Ellerman April 19, 2017, 10:04 p.m. UTC | #3
On Fri, 2017-03-24 at 16:03:19 UTC, "Matthew R. Ochs" wrote:
> Add support for future IBM Coherent Accelerator (CXL) devices
> with an IDs of 0x0623 and 0x0628.
> 
> Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
> Signed-off-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com>
> Acked-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/41e20d959e5919c70058369323cefa

cheers
diff mbox

Patch

diff --git a/drivers/misc/cxl/pci.c b/drivers/misc/cxl/pci.c
index 80a87ab..dd606a2 100644
--- a/drivers/misc/cxl/pci.c
+++ b/drivers/misc/cxl/pci.c
@@ -123,6 +123,8 @@  static const struct pci_device_id cxl_pci_tbl[] = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_IBM, 0x044b), },
 	{ PCI_DEVICE(PCI_VENDOR_ID_IBM, 0x04cf), },
 	{ 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), },
 
 	{ }