From: Ahmad Fatoum <a.fatoum@barebox.org>
To: barebox@lists.infradead.org
Subject: [PATCH 0/6] firmware: qemu_fw_cfg: improve support
Date: Thu, 15 Jan 2026 13:06:08 +0100 [thread overview]
Message-ID: <20260115120748.3433463-1-a.fatoum@barebox.org> (raw)
This series adds DMA support to QEMU FW_CFG also on the read size,
allows a completely dma-less PIO mode and adds support for parsing
the QEMU options for: -kernel, -initrd, -uuid and -append.
Ahmad Fatoum (6):
firmware: qemu_fw_cfg: use wider PIO reads if applicable
param: support uuid/guid parameter type
lib: smbios: add support for setting product UUID
common: boards: qemu: process some standard fw_cfg keys
firmware: qemu_fw_cfg: add proper DMA and PIO bidirectional operating
modes
ARM: configs: multi: enable QEMU FW_CFG
arch/arm/configs/multi_v5_v6_defconfig | 2 +
arch/arm/configs/multi_v7_defconfig | 2 +
arch/arm/configs/multi_v8_defconfig | 2 +
common/boards/Kconfig | 8 +
common/boards/Makefile | 1 +
common/boards/qemu/Makefile | 4 +
.../defaultenv-qemu_fw_cfg/boot/qemu_fw_cfg | 12 +
common/boards/qemu/fw_cfg.c | 208 ++++++++++++
common/globalvar.c | 40 +++
common/misc.c | 14 +
drivers/firmware/Kconfig | 1 +
drivers/firmware/qemu_fw_cfg.c | 297 +++++++++++-------
include/barebox-info.h | 4 +
include/globalvar.h | 12 +
include/linux/sprintf.h | 3 +
include/param.h | 39 +++
lib/parameter.c | 95 ++++++
lib/smbios.c | 18 +-
lib/vsprintf.c | 2 +-
19 files changed, 648 insertions(+), 116 deletions(-)
create mode 100644 common/boards/qemu/Makefile
create mode 100755 common/boards/qemu/defaultenv-qemu_fw_cfg/boot/qemu_fw_cfg
create mode 100644 common/boards/qemu/fw_cfg.c
--
2.47.3
next reply other threads:[~2026-01-15 12:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-15 12:06 Ahmad Fatoum [this message]
2026-01-15 12:06 ` [PATCH 1/6] firmware: qemu_fw_cfg: use wider PIO reads if applicable Ahmad Fatoum
2026-01-15 12:06 ` [PATCH 2/6] param: support uuid/guid parameter type Ahmad Fatoum
2026-01-15 12:06 ` [PATCH 3/6] lib: smbios: add support for setting product UUID Ahmad Fatoum
2026-01-15 12:06 ` [PATCH 4/6] common: boards: qemu: process some standard fw_cfg keys Ahmad Fatoum
2026-01-19 11:13 ` Sascha Hauer
2026-01-19 11:33 ` Ahmad Fatoum
2026-01-15 12:06 ` [PATCH 5/6] firmware: qemu_fw_cfg: add proper DMA and PIO bidirectional operating modes Ahmad Fatoum
2026-01-15 12:06 ` [PATCH 6/6] ARM: configs: multi: enable QEMU FW_CFG Ahmad Fatoum
2026-01-19 12:11 ` [PATCH 0/6] firmware: qemu_fw_cfg: improve support Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260115120748.3433463-1-a.fatoum@barebox.org \
--to=a.fatoum@barebox.org \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox