summaryrefslogtreecommitdiff
path: root/utils/irqbalance/patches/020-mark-EINVAL-error-permanent.patch
diff options
context:
space:
mode:
Diffstat (limited to 'utils/irqbalance/patches/020-mark-EINVAL-error-permanent.patch')
-rw-r--r--utils/irqbalance/patches/020-mark-EINVAL-error-permanent.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/utils/irqbalance/patches/020-mark-EINVAL-error-permanent.patch b/utils/irqbalance/patches/020-mark-EINVAL-error-permanent.patch
new file mode 100644
index 000000000..44eb15dc0
--- /dev/null
+++ b/utils/irqbalance/patches/020-mark-EINVAL-error-permanent.patch
@@ -0,0 +1,15 @@
+--- a/activate.c
++++ b/activate.c
+@@ -98,11 +98,11 @@ error:
+ case ENOSPC: /* Specified CPU APIC is full. */
+ case EAGAIN: /* Interrupted by signal. */
+ case EBUSY: /* Affinity change already in progress. */
+- case EINVAL: /* IRQ would be bound to no CPU. */
+ case ERANGE: /* CPU in mask is offline. */
+ case ENOMEM: /* Kernel cannot allocate CPU mask. */
+ /* Do not blacklist the IRQ on transient errors. */
+ break;
++ case EINVAL: /* IRQ would be bound to no CPU. */
+ default:
+ /* Any other error is considered permanent. */
+ info->flags |= IRQ_FLAG_AFFINITY_UNMANAGED;