diff options
author | Michael Kelley <mikelley@microsoft.com> | 2023-02-27 10:46:08 -0800 |
---|---|---|
committer | Dave Hansen <dave.hansen@linux.intel.com> | 2023-06-08 08:28:08 -0700 |
commit | 504dba50b0c3fa02ec513d7d0405ddffba2d1c0a (patch) | |
tree | f66089bd5ad00e0655ae3bf7a6bfcbaa699fd0b5 /scripts/gdb/linux/lists.py | |
parent | 9561de3a55bed6bdd44a12820ba81ec416e705a7 (diff) |
x86/irq: Add hardcoded hypervisor interrupts to /proc/stat
Some hypervisor interrupts (such as for Hyper-V VMbus and Hyper-V timers)
have hardcoded interrupt vectors on x86 and don't have Linux IRQs assigned.
These interrupts are shown in /proc/interrupts, but are not reported in
the first field of the "intr" line in /proc/stat because the x86 version
of arch_irq_stat_cpu() doesn't include them.
Fix this by adding code to arch_irq_stat_cpu() to include these interrupts,
similar to existing interrupts that don't have Linux IRQs.
Use #if IS_ENABLED() because unlike all the other nearby #ifdefs,
CONFIG_HYPERV can be built as a module.
Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lore.kernel.org/all/1677523568-50263-1-git-send-email-mikelley%40microsoft.com
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions