diff -Nru irqbalance-1.0.6/debian/changelog irqbalance-1.0.6/debian/changelog --- irqbalance-1.0.6/debian/changelog 2015-06-18 11:48:21.000000000 -0300 +++ irqbalance-1.0.6/debian/changelog 2015-07-10 18:10:03.000000000 -0300 @@ -1,3 +1,10 @@ +irqbalance (1.0.6-2ubuntu0.14.04.3) trusty; urgency=medium + + * d/p/0001-bug-893478_warn-once.patch: Only warn once + for affinity hint subset empty irqs. (LP: #1321425). + + -- Jorge Niedbalski Fri, 10 Jul 2015 18:09:26 -0300 + irqbalance (1.0.6-2ubuntu0.14.04.2) trusty; urgency=medium * Disable irqbalance on HP M800 server cartridge (LP: #1452875). Thanks to diff -Nru irqbalance-1.0.6/debian/patches/0001-bug-893478_warn-once.patch irqbalance-1.0.6/debian/patches/0001-bug-893478_warn-once.patch --- irqbalance-1.0.6/debian/patches/0001-bug-893478_warn-once.patch 1969-12-31 21:00:00.000000000 -0300 +++ irqbalance-1.0.6/debian/patches/0001-bug-893478_warn-once.patch 2015-07-10 18:09:24.000000000 -0300 @@ -0,0 +1,83 @@ +Description: Only warn once for affinity hint +subset empty irqs. (LP: #1321425). + +Origin: upstream, https://github.com/Irqbalance/irqbalance/commit/c9e5f36fe91d2d04d013d96f1093419245585de7 +Bug-Ubuntu: https://bugs.launchpad.net/bugs/1321425 + +--- irqbalance-1.0.6.orig/activate.c ++++ irqbalance-1.0.6/activate.c +@@ -1,26 +1,26 @@ +-/* ++/* + * Copyright (C) 2006, Intel Corporation +- * Copyright (C) 2012, Neil Horman +- * ++ * Copyright (C) 2012, Neil Horman ++ * + * This file is part of irqbalance + * + * This program file is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; version 2 of the License. +- * ++ * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. +- * ++ * + * You should have received a copy of the GNU General Public License +- * along with this program in a file named COPYING; if not, write to the +- * Free Software Foundation, Inc., +- * 51 Franklin Street, Fifth Floor, ++ * along with this program in a file named COPYING; if not, write to the ++ * Free Software Foundation, Inc., ++ * 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + +-/* ++/* + * This file contains the code to communicate a selected distribution / mapping + * of interrupts to the kernel. + */ +@@ -84,11 +84,14 @@ static void activate_mapping(struct irq_ + if ((hint_policy == HINT_POLICY_SUBSET) && + (!cpus_empty(info->affinity_hint))) { + cpus_and(applied_mask, applied_mask, info->affinity_hint); +- if (!cpus_intersects(applied_mask, unbanned_cpus)) +- log(TO_ALL, LOG_WARNING, +- "irq %d affinity_hint subset empty\n", +- info->irq); +- else ++ if (!cpus_intersects(applied_mask, unbanned_cpus)) { ++ if (!info->warned) { ++ info->warned = 1; ++ log(TO_ALL, LOG_WARNING, ++ "irq %d affinity_hint subset empty\n", ++ info->irq); ++ } ++ } else + valid_mask = 1; + } else { + valid_mask = 1; +@@ -96,7 +99,7 @@ static void activate_mapping(struct irq_ + } + + /* +- * Don't activate anything for which we have an invalid mask ++ * Don't activate anything for which we have an invalid mask + */ + if (!valid_mask || check_affinity(info, applied_mask)) + return; +--- irqbalance-1.0.6.orig/types.h ++++ irqbalance-1.0.6/types.h +@@ -63,6 +63,7 @@ struct irq_info { + uint64_t load; + int moved; + struct topo_obj *assigned_obj; ++ unsigned int warned; + }; + + #endif diff -Nru irqbalance-1.0.6/debian/patches/disable-on-hp-m800 irqbalance-1.0.6/debian/patches/disable-on-hp-m800 --- irqbalance-1.0.6/debian/patches/disable-on-hp-m800 2015-06-18 11:54:42.000000000 -0300 +++ irqbalance-1.0.6/debian/patches/disable-on-hp-m800 2015-07-10 18:10:23.000000000 -0300 @@ -7,8 +7,10 @@ Forwarded: not-needed --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ ---- a/irqbalance.c -+++ b/irqbalance.c +Index: irqbalance-1.0.6/irqbalance.c +=================================================================== +--- irqbalance-1.0.6.orig/irqbalance.c ++++ irqbalance-1.0.6/irqbalance.c @@ -56,6 +56,37 @@ char *banscript = NULL; char *polscript = NULL; long HZ; diff -Nru irqbalance-1.0.6/debian/patches/series irqbalance-1.0.6/debian/patches/series --- irqbalance-1.0.6/debian/patches/series 2015-06-18 11:46:57.000000000 -0300 +++ irqbalance-1.0.6/debian/patches/series 2015-07-10 18:09:24.000000000 -0300 @@ -1,2 +1,3 @@ irqbalance.1.patch +0001-bug-893478_warn-once.patch disable-on-hp-m800