From 1d9d1a01b02b2ce90e5fc7eeff109b5ad95ce0cd Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 14 Sep 2015 16:46:49 +0200 Subject: [PATCH] Improved reporting of NUMA nodes They are also printed in "-vv" and "-nv" modes now. --- lspci.c | 4 ++++ lspci.man | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/lspci.c b/lspci.c index a78eb26..9ec6570 100644 --- a/lspci.c +++ b/lspci.c @@ -733,6 +733,8 @@ show_verbose(struct device *d) if (int_pin || irq) printf("\tInterrupt: pin %c routed to IRQ " PCIIRQ_FMT "\n", (int_pin ? 'A' + int_pin - 1 : '?'), irq); + if (p->numa_node != -1) + printf("\tNUMA node: %d\n", p->numa_node); } else { @@ -858,6 +860,8 @@ show_machine(struct device *d) printf("ProgIf:\t%02x\n", c); if (opt_kernel) show_kernel_machine(d); + if (p->numa_node != -1) + printf("NUMANode:\t%d\n", p->numa_node); } else { diff --git a/lspci.man b/lspci.man index 5b3acbe..9348cfc 100644 --- a/lspci.man +++ b/lspci.man @@ -305,6 +305,10 @@ Kernel driver currently handling the device (optional, Linux only). Kernel module reporting that it is capable of handling the device (optional, Linux only). +.TP +.B NUMANode +NUMA node this device is connected to (optional, Linux only). + .P New tags can be added in future versions, so you should silently ignore any tags you don't recognize. -- 2.39.2