All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/9] acpi: add ACPI support on QEMU ARM and RISC-V
@ 2023-12-19 15:03 Heinrich Schuchardt
  2023-12-19 15:04 ` [PATCH v4 1/9] acpi: Kconfig symbol CONFIG_QFW_ACPI Heinrich Schuchardt
                   ` (8 more replies)
  0 siblings, 9 replies; 24+ messages in thread
From: Heinrich Schuchardt @ 2023-12-19 15:03 UTC (permalink / raw)
  To: Simon Glass
  Cc: Rick Chen, Leo, Tuomas Tynkkynen, Bin Meng, Ilias Apalodimas,
	u-boot, Heinrich Schuchardt

QEMU 8.1.2 can create ACPI tables for the ARM and RISC-V architectures
Allow passing them through to the operating system.
Provide a new config fragment that enables this.

v4:
	mention that RISC-V ACPI support is available since QEMU v8.0.0
v3:
	let tables in global data depend on CONFIG_(SPL_)ACPI
v2:
	consider ARM architecture too
	invoke write_acpi_tables() via EVT_LAST_STAGE_INIT

Heinrich Schuchardt (9):
  acpi: Kconfig symbol CONFIG_QFW_ACPI
  acpi: carve out qfw_acpi.c
  arm: add ACPI fields to global data
  risc-v: add ACPI fields to global data
  acpi: enable writing ACPI tables on QEMU
  risc-v: add support for QEMU firmware tables
  riscv: allow usage of ACPI
  configs: qemu: add config fragment for ACPI
  arm: enable support for QEMU firmware tables

 MAINTAINERS                          |   1 +
 arch/Kconfig                         |   1 +
 arch/arm/include/asm/global_data.h   |   7 +-
 arch/riscv/include/asm/global_data.h |   6 +
 board/emulation/configs/acpi.config  |   3 +
 board/emulation/qemu-arm/Kconfig     |   1 +
 board/emulation/qemu-riscv/Kconfig   |   2 +
 doc/board/emulation/acpi.rst         |  23 +++
 doc/board/emulation/index.rst        |   1 +
 drivers/misc/Kconfig                 |   7 +
 drivers/misc/Makefile                |   1 +
 drivers/misc/qfw.c                   | 240 -----------------------
 drivers/misc/qfw_acpi.c              | 281 +++++++++++++++++++++++++++
 lib/acpi/Makefile                    |   2 +-
 lib/acpi/acpi_writer.c               |   4 +-
 15 files changed, 336 insertions(+), 244 deletions(-)
 create mode 100644 board/emulation/configs/acpi.config
 create mode 100644 doc/board/emulation/acpi.rst
 create mode 100644 drivers/misc/qfw_acpi.c

-- 
2.40.1


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2024-01-08  0:20 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-19 15:03 [PATCH v4 0/9] acpi: add ACPI support on QEMU ARM and RISC-V Heinrich Schuchardt
2023-12-19 15:04 ` [PATCH v4 1/9] acpi: Kconfig symbol CONFIG_QFW_ACPI Heinrich Schuchardt
2024-01-08  0:16   ` Simon Glass
2023-12-19 15:04 ` [PATCH v4 2/9] acpi: carve out qfw_acpi.c Heinrich Schuchardt
2023-12-29  7:33   ` Ilias Apalodimas
2024-01-08  0:16     ` Simon Glass
2023-12-19 15:04 ` [PATCH v4 3/9] arm: add ACPI fields to global data Heinrich Schuchardt
2023-12-19 17:02   ` Ilias Apalodimas
2023-12-20  4:46   ` Simon Glass
2024-01-08  0:16     ` Simon Glass
2023-12-19 15:04 ` [PATCH v4 4/9] riscv: " Heinrich Schuchardt
2024-01-08  0:16   ` Simon Glass
2023-12-19 15:04 ` [PATCH v4 5/9] acpi: enable writing ACPI tables on QEMU Heinrich Schuchardt
2023-12-29  7:32   ` Ilias Apalodimas
2024-01-08  0:16     ` Simon Glass
2023-12-19 15:04 ` [PATCH v4 6/9] riscv: add support for QEMU firmware tables Heinrich Schuchardt
2024-01-08  0:16   ` Simon Glass
2023-12-19 15:04 ` [PATCH v4 7/9] riscv: allow usage of ACPI Heinrich Schuchardt
2024-01-08  0:16   ` Simon Glass
2023-12-19 15:04 ` [PATCH v4 8/9] configs: qemu: add config fragment for ACPI Heinrich Schuchardt
2024-01-08  0:16   ` Simon Glass
2023-12-19 15:04 ` [PATCH v4 9/9] arm: enable support for QEMU firmware tables Heinrich Schuchardt
2023-12-20 12:48   ` Ilias Apalodimas
2024-01-08  0:16     ` Simon Glass

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.