<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-virtualization.git/recipes-extended/irqbalance/irqbalance_git.bb, branch whinlatter</title>
<subtitle>Mirror of git.yoctoproject.org/meta-virtualization</subtitle>
<id>https://git.enea.com/cgit/linux/meta-virtualization.git/atom?h=whinlatter</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-virtualization.git/atom?h=whinlatter'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/'/>
<updated>2025-12-02T04:40:02+00:00</updated>
<entry>
<title>irqbalance: update to v1.9.4</title>
<updated>2025-12-02T04:40:02+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@gmail.com</email>
</author>
<published>2025-12-02T03:48:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=18c8c609913aac602df58f53763ff915e18c7a03'/>
<id>urn:sha1:18c8c609913aac602df58f53763ff915e18c7a03</id>
<content type='text'>
Along with picking up the latest commits:

 - we drop our previously backported patch
 - make the init system selection more flexible, with a systemd
   PACKAGECONFIG
 - package the upstream .service file + support environment

Bumping irqbalance to version v1.9.4-85-g4c23485, which comprises the following commits:

    907b65f meson: force systemd-service installation with a seperate option
    14fb838 Fixed incorrect comparison in snprintf() in procinterrupts.c.
    5fdc1d6 Added missing '/' and fixed message in procinterrupts.c.
    030edf9 Safer string handling in procinterrupts.c.
    0a7ca36 Increase file descriptor limit via systemd service file
    ef80188 update workflows to ubuntu-24.04
    41cb97c Properly embed EnvironmentFile sourced systemd configs into meson and autonconf
    4996883 Unify meson and autoconf: Install executables to sbin
    ffa304a Fix the wrong string existence checking condition
    d602002 check_platform_device: Check the length of path
    105b155 Check API command length, allow up to 16384
    d434114 fix some GCC fanalyzer warnings
    3685d33 Use EPERM instead of EIO when try setting irq affinity fails
    1489ae3 irqbalance.1: a , b =&gt; a, b; it's type =&gt; its type
    25fa380 Check info-&gt;moved before updating
    196385b Add CAP_SETPCAP to CapabilityBoundingSet in irqbalance.service
    5d9eb19 Version option should return 0 rather than 1
    2860da4 Minor punctuation fix.
    42115bd define IRQBALANCE_ARGS as empty string to squelch systemd warning
    da75aae conver strncmp to g_str_has_prefix
    6f9f9e9 avoid malloc with create_credentials_msg
    4341808 use g_strdup_printf
    4d53728 gcc analyzer: increase socket_name size
    e39848b gcc analyzer: add NULL checks
    7622883 remove malloc from ucred
    a7cfbeb use g_malloc and friends
    13916f7 clang-tidy: remove pointless casts
    2ed4dd0 clang-tidy: don't assign in if
    16564e3 clang-tidy: add missing free
    d36ae56 direct initialize iovec
    5010a97 direct initialize msghdr members
    9851c8c Remove extraneous space causing --with-systemd not be aligned
    c90599b Disable linking to curses if --without-irqbalance-ui is specified.
    5405144 Track IRQ "slots" count per CPU to avoid overflowing
    d16ad5d Wrap migrate_irq in a higher level utility function
    44795ad CI: add meson CI
    e78ea26 clang-tidy: remove duplicate include
    02f7c17 clang-tidy: remove redundant declarations
    9b1ced2 clang-tidy: remove return in void functions
    2c3cbb5 clang-tidy: don't use else after return
    8f575ec replace malloc with g_malloc0
    4c1b0a0 clang-tidy: properly use strncmp
    122ae9e clang-tidy: don't assign in if
    80a8aeb ui: change void to char
    2e1bf90 meson: use find_library for numa
    280b89d meson: replace generic array with files()
    f2c8309 Drop ProtectKernelTunables
    23c6da7 meson: add a minimum version decorator
    ea733f4 meson: drop redundant install_man() options
    21e1ae8 meson: bump project version to 1.9.4
    922ee47 meson: move build files to repository root
    f2aebff cast void pointer to actual type
    b6a831d add void to fix strict-prototypes
    1277ea5 fix 32-bit formats
    8301666 Check fflush() return value
    c0cd614 irqbalance-ui: check if using a negative index of buffer
    f8b8cdd update configure to version 1.9.4
    8d7c783 Flush file before closing
    de0fe4a Fix socket API being blocked for 10s
    a99b604 Set additional systemd options for service
    f4d987f activate_mapping: set errsave before first jump to the error label
    b4c3771 Avoid repeated affinity checks when no change is necessary
    ad0ea2c Slience "... rebalancing" messages for unmigratable IRQs
    f3282f4 filter console only output when using journal mode
    43cace4 Enable systemd feature support by default when building with meson
    2c167c4 Add support for linking against libnl when building with meson
    73cc58c Turn NUMA support into an enabled feature, when building with meson
    1aed521 Set project version of meson build to 1.9.3
    f042291 Install man pages when building with meson
    2b59014 When building with meson, make sure to link against numa
    5635a2e Updating to version 1.9.3
    75a15c5 Automatically use systemd journal and run in foreground when under systemd
    bc7794d activate_mapping: avoid logging error when there is none
    eee7917 activate_mapping: only blacklist irq if error is considered permanent
    9a1fd29 activate_mapping: report error reason
    470a64b activate_mapping: make sure to catch all errors
    f589bdc activate_mapping: avoid use-after-free when affinity cannot be set
    4efc192 Revert "activate_mapping: fflush the buffered data to smp_affinity"
    8bbc0ae activate_mapping: fflush the buffered data to smp_affinity
    d02ec54 procinterrupts: fix initialisation of regex_t struct
    0e05127 Fix it so we actually stop when we hit an interrupt condition
    3920e06 Fix signedness of error handling
    ea1e9a7 Revert "Fix CPU number condition in service file"
    0e9acb6 Issue 259: select NL_SKIP / NL_STOP based on error
    f166b00 fix CPU number condition in service file
    c91bdf6 thermal: Fix log message for perf and efficiency
    f85c6c1 ui: do not force black background
    ac4ba06 irqbalance: fix memory leak in irq hotplug path
    bbcd9a4 procinterrupts: Fix IRQ name parsing on certain arm64 SoC
    178cf3b thermal: Fix the warning message
    efec4c6 allow AF_NETLINK in the systemd service restrictions
    7c18ffc optimize getting cpu number
    3ddaa30 updating to version 1.9.2
    febe697 change  the log level in thermal.c from error to warning
    b25b1f9 Avoid double free on deinit_thermal()
    014765d Fix uninitialized variable
    e10949e irqbalance: fix a minor typo
    ac05cb7 updating to version 1.9.1
    725d9b1 irqbalance: properly check if irq is banned
    402ca1b irqbalance-ui: display irq name in SETUP IRQS
    d48eaf6 irqbalance: use endptr to check whether the input parameter is empty
    c8d1fff irqbalance-ui: skip ',' in parse_setup to avoid coredump
    cfb15f0 Improve documentation and logging for banned cpus
    577796a irqbalance-ui: print cpulist in SETUP IRQS
    db7dc03 irqbalance-ui: support scroll under tui mode of irqbalance-ui
    a61b382 fix memory leak in ui/ui.c
    b65faa2 irqbalance-ui: can't change window when in editing state
    7f1caca irqbalance-ui: move 'ASSIGNED TO CPUS' to the last column
    0a82ddd parse_proc_interrupts: fix parsing interrupt counts
    028082a add keep_going check to prevent irqbalance from failing to exit after SIGTERM
    5602913 Handle thermal events to mask CPUs
    c65cda1 Implement Netlink helper functions to subscribe thermal events
    b66647a Prepare to handle thermal event
    378d470 add meson
    bd67801 Enable static building of irqbalance
    5228835 check whether savedptr is NULL before invoking strlen
    ff48ac9 get irq-&gt;module relationship from /sys/bus/pci/*/driver
    80d5fbb updating to version 1.0.9
    df3436b Add the cpus_copy() helper
    61a9423 correct wait time in oneshot mode
    917b102 Document migrateval
    188f9ef Confine irqbalance to systems where it is useful.
    0f594a6 Separate variable declaration from assignment
    9b004c6 Ensure that we get all of a unix message

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>recipes-extended: adapt to UNPACKDIR changes</title>
<updated>2025-06-26T02:49:03+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@gmail.com</email>
</author>
<published>2025-06-26T02:49:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=7a2ad2585b0a3e80b5e943c771db7310de761d5b'/>
<id>urn:sha1:7a2ad2585b0a3e80b5e943c771db7310de761d5b</id>
<content type='text'>
Adjusting our extended recipes to the OE core UNPACKDIR processing.

We mainly just drop our S = assignments for git recipes

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>irqbalance: fix build with gcc-15</title>
<updated>2025-05-06T01:45:13+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>martin.jansa@gmail.com</email>
</author>
<published>2025-04-29T10:07:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=4cd49b239e344bf7b9107bbd6d23435cfac1f550'/>
<id>urn:sha1:4cd49b239e344bf7b9107bbd6d23435cfac1f550</id>
<content type='text'>
* fixes:
  http://errors.yoctoproject.org/Errors/Details/853261/

Signed-off-by: Martin Jansa &lt;martin.jansa@gmail.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>recipes/classes/scripts: Drop SRCPV usage</title>
<updated>2023-08-24T01:38:21+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@gmail.com</email>
</author>
<published>2023-08-12T03:24:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=08435d20b1259d2ef0c98638116fb881045ff512'/>
<id>urn:sha1:08435d20b1259d2ef0c98638116fb881045ff512</id>
<content type='text'>
bitbake has been enhanced such that SRCPV is no longer needed in
PV to handle updating git hashes and task signatures.

We can simplify our PV by dropping SRCPV

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>irqbalance: Use built-in irqbalance.service instead of local one</title>
<updated>2022-08-24T01:43:33+00:00</updated>
<author>
<name>He Zhe</name>
<email>zhe.he@windriver.com</email>
</author>
<published>2022-08-22T10:23:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=46f90043656ade78ea1b8a23506aaa27f9fa8b39'/>
<id>urn:sha1:46f90043656ade78ea1b8a23506aaa27f9fa8b39</id>
<content type='text'>
The local irqbalanced.service was written long before when there wasn't one in
upstream. Then upstream created temporary runtime directory /run/irqbalance in
its irqbalanced.service, but no one did this for this recipe. Which renders the
following error.

/usr/sbin/irqbalance[314]: Daemon couldn't be bound to the file-based socket.

This patch starts to use upstream irqbalance.service instead and remove the
local one.

root@qemux86-64:~# systemctl status irqbalanced
* irqbalanced.service - irqbalance daemon
     Loaded: loaded (/lib/systemd/system/irqbalanced.service; enabled; preset: enabled)
     Active: active (running) since Mon 2022-08-22 10:10:22 UTC; 3s ago
       Docs: man:irqbalance(1)
             https://github.com/Irqbalance/irqbalance
   Main PID: 208 (irqbalance)
      Tasks: 2 (limit: 263)
     Memory: 1.4M
     CGroup: /system.slice/irqbalanced.service
             `-208 /usr/sbin/irqbalance --foreground

Aug 22 10:10:22 qemux86-64 systemd[1]: Started irqbalance daemon.
root@qemux86-64:~# ls -l /run/irqbalance/irqbalance208.sock
srwxr-xr-x 1 root root 0 Aug 22 10:10 /run/irqbalance/irqbalance208.sock

Signed-off-by: He Zhe &lt;zhe.he@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>irqbalance: update to 1.8.0-tip</title>
<updated>2022-03-29T14:06:20+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@gmail.com</email>
</author>
<published>2022-03-29T14:06:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=f17c020e205e499565e2fe40f6d63c19a420d229'/>
<id>urn:sha1:f17c020e205e499565e2fe40f6d63c19a420d229</id>
<content type='text'>
Bumping irqbalance to version v1.6.0-154-gb3adb5f, which comprises the following commits:

    0f594a6 Separate variable declaration from assignment
    9b004c6 Ensure that we get all of a unix message
    df7b543  Add '\0' to the end of strings to avoid heap buffer overflow
    f8bdd0e ui/ui.c: always use "%s"-style format for printf()-style functions
    efab272 Drop CapabilityBoundingSet from irqbalance service

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>irqbalance: bump SRCREV to latest</title>
<updated>2021-11-08T14:18:20+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>Martin.Jansa@gmail.com</email>
</author>
<published>2021-11-07T17:37:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=3b91a3104ab377d94b12787e0a1b13deb55e78c6'/>
<id>urn:sha1:3b91a3104ab377d94b12787e0a1b13deb55e78c6</id>
<content type='text'>
* remove the incorrect comment about SRCREV being 1.7.0
* and add +git because the old SRCREV wasn't matching
  with 1.8.0 tag as well

* add -Wno-error=format-security to work around build failures with newer ncurses-6.3 like:
  | ../git/ui/ui.c:45:32: error: format not a string literal and no format arguments [-Werror=format-security]
  |    45 |         mvprintw(LINES - 1, 0, footer);
  |       |                                ^~~~~~

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>global: convert github SRC_URIs to use https protocol</title>
<updated>2021-11-02T13:57:03+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@gmail.com</email>
</author>
<published>2021-11-02T13:24:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=0a7ae8bc50208a7409198a8e92c4ce4afb2b5ed3'/>
<id>urn:sha1:0a7ae8bc50208a7409198a8e92c4ce4afb2b5ed3</id>
<content type='text'>
github is removing git:// access, and fetches will start experiencing
interruptions in service, and eventually will fail completely.

bitbake will also begin to warn on github src_uri's that don't use
https. So we convert the meta-virt instances to use protocol=https
(done using the oe-core contrib conversion script)

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>global: add explicit branch to all SRC_URIs</title>
<updated>2021-11-02T13:57:03+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@gmail.com</email>
</author>
<published>2021-10-29T13:51:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=ac399ad09105dce73bccde9574216377613a98de'/>
<id>urn:sha1:ac399ad09105dce73bccde9574216377613a98de</id>
<content type='text'>
As introduced in the oe-core post:

  https://lists.openembedded.org/g/openembedded-core/message/157623

SRC_URIs without an explicit branch will generate warnings, and
eventually be an error.

We run the provided conversion script to make sure that meta-virt
is ready for the change.

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>irqbalance: update to 1.8.0</title>
<updated>2021-06-04T12:43:10+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@gmail.com</email>
</author>
<published>2021-05-25T18:18:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=9bacb690c1a8ddff2134eaaab3c69509a072746f'/>
<id>urn:sha1:9bacb690c1a8ddff2134eaaab3c69509a072746f</id>
<content type='text'>
Integrating the following commits:

   bd5aaf5 Fix comma typo in ui.c
   43751df drop NoNewPrivs from irqbalance service
   066499a remove no existing irq in banned_irqs
   ee6b3bd Fix compile issue with none AARCH64 builds
   d17bcc9 Fix irqbalance cannot obtain the full name of irq
   99ae256 Updating irqbalance to v1.8.0
   47f0f26 Add return value check of opendir in do_one_cpu
   518d81c Hotplug may occur again during sleep, so wait until there is no hotplug
   fe0b99e ui: fix cpu/irq menu off by one
   0cdc7a2 fix uint64_t printf format (use PRIu64)
   31dea01 Also fetch node info for non-PCI devices
   ef9bf64 Add hot pull method for irqbalance
   6ae114f Add log for hotplug appropriately
   0ba4a60 add irq hotplug feature for irqbalance
   004c7ab Remove some unused constant macros in constants.h
   c995237 Add a deprecation notice for IRQBALANCE_BANNED_CPUS
   31c7d12 Add IRQBALANCE_BANNED_CPULIST to env file
   6fe0329 log correctly for isolated and nohz_full cpus
   04e5ce0 Update README.md
   4019fe6 Add some examples for IRQBALANCE_BANNED_CPUS
   b3f95be Adjust how we determine if a cpu is online
   c8757c6 activate_mapping: activate only online CPUs
   677b686 add env variable to ban cpus using cpulist syntax
   f6fcd3e put arg parsing detail into parse_command_line()

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
</feed>
