e293be
diff -up linux-3.10.0-327.sdl7.x86_64/arch/x86/include/asm/hardirq.h.undorhirqstat linux-3.10.0-327.sdl7.x86_64/arch/x86/include/asm/hardirq.h
e293be
--- linux-3.10.0-327.sdl7.x86_64/arch/x86/include/asm/hardirq.h.undorhirqstat	2015-10-29 16:56:51.000000000 -0400
e293be
+++ linux-3.10.0-327.sdl7.x86_64/arch/x86/include/asm/hardirq.h	2015-11-21 23:57:10.330063191 -0500
e293be
@@ -37,18 +37,13 @@ typedef struct {
e293be
 
e293be
 DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat);
e293be
 
e293be
-typedef struct {
e293be
-	unsigned int irq_hv_callback_count;
e293be
-} ____cacheline_aligned rh_irq_cpustat_t;
e293be
-
e293be
-DECLARE_PER_CPU_SHARED_ALIGNED(rh_irq_cpustat_t, rh_irq_stat);
e293be
+/* We can have at most NR_VECTORS irqs routed to a cpu at a time */
e293be
+#define MAX_HARDIRQS_PER_CPU NR_VECTORS
e293be
 
e293be
 #define __ARCH_IRQ_STAT
e293be
 
e293be
 #define inc_irq_stat(member)	this_cpu_inc(irq_stat.member)
e293be
 
e293be
-#define rh_inc_irq_stat(member)	this_cpu_inc(rh_irq_stat.member)
e293be
-
e293be
 #define local_softirq_pending()	this_cpu_read(irq_stat.__softirq_pending)
e293be
 
e293be
 #define __ARCH_SET_SOFTIRQ_PENDING
e293be
diff -up linux-3.10.0-327.sdl7.x86_64/arch/x86/kernel/cpu/mshyperv.c.undorhirqstat linux-3.10.0-327.sdl7.x86_64/arch/x86/kernel/cpu/mshyperv.c
e293be
--- linux-3.10.0-327.sdl7.x86_64/arch/x86/kernel/cpu/mshyperv.c.undorhirqstat	2015-10-29 16:56:51.000000000 -0400
e293be
+++ linux-3.10.0-327.sdl7.x86_64/arch/x86/kernel/cpu/mshyperv.c	2015-11-22 00:03:55.131003266 -0500
e293be
@@ -46,7 +46,6 @@ void hyperv_vector_handler(struct pt_reg
e293be
 	irq_enter();
e293be
 	exit_idle();
e293be
 
e293be
-	rh_inc_irq_stat(irq_hv_callback_count);
e293be
 	if (vmbus_handler)
e293be
 		vmbus_handler();
e293be
 
e293be
diff -up linux-3.10.0-327.sdl7.x86_64/arch/x86/kernel/irq.c.undorhirqstat linux-3.10.0-327.sdl7.x86_64/arch/x86/kernel/irq.c
e293be
--- linux-3.10.0-327.sdl7.x86_64/arch/x86/kernel/irq.c.undorhirqstat	2015-10-29 16:56:51.000000000 -0400
e293be
+++ linux-3.10.0-327.sdl7.x86_64/arch/x86/kernel/irq.c	2015-11-21 23:58:02.526064171 -0500
e293be
@@ -48,7 +48,6 @@ void ack_bad_irq(unsigned int irq)
e293be
 }
e293be
 
e293be
 #define irq_stats(x)		(&per_cpu(irq_stat, x))
e293be
-#define rh_irq_stats(x)		(&per_cpu(rh_irq_stat, x))
e293be
 /*
e293be
  * /proc/interrupts printing for arch specific interrupts
e293be
  */
e293be
@@ -126,13 +125,6 @@ int arch_show_interrupts(struct seq_file
e293be
 		seq_printf(p, "%10u ", per_cpu(mce_poll_count, j));
e293be
 	seq_printf(p, "  Machine check polls\n");
e293be
 #endif
e293be
-	if (test_bit(HYPERVISOR_CALLBACK_VECTOR, used_vectors)) {
e293be
-		seq_printf(p, "%*s: ", prec, "HYP");
e293be
-		for_each_online_cpu(j)
e293be
-			seq_printf(p, "%10u ",
e293be
-				   rh_irq_stats(j)->irq_hv_callback_count);
e293be
-		seq_printf(p, "  Hypervisor callback interrupts\n");
e293be
-	}
e293be
 	seq_printf(p, "%*s: %10u\n", prec, "ERR", atomic_read(&irq_err_count));
e293be
 #if defined(CONFIG_X86_IO_APIC)
e293be
 	seq_printf(p, "%*s: %10u\n", prec, "MIS", atomic_read(&irq_mis_count));
e293be
diff -up linux-3.10.0-327.sdl7.x86_64/arch/x86/kernel/irq_64.c.undorhirqstat linux-3.10.0-327.sdl7.x86_64/arch/x86/kernel/irq_64.c
e293be
--- linux-3.10.0-327.sdl7.x86_64/arch/x86/kernel/irq_64.c.undorhirqstat	2015-10-29 16:56:51.000000000 -0400
e293be
+++ linux-3.10.0-327.sdl7.x86_64/arch/x86/kernel/irq_64.c	2015-11-21 23:58:27.650064642 -0500
e293be
@@ -23,8 +23,6 @@
e293be
 DEFINE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat);
e293be
 EXPORT_PER_CPU_SYMBOL(irq_stat);
e293be
 
e293be
-DEFINE_PER_CPU_SHARED_ALIGNED(rh_irq_cpustat_t, rh_irq_stat);
e293be
-
e293be
 DEFINE_PER_CPU(struct pt_regs *, irq_regs);
e293be
 EXPORT_PER_CPU_SYMBOL(irq_regs);
e293be
 
e293be
diff -up linux-3.10.0-327.sdl7.x86_64/drivers/xen/events.c.undorhirqstat linux-3.10.0-327.sdl7.x86_64/drivers/xen/events.c
e293be
--- linux-3.10.0-327.sdl7.x86_64/drivers/xen/events.c.undorhirqstat	2015-10-29 16:56:51.000000000 -0400
e293be
+++ linux-3.10.0-327.sdl7.x86_64/drivers/xen/events.c	2015-11-22 00:04:18.032003696 -0500
e293be
@@ -1446,8 +1446,6 @@ void xen_evtchn_do_upcall(struct pt_regs
e293be
 #ifdef CONFIG_X86
e293be
 	exit_idle();
e293be
 #endif
e293be
-	rh_inc_irq_stat(irq_hv_callback_count);
e293be
-
e293be
 	__xen_evtchn_do_upcall();
e293be
 
e293be
 	irq_exit();