diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2023-06-27 02:24:40 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-06-27 02:24:40 +0300 |
commit | a3d763f0b34d94a4f2b2e3075350a19d589630f3 (patch) | |
tree | 385e3637f43be46e60bac696a82287ec8ecac4f4 /arch | |
parent | 941d77c77339d2dd1cda8911da63da3c67e90860 (diff) | |
parent | 504dba50b0c3fa02ec513d7d0405ddffba2d1c0a (diff) | |
download | linux-a3d763f0b34d94a4f2b2e3075350a19d589630f3.tar.xz |
Merge tag 'x86_irq_for_6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 irq updates from Dave Hansen:
"Add Hyper-V interrupts to /proc/stat"
* tag 'x86_irq_for_6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/irq: Add hardcoded hypervisor interrupts to /proc/stat
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/irq.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c index 766ffe3ba313..9f668d2f3d11 100644 --- a/arch/x86/kernel/irq.c +++ b/arch/x86/kernel/irq.c @@ -211,6 +211,13 @@ u64 arch_irq_stat_cpu(unsigned int cpu) #ifdef CONFIG_X86_MCE_THRESHOLD sum += irq_stats(cpu)->irq_threshold_count; #endif +#ifdef CONFIG_X86_HV_CALLBACK_VECTOR + sum += irq_stats(cpu)->irq_hv_callback_count; +#endif +#if IS_ENABLED(CONFIG_HYPERV) + sum += irq_stats(cpu)->irq_hv_reenlightenment_count; + sum += irq_stats(cpu)->hyperv_stimer0_count; +#endif #ifdef CONFIG_X86_MCE sum += per_cpu(mce_exception_count, cpu); sum += per_cpu(mce_poll_count, cpu); |