diff --git a/utils/irqbalance/Makefile b/utils/irqbalance/Makefile index 23d4b3899..83f07da84 100644 --- a/utils/irqbalance/Makefile +++ b/utils/irqbalance/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=irqbalance PKG_VERSION:=1.9.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/Irqbalance/irqbalance.git diff --git a/utils/irqbalance/patches/010-meson.patch b/utils/irqbalance/patches/010-meson.patch index 7e3ae36d8..71a8ebae7 100644 --- a/utils/irqbalance/patches/010-meson.patch +++ b/utils/irqbalance/patches/010-meson.patch @@ -4,6 +4,9 @@ Date: Fri, 10 Jun 2022 23:14:27 -0700 Subject: [PATCH] add meson Signed-off-by: Rosen Penev + +[update version string to 1.9.3] + --- meson.build | 43 +++++++++++++++++++++++++++++++++++++++++++ meson_options.txt | 11 +++++++++++ @@ -15,7 +18,7 @@ Signed-off-by: Rosen Penev +++ b/meson.build @@ -0,0 +1,43 @@ +project('irqbalance', 'c', -+ version : '1.9.0', ++ version : '1.9.3', + default_options : ['warning_level=1'] +) + 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;