Commit Graph

125 Commits

Author SHA256 Message Date
Dominique Leuenberger
3088667a4d Accepting request 1034181 from Base:System
- update to 1.9.2:
  * avoid coredump on build_one_dev_entry()
  * avoid double free on deinit_thermal()
  * change the log level in thermal.c
  * fix a minor typo
- drop Avoid-double-free-on-deinit_thermal.patch, uninitialized.patch: (upstream)

OBS-URL: https://build.opensuse.org/request/show/1034181
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irqbalance?expand=0&rev=68
2022-11-08 09:53:31 +00:00
d3f52b1702 - update to 1.9.2:
* avoid coredump on build_one_dev_entry()
  * avoid double free on deinit_thermal()
  * change the log level in thermal.c
  * fix a minor typo
- drop Avoid-double-free-on-deinit_thermal.patch, uninitialized.patch: (upstream)

OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=109
2022-11-07 12:25:32 +00:00
Dominique Leuenberger
538b75661c Accepting request 1031212 from Base:System
- run tests
- add Avoid-double-free-on-deinit_thermal.patch (bsc#1204607)

- build with thermald support on x86_64 (jsc#PED-1039)

OBS-URL: https://build.opensuse.org/request/show/1031212
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irqbalance?expand=0&rev=67
2022-10-27 11:52:14 +00:00
5f44b46038 OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=107 2022-10-25 21:36:06 +00:00
b199d545f4 - add Avoid-double-free-on-deinit_thermal.patch (bsc#1204607)
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=106
2022-10-25 21:35:52 +00:00
a7dff36749 - run tests
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=105
2022-10-25 21:09:31 +00:00
Thomas Renninger
65cd909520 - build with thermald support on x86_64 (jsc#PED-1039)
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=104
2022-10-20 10:40:51 +00:00
Dominique Leuenberger
0382152fc7 Accepting request 1029930 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1029930
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irqbalance?expand=0&rev=66
2022-10-20 09:09:42 +00:00
Thomas Renninger
86fc8c1fe0 Accepting request 1029880 from home:dirkmueller:Factory
- add uninitialized.patch (bsc#1204371)
- build with thermald support on x86_64 (jsc#PED-754)

OBS-URL: https://build.opensuse.org/request/show/1029880
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=102
2022-10-19 08:22:15 +00:00
Dominique Leuenberger
abc5e77910 Accepting request 1010510 from Base:System
- update to 1.9.1:
  * get irq->module relationship from /sys/bus/pci/*/driver
  * ensure --banmod is respected
  * check whether savedptr is NULL before invoking strlen
  * add meson
  * support thermal events
  * fix irqbalance never exits
  * irqbalance-ui: able to scroll and show coulist and irqs' name 
- drop proc-interrupts.patch (upstream)
D proc-interrupts.patch
- Includes the patches for feature:
  jsc#PED-754
  Enable IRQ Balancer to support SoC die during low power state

OBS-URL: https://build.opensuse.org/request/show/1010510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irqbalance?expand=0&rev=65
2022-10-14 13:40:09 +00:00
Thomas Renninger
5fa256afb5 D proc-interrupts.patch
- Includes the patches for feature:
  jsc#PED-754
  Enable IRQ Balancer to support SoC die during low power state

OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=100
2022-10-13 16:42:20 +00:00
Thomas Renninger
054c5fec2e Accepting request 1010443 from home:dirkmueller:Factory
- update to 1.9.1:
  * get irq->module relationship from /sys/bus/pci/*/driver
  * ensure --banmod is respected
  * check whether savedptr is NULL before invoking strlen
  * add meson
  * support thermal events
  * fix irqbalance never exits
  * irqbalance-ui: able to scroll and show coulist and irqs' name 
- drop proc-interrupts.patch (upstream)

OBS-URL: https://build.opensuse.org/request/show/1010443
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=99
2022-10-13 16:40:28 +00:00
Dominique Leuenberger
6f7fbcfd28 Accepting request 997623 from Base:System
- Update to version 1.9.0:
  * correct wait time in oneshot mode
  * Document updates
  * disable irqbalance when we only have a single cpu/cache domain
  * fix UI to fetch full messages from UNIX socket
  * avoid some buffer overflows
  * fix UI printf style formatting
  * drop bounding set from irqbalance

OBS-URL: https://build.opensuse.org/request/show/997623
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irqbalance?expand=0&rev=64
2022-08-19 15:53:06 +00:00
3d6b6d7fbf - Update to version 1.9.0:
* correct wait time in oneshot mode
  * Document updates
  * disable irqbalance when we only have a single cpu/cache domain
  * fix UI to fetch full messages from UNIX socket
  * avoid some buffer overflows
  * fix UI printf style formatting
  * drop bounding set from irqbalance

OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=97
2022-08-17 21:43:18 +00:00
Dominique Leuenberger
3a79e38467 Accepting request 986191 from Base:System
OBS-URL: https://build.opensuse.org/request/show/986191
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irqbalance?expand=0&rev=63
2022-07-02 13:33:43 +00:00
Thomas Renninger
8b4b5a75f2 Accepting request 985317 from home:Andreas_Schwab:Factory
- proc-interrupts.patch: parse_proc_interrupts: fix parsing interrupt
  counts

OBS-URL: https://build.opensuse.org/request/show/985317
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=95
2022-07-01 10:00:47 +00:00
Dominique Leuenberger
29055c1421 Accepting request 917531 from Base:System
OBS-URL: https://build.opensuse.org/request/show/917531
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irqbalance?expand=0&rev=62
2021-09-13 14:24:14 +00:00
Thomas Renninger
3b90c01e24 Accepting request 917530 from home:trenn:branches:Base:System
- Update to version 1.8.0.18.git+2435e8d:
  * fix unsigned integer subtraction sign overflow
  * fix opendir fails in check_platform_device
  * irqbalance: Check validity of numa_node
  * configure.ac: use pkg-config to find numa
  * Disable the communication socket when UI is disabled
  * Fix comma typo in ui.c
  * drop NoNewPrivs from irqbalance service
  * remove no existing irq in banned_irqs
  * Fix compile issue with none AARCH64 builds

- Fixes integrated mainline:
  * bsc#1119461
  * bsc#1138190
  * bsc#1154905
  * bsc#1178477 bsc#1183405 (removed patches due to mainline integration):
       procinterrupts-check-xen-dyn-event-more-flexible.patch
  * bsc#1182254 bsc#1156315 (removed patches due to mainline integration):
       fix-ambiguous-parsing-of-node-entries-in-sys.patch
  * bsc#1183157
       also-fetch-node-info-for-non-PCI-devices.patch

OBS-URL: https://build.opensuse.org/request/show/917530
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=94
2021-09-08 10:01:36 +00:00
Dominique Leuenberger
088e9ef7b0 Accepting request 915410 from Base:System
OBS-URL: https://build.opensuse.org/request/show/915410
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irqbalance?expand=0&rev=61
2021-09-03 19:25:23 +00:00
Thomas Renninger
3b9dcf4e87 Accepting request 915268 from home:trenn:branches:Base:System
- Update to version 1.8.0.18.git+2435e8d.obscpio:
  * fix unsigned integer subtraction sign overflow
- Make git hash in version better visable .git+<githash>

OBS-URL: https://build.opensuse.org/request/show/915268
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=93
2021-09-01 06:52:29 +00:00
Richard Brown
6e74836f40 Accepting request 911416 from Base:System
OBS-URL: https://build.opensuse.org/request/show/911416
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irqbalance?expand=0&rev=60
2021-08-16 08:08:49 +00:00
Thomas Renninger
7775a7ec48 Accepting request 911415 from home:trenn:branches:Base:System
- Update to version 1.8.0.14.ga7f8148:
  * irqbalance: Check validity of numa_node
  * configure.ac: use pkg-config to find numa
  * Disable the communication socket when UI is disabled
- Use %{?systemd_ordering} instead of %{?systemd_requires}

OBS-URL: https://build.opensuse.org/request/show/911415
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=92
2021-08-11 10:26:51 +00:00
Dominique Leuenberger
1eea58bef4 Accepting request 907152 from Base:System
OBS-URL: https://build.opensuse.org/request/show/907152
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irqbalance?expand=0&rev=59
2021-07-21 17:06:20 +00:00
Thomas Renninger
a7b87641b9 Accepting request 907151 from home:trenn:branches:Base:System
- Update to version 1.8.0.8.gbd5aaf5 (jsc#SLE-17697):

OBS-URL: https://build.opensuse.org/request/show/907151
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=91
2021-07-19 13:50:09 +00:00
Dominique Leuenberger
aa629fd6c8 Accepting request 905968 from Base:System
OBS-URL: https://build.opensuse.org/request/show/905968
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irqbalance?expand=0&rev=58
2021-07-15 21:58:50 +00:00
Thomas Renninger
ac2dfc3532 Accepting request 905886 from home:trenn:branches:Base:System
- Update to version 1.8.0.8.gbd5aaf5:
  * Fix comma typo in ui.c
  * drop NoNewPrivs from irqbalance service
  * remove no existing irq in banned_irqs
  * Fix compile issue with none AARCH64 builds
  * Fix irqbalance cannot obtain the full name of irq
- Enhance _service magic and add git hashtag to version

OBS-URL: https://build.opensuse.org/request/show/905886
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=90
2021-07-13 04:27:02 +00:00
Dominique Leuenberger
2a61a272b3 Accepting request 885961 from Base:System
OBS-URL: https://build.opensuse.org/request/show/885961
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irqbalance?expand=0&rev=57
2021-04-19 19:05:42 +00:00
Thomas Renninger
1a36274323 Accepting request 885003 from home:trenn:branches:Base:System
- Add _service file pointing to github sources
A _service
- Update to version 1.8.0:
  * Add return value check of opendir in do_one_cpu
  * Hotplug may occur again during sleep, so wait until there is no hotplug

OBS-URL: https://build.opensuse.org/request/show/885003
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=88
2021-04-16 11:52:22 +00:00
Dominique Leuenberger
16450decd8 Accepting request 878285 from Base:System
OBS-URL: https://build.opensuse.org/request/show/878285
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irqbalance?expand=0&rev=56
2021-03-15 09:53:40 +00:00
Thomas Renninger
5ef44c5fe6 Accepting request 878217 from home:trenn:branches:Base:System
- Update to version 1.7.0+git20210222.9db8d5c:
  * ui: fix cpu/irq menu off by one
  * fix uint64_t printf format (use PRIu64)
  * Also fetch node info for non-PCI devices
  * Add hot pull method for irqbalance
  * Add log for hotplug appropriately
  * add irq hotplug feature for irqbalance
  * Remove some unused constant macros in constants.h
  * Add a deprecation notice for IRQBALANCE_BANNED_CPUS
  * Add IRQBALANCE_BANNED_CPULIST to env file
  * log correctly for isolated and nohz_full cpus
  * Update README.md
  * Add some examples for IRQBALANCE_BANNED_CPUS
  * Adjust how we determine if a cpu is online
  * activate_mapping: activate only online CPUs
  * add env variable to ban cpus using cpulist syntax
  * put arg parsing detail into parse_command_line()
  * Updating configure script to version 1.7.0
  * Add strlen checking for IRQBALANCE_BANNED_CPUS
  * remove redundant "/" in SOCKET_TMPFS
  * Fix typo in service unit file
  * arm64: Add irq aff change check For aarch64, the PPIs format in /proc/interrputs can be parsed and add to interrupt db, and next, the number of interrupts is counted and used to calculate the load. Finally these interrupts maybe scheduled between the NUMA domains.
  * Correct typos in irqbalance.c
  * free cpu_ban_string when the next request come
  * improve irq migrate rule to avoid high irq load
  * make the option 'V' closer to the option with no arg

OBS-URL: https://build.opensuse.org/request/show/878217
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=86
2021-03-11 08:21:24 +00:00
Dominique Leuenberger
ebc3fca4d0 Accepting request 827049 from Base:System
- update to 1.7.0:
  * Strlen checking for IRQBALANCE_BANNED_CPU env var
  * Typo cleanup in SOCKET_TMPFS
  * consolidation of numa node creation on non-numa systems
  * fix uninitialized use of package_mask in affinity setup
  * use num_online_cpus instead of core_count
  * fix a null ptr crash in do_one_cpu
  * make list searching common from glib
  * fix a calloc parameter bug
  * remove some unused variables
  * use g_list_free_full
  * remove redundant call to free_cl_opts
  * fix some resource leaks in main()
  * fix some use after free issues in check_for_irq_ban
  * fix resource leaks in irqballance-ui, and in add_one_node
- remove Correct-capitalizing-in-service-file.patch: upstream

OBS-URL: https://build.opensuse.org/request/show/827049
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irqbalance?expand=0&rev=55
2020-08-19 16:46:51 +00:00
d238f4f0ae OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=84 2020-08-16 14:17:01 +00:00
861094b28d - update to 1.7.0:
* Strlen checking for IRQBALANCE_BANNED_CPU env var
  * Typo cleanup in SOCKET_TMPFS
  * consolidation of numa node creation on non-numa systems
  * fix uninitialized use of package_mask in affinity setup
  * use num_online_cpus instead of core_count
  * fix a null ptr crash in do_one_cpu
  * make list searching common from glib
  * fix a calloc parameter bug
  * remove some unused variables
  * use g_list_free_full
  * remove redundant call to free_cl_opts
  * fix some resource leaks in main()
  * fix some use after free issues in check_for_irq_ban
  * fix resource leaks in irqballance-ui, and in add_one_node
- remove Correct-capitalizing-in-service-file.patch: upstream

OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=83
2020-08-16 14:16:54 +00:00
Dominique Leuenberger
bb527c9a60 Accepting request 815809 from Base:System
OBS-URL: https://build.opensuse.org/request/show/815809
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irqbalance?expand=0&rev=54
2020-06-23 19:02:37 +00:00
Thomas Renninger
5f792c1919 Accepting request 815730 from home:jmoellers:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/815730
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=81
2020-06-18 21:36:24 +00:00
Dominique Leuenberger
1001fd1120 Accepting request 809596 from Base:System
OBS-URL: https://build.opensuse.org/request/show/809596
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irqbalance?expand=0&rev=53
2020-06-03 18:28:05 +00:00
Thomas Renninger
0b9b213dd0 Accepting request 809536 from home:trenn:branches:Base:System
- Update to latest git HEAD version 0348a3b.
  There has been no version update for quite some time, but some
  restructuring and fixes we want to have included.
D install-man-pages.patch

OBS-URL: https://build.opensuse.org/request/show/809536
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=79
2020-05-27 14:10:02 +00:00
Dominique Leuenberger
416d944577 Accepting request 798326 from Base:System
OBS-URL: https://build.opensuse.org/request/show/798326
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irqbalance?expand=0&rev=52
2020-04-29 18:42:03 +00:00
Thomas Renninger
f4773e3a59 Accepting request 797152 from home:kukuk:branches:Base:System
- Package COPYING and README.md
- Add some deps for the -ui subpackage

- Use fillup_prereq macro
- Move ui into sub-package to get minimal core much smaller

OBS-URL: https://build.opensuse.org/request/show/797152
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=77
2020-04-27 17:15:49 +00:00
Dominique Leuenberger
719e4dbf5a Accepting request 714762 from Base:System
OBS-URL: https://build.opensuse.org/request/show/714762
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irqbalance?expand=0&rev=51
2019-07-16 06:38:26 +00:00
4d86e6447c Accepting request 714648 from home:trenn:branches:Base:System
- Add git hash tag and date in version as source is derived from
  master/HEAD branch. Thanks to namtrac.
  This is done via _service file.
  Also add an example how to get back to a stable release version
- Update to latest git master version:
  git commit f7fdebbaa4dbc27fcdeb7

OBS-URL: https://build.opensuse.org/request/show/714648
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=75
2019-07-12 06:08:55 +00:00
afeea1d0e0 Accepting request 713884 from home:jengelh:branches:Base:System
- Use noun phrase in summaries.

OBS-URL: https://build.opensuse.org/request/show/713884
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=74
2019-07-09 08:29:36 +00:00
Thomas Renninger
f9758014b6 Accepting request 712883 from home:trenn:branches:Base:System
- Update to version 1.6.0 (b47eea84cbb93f533b0cba2f1aa):
  * fix balancing when numa information isn't available
  * Refine document about IRQBALANCE_BANNED_CPUS
  * Fix string truncation issues detected by GCC 8
  * fix socket path creation
  * Update document for option --banmod and --deepestcache
  * Fix ambiguous parsing of *node* entries in /sys.
  * procinterrupts: check xen-dyn-event more flexible
  * misc: Add an example for policy script
  * policyscript: ignore non-executable files when specifying a directory
remove because already mainline:
D fix_buffer_overflow_compiler.patch

OBS-URL: https://build.opensuse.org/request/show/712883
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=73
2019-07-01 15:41:49 +00:00
Dominique Leuenberger
3a9a3d2914 Accepting request 639963 from Base:System
OBS-URL: https://build.opensuse.org/request/show/639963
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irqbalance?expand=0&rev=50
2018-10-11 09:40:01 +00:00
Thomas Renninger
8c23315682 Accepting request 639962 from home:trenn:branches:Base:System
- Allow compilation with SLE-12 and before by:
  * removing -std=C99 Latest compiler version does not complain
  anymore, SLE12 SPx and before did.
  * Fix a possible buffer overflow compiler warning
A fix_buffer_overflow_compiler.patch

OBS-URL: https://build.opensuse.org/request/show/639962
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=71
2018-10-04 12:39:00 +00:00
Thomas Renninger
6d3697e5f8 Accepting request 639399 from home:SchoolGuy:branches:Base:System
- Removed aarch64-compile-fixes.patch because it is mainline now.
- Update to version 1.4.0:
  * Fixed an erroneous calculation of min_load that restricted candidates to a
    subset of objects
  * Fixed powerpc hotplug detection
  * Cleaned up syslog target dependency
  * Added some self test infrastructure (via make check)
- Update to version 1.3.0
  * New features in this release:
      optimization of platform device irq detection
      Added sample udev rules to trigger irq rescans on device add/remove
      Made irqbalance ui an optional compile component
      Added support for Intel CoD
      Add -v | --version option to command line
  * Bug fixes in this release:
      Misc compiler warning fixes and spelling errors
      Compilation error fix on aarch64
      Compilation error fix when using clang in c99 mode
      Unused variable cleanup
      Lots of memory leak cleanup in irqbalance-ui
      Prevent irqbalance from running in a container
      Fix irq affinity assignment in some cases to wrong numa node
      Fix oneshot mode
      exclude legacy irq 255
  * Deprecations:
      without-glib2 is removed, we just need it enough that we can't dummy it up
      anymore

OBS-URL: https://build.opensuse.org/request/show/639399
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=70
2018-10-02 13:50:40 +00:00
Dominique Leuenberger
02e88e651d Accepting request 545240 from Base:System
OBS-URL: https://build.opensuse.org/request/show/545240
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irqbalance?expand=0&rev=49
2017-11-30 11:41:17 +00:00
Thomas Renninger
a2413b1cf3 Accepting request 544684 from home:RBrownSUSE:branches:Base:System
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544684
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=68
2017-11-24 14:25:26 +00:00
Dominique Leuenberger
3e8d6201ec Accepting request 477538 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/477538
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irqbalance?expand=0&rev=48
2017-03-10 20:44:54 +00:00
Thomas Renninger
159953ce7f Accepting request 477517 from home:fschnizlein:branches:Base:System
- Remove superfluous comment out man package packing

OBS-URL: https://build.opensuse.org/request/show/477517
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=66
2017-03-07 14:25:39 +00:00