30 Commits

Author SHA1 Message Date
lihaoxiang
963366e08a backport community patches
Signed-off-by: langfei <langfei@huawei.com>
(cherry picked from commit 31fabafa15436ddf2dfa9b6f01708545ebadebee)
2024-05-07 21:41:48 +08:00
yangpan
89bfb3cfb6 backport community patches
(cherry picked from commit b1eee7cd727af08a02da40ee95b833ee94cdae26)
2024-05-07 16:17:54 +08:00
liweigang
1c0ca5b002 remove no existing irq in banned_irqs
Signed-off-by: liweigang <liweiganga@uniontech.com>
2024-02-04 17:57:37 +08:00
volcanodragon
ef8824010d fix activate_mapping bug
(cherry picked from commit aa3cbff97fa1749029db426c3b43d00d80c1b1f7)
2023-10-30 09:59:55 +08:00
qinyu
46b5a2ed8f irqbalance: procinterrupts: Fix IRQ name parsing on certain arm64 SoC
procinterrupts: Fix IRQ name parsing on certain arm64 SoC

Signed-off-by: qinyu <qinyu32@huawei.com>
2022-12-09 10:30:11 +08:00
qinyu
b82a6c9b59 bugfix:fix potential dead loop when parsing interrupts
when parsing /proc/interrupts and if a chip name start with numbers,
current procedure would consider those  numbers as interrupt count thus
lead to miscount. Failed parsing would trigger new parsing and cause
dead loop which can't be stopped by SIGINT and SIGTERM. So fix this
by adding signal checks in loop.

Signed-off-by: qinyu <qinyu32@huawei.com>
2022-07-12 16:24:40 +08:00
mylee
0e7ba8f442 fix spec changelog date 2022-05-09 11:41:20 +08:00
Chao Liu
1bd31390f6 don't compile irqbalance-ui which is not delivered
Signed-off-by: Chao Liu <liuchao173@huawei.com>
2022-02-21 02:42:23 +00:00
Liu Chao
de300db271 remove --hintpolicy to avoid startup fails and useless file
irqbalance.rules

Signed-off-by: Liu Chao <liuchao173@huawei.com>
2022-01-15 18:14:48 +08:00
SuperSix173
1122bf0dd7 remove feature patches 2021-11-11 11:45:54 +08:00
SuperSix173
12449eb036 set hint->name in add_new_irq to avoid segmentation fault 2021-11-01 12:03:37 +08:00
SuperSix173
ab291be5db fix unsignedinteger subtraction sign overflow 2021-08-25 10:53:18 +08:00
SuperSix173
ab60ca9847 fix opendir fails in check_platform_device 2021-08-24 15:00:47 +08:00
SuperSix173
86bf46daa9 upgrade to v1.8.0 2021-04-17 17:21:35 +00:00
SuperSix173
c65a85a98c backport patches 2021-04-09 14:58:29 +08:00
SuperSix173
b40c2dd6fd remove PIDFile in irqbalance.service and add IRQBALANCE_BANNED_INTERRUPTS in irqbalance.sysconfig
Don't set the PIDFile. It isn't necessary because systemd can work it out.
2021-03-02 16:24:21 +08:00
Yunfeng Ye
4745d1cb0a Support IRQBALANCE_BANNED_CPULIST env variable
The env variable IRQBALANCE_BANNED_CPUS will be discarded,
so backport to support IRQBALANCE_BANNED_CPULIST instead.

Signed-off-by: Yunfeng Ye <yeyunfeng@huawei.com>
2021-01-05 17:34:24 +08:00
luochunsheng
eec8f42491 fixup SOURCE0 url 2020-09-10 21:19:36 +08:00
root
3a0401770d rebase to v1.7.0 2020-08-14 14:28:45 +08:00
root
322199ddcd rebase to v1.6.0 2020-07-03 17:09:39 +08:00
liuchao173
da193a5c7f refactor patches 2020-03-24 11:44:22 +08:00
sugarfillet
4479c5691d fix no fPIC error 2020-03-24 00:23:48 +08:00
wuxu_wu
a975a4b2f1 fix rpmbuild error on x86_64 architecture. 2020-03-21 18:27:09 +08:00
SuperSix173
b80d2a2702 synchronize patches 2020-03-11 09:48:32 +08:00
shenyangyang
a2ac9a149c update Huawei copyright 2019-12-30 16:35:04 +08:00
caomeng5@huawei.com
f3207add3c rename patch 2019-12-26 09:42:32 +08:00
dogsheng
ad917abf90 Package init 2019-12-25 22:08:07 +08:00
dogsheng
72868d0397 Package init 2019-12-13 15:29:40 +08:00
zhuchunyi
02658ac8c8 update code 2019-11-06 19:34:16 +08:00
overweight
aa0afbee66 Package init 2019-09-30 10:53:30 -04:00