* [PATCH] dma/idxd: add device ids for new HW versions
@ 2025-01-30 17:26 Bruce Richardson
2025-01-31 15:05 ` Bruce Richardson
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Bruce Richardson @ 2025-01-30 17:26 UTC (permalink / raw)
To: dev; +Cc: Bruce Richardson, stable, Kevin Laatz, Robin Jarry
Add in two extra PCI device id's for future HW versions to be
supported by idxd driver. This aligns with the definitions present
in kernel idxd driver [1].
[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/dma/idxd/registers.h#n9
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
Cc: stable@dpdk.org
Since this only adds a couple of device IDs, and there are no other
changes to the dma/idxd driver in 25.03, perhaps this could be
considered for backport for 24.11?
---
drivers/dma/idxd/idxd_pci.c | 4 ++++
usertools/dpdk-devbind.py | 7 ++++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/drivers/dma/idxd/idxd_pci.c b/drivers/dma/idxd/idxd_pci.c
index 5c05762d03..214f6f22d5 100644
--- a/drivers/dma/idxd/idxd_pci.c
+++ b/drivers/dma/idxd/idxd_pci.c
@@ -11,6 +11,8 @@
#define IDXD_VENDOR_ID 0x8086
#define IDXD_DEVICE_ID_SPR 0x0B25
+#define IDXD_DEVICE_ID_GNRD 0x11FB
+#define IDXD_DEVICE_ID_DMR 0x1212
#define DEVICE_VERSION_1 0x100
#define DEVICE_VERSION_2 0x200
@@ -24,6 +26,8 @@
const struct rte_pci_id pci_id_idxd_map[] = {
{ RTE_PCI_DEVICE(IDXD_VENDOR_ID, IDXD_DEVICE_ID_SPR) },
+ { RTE_PCI_DEVICE(IDXD_VENDOR_ID, IDXD_DEVICE_ID_GNRD) },
+ { RTE_PCI_DEVICE(IDXD_VENDOR_ID, IDXD_DEVICE_ID_DMR) },
{ .vendor_id = 0, /* sentinel */ },
};
diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py
index 283707fc16..62edbba095 100755
--- a/usertools/dpdk-devbind.py
+++ b/usertools/dpdk-devbind.py
@@ -62,6 +62,10 @@
'SVendor': None, 'SDevice': None}
intel_idxd_spr = {'Class': '08', 'Vendor': '8086', 'Device': '0b25',
'SVendor': None, 'SDevice': None}
+intel_idxd_gnrd = {'Class': '08', 'Vendor': '8086', 'Device': '11fb',
+ 'SVendor': None, 'SDevice': None}
+intel_idxd_dmr = {'Class': '08', 'Vendor': '8086', 'Device': '1212',
+ 'SVendor': None, 'SDevice': None}
intel_ntb_skx = {'Class': '06', 'Vendor': '8086', 'Device': '201c',
'SVendor': None, 'SDevice': None}
intel_ntb_icx = {'Class': '06', 'Vendor': '8086', 'Device': '347e',
@@ -84,7 +88,8 @@
baseband_devices = [acceleration_class]
crypto_devices = [encryption_class, intel_processor_class]
dma_devices = [cnxk_dma, hisilicon_dma,
- intel_idxd_spr, intel_ioat_bdw, intel_ioat_icx, intel_ioat_skx,
+ intel_idxd_gnrd, intel_idxd_dmr, intel_idxd_spr,
+ intel_ioat_bdw, intel_ioat_icx, intel_ioat_skx,
odm_dma]
eventdev_devices = [cavium_sso, cavium_tim, intel_dlb, cnxk_sso]
mempool_devices = [cavium_fpa, cnxk_npa]
--
2.43.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] dma/idxd: add device ids for new HW versions
2025-01-30 17:26 [PATCH] dma/idxd: add device ids for new HW versions Bruce Richardson
@ 2025-01-31 15:05 ` Bruce Richardson
2025-02-06 20:13 ` Patrick Robb
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Bruce Richardson @ 2025-01-31 15:05 UTC (permalink / raw)
To: dev; +Cc: stable, Kevin Laatz, Robin Jarry
On Thu, Jan 30, 2025 at 05:26:25PM +0000, Bruce Richardson wrote:
> Add in two extra PCI device id's for future HW versions to be
> supported by idxd driver. This aligns with the definitions present
> in kernel idxd driver [1].
>
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/dma/idxd/registers.h#n9
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> ---
Recheck-request: iol-intel-Performance
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] dma/idxd: add device ids for new HW versions
2025-01-30 17:26 [PATCH] dma/idxd: add device ids for new HW versions Bruce Richardson
2025-01-31 15:05 ` Bruce Richardson
@ 2025-02-06 20:13 ` Patrick Robb
2025-02-11 11:57 ` Kevin Laatz
2025-02-11 13:20 ` David Marchand
3 siblings, 0 replies; 6+ messages in thread
From: Patrick Robb @ 2025-02-06 20:13 UTC (permalink / raw)
To: Bruce Richardson; +Cc: dev
[-- Attachment #1: Type: text/plain, Size: 98 bytes --]
Recheck-request: iol-intel-Performance
Triggering a retest due to testbed instability yesterday.
[-- Attachment #2: Type: text/html, Size: 125 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] dma/idxd: add device ids for new HW versions
2025-01-30 17:26 [PATCH] dma/idxd: add device ids for new HW versions Bruce Richardson
2025-01-31 15:05 ` Bruce Richardson
2025-02-06 20:13 ` Patrick Robb
@ 2025-02-11 11:57 ` Kevin Laatz
2025-02-11 13:20 ` David Marchand
3 siblings, 0 replies; 6+ messages in thread
From: Kevin Laatz @ 2025-02-11 11:57 UTC (permalink / raw)
To: Bruce Richardson, dev; +Cc: stable, Robin Jarry
[-- Attachment #1: Type: text/plain, Size: 775 bytes --]
On 30/01/2025 17:26, Bruce Richardson wrote:
> Add in two extra PCI device id's for future HW versions to be
> supported by idxd driver. This aligns with the definitions present
> in kernel idxd driver [1].
>
> [1]https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/dma/idxd/registers.h#n9
>
> Signed-off-by: Bruce Richardson<bruce.richardson@intel.com>
> ---
> Cc:stable@dpdk.org
>
> Since this only adds a couple of device IDs, and there are no other
> changes to the dma/idxd driver in 25.03, perhaps this could be
> considered for backport for 24.11?
> ---
> drivers/dma/idxd/idxd_pci.c | 4 ++++
> usertools/dpdk-devbind.py | 7 ++++++-
> 2 files changed, 10 insertions(+), 1 deletion(-)
>
Acked-by: Kevin Laatz <kevin.laatz@intel.com>
[-- Attachment #2: Type: text/html, Size: 1545 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] dma/idxd: add device ids for new HW versions
2025-01-30 17:26 [PATCH] dma/idxd: add device ids for new HW versions Bruce Richardson
` (2 preceding siblings ...)
2025-02-11 11:57 ` Kevin Laatz
@ 2025-02-11 13:20 ` David Marchand
2025-02-11 13:47 ` Bruce Richardson
3 siblings, 1 reply; 6+ messages in thread
From: David Marchand @ 2025-02-11 13:20 UTC (permalink / raw)
To: Bruce Richardson; +Cc: dev, stable, Kevin Laatz, Robin Jarry, Kevin Traynor
On Thu, Jan 30, 2025 at 6:27 PM Bruce Richardson
<bruce.richardson@intel.com> wrote:
>
> Add in two extra PCI device id's for future HW versions to be
> supported by idxd driver. This aligns with the definitions present
> in kernel idxd driver [1].
>
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/dma/idxd/registers.h#n9
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> ---
> Cc: stable@dpdk.org
>
> Since this only adds a couple of device IDs, and there are no other
> changes to the dma/idxd driver in 25.03, perhaps this could be
> considered for backport for 24.11?
I prefer not to mark with Cc: stable@dpdk.org, because this is too
vague and LTS maintainers may apply this for 22.11 or 23.11.
For this special request against 24.11, the simpler is to send an
explicit backport request to stable@dpdk.org with a 24.11 prefix in
the title (and copy Kevin, who handles 24.11).
Patch applied, thanks.
--
David Marchand
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] dma/idxd: add device ids for new HW versions
2025-02-11 13:20 ` David Marchand
@ 2025-02-11 13:47 ` Bruce Richardson
0 siblings, 0 replies; 6+ messages in thread
From: Bruce Richardson @ 2025-02-11 13:47 UTC (permalink / raw)
To: David Marchand; +Cc: dev, stable, Kevin Laatz, Robin Jarry, Kevin Traynor
On Tue, Feb 11, 2025 at 02:20:51PM +0100, David Marchand wrote:
> On Thu, Jan 30, 2025 at 6:27 PM Bruce Richardson
> <bruce.richardson@intel.com> wrote:
> >
> > Add in two extra PCI device id's for future HW versions to be
> > supported by idxd driver. This aligns with the definitions present
> > in kernel idxd driver [1].
> >
> > [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/dma/idxd/registers.h#n9
> >
> > Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> > ---
> > Cc: stable@dpdk.org
> >
> > Since this only adds a couple of device IDs, and there are no other
> > changes to the dma/idxd driver in 25.03, perhaps this could be
> > considered for backport for 24.11?
>
> I prefer not to mark with Cc: stable@dpdk.org, because this is too
> vague and LTS maintainers may apply this for 22.11 or 23.11.
> For this special request against 24.11, the simpler is to send an
> explicit backport request to stable@dpdk.org with a 24.11 prefix in
> the title (and copy Kevin, who handles 24.11).
>
> Patch applied, thanks.
>
Ok, will do.
In practice, I think it would be harmless and work fine in all the
older releases, but I'll just target 24.11 for safety.
/Bruce
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-02-11 13:47 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-30 17:26 [PATCH] dma/idxd: add device ids for new HW versions Bruce Richardson
2025-01-31 15:05 ` Bruce Richardson
2025-02-06 20:13 ` Patrick Robb
2025-02-11 11:57 ` Kevin Laatz
2025-02-11 13:20 ` David Marchand
2025-02-11 13:47 ` Bruce Richardson
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).