patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Kevin Laatz <>
Cc:,,, Kevin Laatz <>
Subject: [dpdk-stable] [PATCH] raw/ioat: fix missing device name in idxd bus scan
Date: Thu, 27 May 2021 14:36:09 +0100
Message-ID: <> (raw)

The device name is not being initialized during the idxd bus scan which
will cause segmentation faults when an appliation tries to access this

This patch adds the required initialization of the device name so that it
can be read without issues.

Fixes: b7aaf417f936 ("raw/ioat: add bus driver for device scanning automatically")

Reported-by: Sunil Pai G <>
Signed-off-by: Kevin Laatz <>
 drivers/raw/ioat/idxd_bus.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/raw/ioat/idxd_bus.c b/drivers/raw/ioat/idxd_bus.c
index af400079ab..539f51b1b1 100644
--- a/drivers/raw/ioat/idxd_bus.c
+++ b/drivers/raw/ioat/idxd_bus.c
@@ -313,6 +313,7 @@ dsa_scan(void)
 		read_device_int(dev, "numa_node", &numa_node);
 		dev->device.numa_node = numa_node;
+		dev-> = dev->wq_name;

             reply	other threads:[~2021-05-27 13:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-27 13:36 Kevin Laatz [this message]
2021-05-27 14:28 ` Bruce Richardson
2021-06-04 14:11   ` Pai G, Sunil
2021-06-17  7:21     ` [dpdk-stable] [dpdk-dev] " Thomas Monjalon

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:

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

  git send-email \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

patches for DPDK stable branches

This inbox may be cloned and mirrored by anyone:

	git clone --mirror stable/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 stable stable/ \
	public-inbox-index stable

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone