git: devinfo - Print the cpuid of rman resources if it's set.
Imre Vadasz
ivadasz at crater.dragonflybsd.org
Sun May 31 06:13:38 PDT 2026
commit 069eec1334c11fe68775ef263a7e2491961f42eb
Author: Imre Vadász <imre at vdsz.com>
Date: Sun May 31 14:28:22 2026 +0200
devinfo - Print the cpuid of rman resources if it's set.
* This adds the cpuid field to the u_rman and devinfo_rman structs, and
exports this value from struct rman in the rman sysctl.
* This is meant for IRQ resources, where "devinfo -r" will now print the
CPU where each IRQ is allocated, which is especially useful for drivers
that use multiple MSI-X interrupts.
Summary of changes:
lib/libdevinfo/devinfo.3 | 1 +
lib/libdevinfo/devinfo.c | 1 +
lib/libdevinfo/devinfo.h | 2 ++
sys/kern/subr_rman.c | 1 +
sys/sys/rman.h | 1 +
usr.sbin/devinfo/devinfo.c | 6 +++++-
6 files changed, 11 insertions(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/069eec1334c11fe68775ef263a7e2491961f42eb
--
DragonFly BSD source repository
More information about the Commits
mailing list