All of lore.kernel.org
 help / color / mirror / Atom feed
* [bluez/bluez] 7856c9: tools/test-runner: replace alloca() based argv setup
@ 2026-09-14 19:02 Pauli Virtanen
  0 siblings, 0 replies; only message in thread
From: Pauli Virtanen @ 2026-09-14 19:02 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: 7856c910c27da2b61fbb64db15cf243375990732
      https://github.com/bluez/bluez/commit/7856c910c27da2b61fbb64db15cf243375990732
  Author: Pauli Virtanen <pav@iki.fi>
  Date:   2026-09-14 (Mon, 14 Sep 2026)

  Changed paths:
    M tools/test-runner.c

  Log Message:
  -----------
  tools/test-runner: replace alloca() based argv setup

Rewrite alloca() based argv array construction that required manual size
counting with vasprintf string array. This allows splitting start_qemu()
to multiple functions.


  Commit: 67e1394c80547a6eb87486cd5bf83150da36d5f9
      https://github.com/bluez/bluez/commit/67e1394c80547a6eb87486cd5bf83150da36d5f9
  Author: Pauli Virtanen <pav@iki.fi>
  Date:   2026-09-14 (Mon, 14 Sep 2026)

  Changed paths:
    M doc/ci.config
    M doc/tester.config

  Log Message:
  -----------
  doc: enable virtio-fs in tester kernel configs

Add support for virtio-fs in tester configs.


  Commit: 6c1985716322b5574c5f3b8107fad8260939465c
      https://github.com/bluez/bluez/commit/6c1985716322b5574c5f3b8107fad8260939465c
  Author: Pauli Virtanen <pav@iki.fi>
  Date:   2026-09-14 (Mon, 14 Sep 2026)

  Changed paths:
    M doc/test-runner.rst
    M tools/test-runner.c

  Log Message:
  -----------
  tools/test-runner: use virtiofsd for filesystem passthrough

The 9p mount passthrough I/O is fairly CPU hungry and slow. This matters
for e.g. running Python in test-runner, since it has to read some amount
of files for startup.

Add support for virtio-fs, which is significantly less CPU intensive.

Enable it by default if /usr/libexec/virtiofsd is available, fall back
to 9p if virtiofsd not usable.

Before:
$ time make check-functional
real	2m9,736s
user	1m29,570s
sys	0m32,715s

After:
$ time make check-functional
real	1m35,703s
user	0m28,938s
sys	0m7,453s


  Commit: c8e2b951b07fc9b84fa7f3e70dcde2b61aab3ad8
      https://github.com/bluez/bluez/commit/c8e2b951b07fc9b84fa7f3e70dcde2b61aab3ad8
  Author: Pauli Virtanen <pav@iki.fi>
  Date:   2026-09-14 (Mon, 14 Sep 2026)

  Changed paths:
    M tools/test-runner.c

  Log Message:
  -----------
  tools/test-runner: Fix CPUID register clobbers

CPUID modifies EAX, EBX, ECX and EDX, but the inline asm clobber list is
incomplete.  Use the __get_cpuid() intrinsic instead.

Fixes rootfs_setup(r, argv) crashing due to impossible r != &rootfs due
to clobbered registers.

Assisted-by: qwen3.8-flash-next  # finding the bug


Compare: https://github.com/bluez/bluez/compare/61a2b3d93897...c8e2b951b07f

To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-14 19:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-14 19:02 [bluez/bluez] 7856c9: tools/test-runner: replace alloca() based argv setup Pauli Virtanen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.