Skip to content

Commit a3d763f

Browse files
committed
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
2 parents 941d77c + 504dba5 commit a3d763f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

arch/x86/kernel/irq.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,13 @@ u64 arch_irq_stat_cpu(unsigned int cpu)
211211
#ifdef CONFIG_X86_MCE_THRESHOLD
212212
sum += irq_stats(cpu)->irq_threshold_count;
213213
#endif
214+
#ifdef CONFIG_X86_HV_CALLBACK_VECTOR
215+
sum += irq_stats(cpu)->irq_hv_callback_count;
216+
#endif
217+
#if IS_ENABLED(CONFIG_HYPERV)
218+
sum += irq_stats(cpu)->irq_hv_reenlightenment_count;
219+
sum += irq_stats(cpu)->hyperv_stimer0_count;
220+
#endif
214221
#ifdef CONFIG_X86_MCE
215222
sum += per_cpu(mce_exception_count, cpu);
216223
sum += per_cpu(mce_poll_count, cpu);

0 commit comments

Comments
 (0)