From: Laszlo Ersek <lersek@redhat.com>
To: aliguori@us.ibm.com, qemu-devel@nongnu.org, seabios@seabios.org
Subject: [Qemu-devel] [qemu PATCH 0/5] publish etc/acpi/APIC in fw_cfg
Date: Mon, 8 Apr 2013 15:13:18 +0200 [thread overview]
Message-ID: <1365426803-1781-1-git-send-email-lersek@redhat.com> (raw)
This series exports the MADT (APIC) ACPI table under the new
"etc/acpi/APIC" fw_cfg file. I sought to follow the requirements set
forth in [1], the new table is only visible in the patched/patched case.
I cross-tested { master, patched } qemu with { master, patched } seabios
(the APIC, DSDT and RSDT tables) using guest acpidump and dmesg.
The -acpitable command line option is purposely ignored based on the
last paragraph of [2]; the user isn't supposed to pass APIC with that
option.
checkpatch.pl complains a little but (as last time) it's a false alarm.
The series is bisectable.
[1] http://thread.gmane.org/gmane.comp.emulators.qemu/202005/focus=202072
[2] http://thread.gmane.org/gmane.comp.bios.coreboot.seabios/5960/focus=6008
Laszlo Ersek (5):
refer to FWCfgState explicitly
hw/acpi: extract standard table headers as a standalone structure
hw/acpi: export default ACPI headers using the type just introduced
hw/acpi: export acpi_checksum()
i386/pc: build ACPI MADT (APIC) for fw_cfg clients
hw/acpi.h | 15 +++++
hw/loader.h | 3 +-
hw/multiboot.h | 4 +-
hw/pc.h | 20 ++++---
hw/acpi.c | 89 ++++++++++++++-------------
hw/acpi_piix4.c | 2 +-
hw/i386/multiboot.c | 2 +-
hw/i386/pc.c | 166 +++++++++++++++++++++++++++++++++++++++++++++++----
hw/i386/pc_piix.c | 4 +-
hw/i386/pc_q35.c | 10 ++-
hw/loader.c | 2 +-
hw/sparc/sun4m.c | 6 +-
hw/sparc64/sun4u.c | 2 +-
13 files changed, 248 insertions(+), 77 deletions(-)
next reply other threads:[~2013-04-08 13:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-08 13:13 Laszlo Ersek [this message]
2013-04-08 13:13 ` [Qemu-devel] [qemu PATCH 1/5] refer to FWCfgState explicitly Laszlo Ersek
2013-04-08 13:13 ` [Qemu-devel] [qemu PATCH 2/5] hw/acpi: extract standard table headers as a standalone structure Laszlo Ersek
2013-04-08 13:13 ` [Qemu-devel] [qemu PATCH 3/5] hw/acpi: export default ACPI headers using the type just introduced Laszlo Ersek
2013-04-08 13:13 ` [Qemu-devel] [qemu PATCH 4/5] hw/acpi: export acpi_checksum() Laszlo Ersek
2013-04-08 13:13 ` [Qemu-devel] [qemu PATCH 5/5] i386/pc: build ACPI MADT (APIC) for fw_cfg clients Laszlo Ersek
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=1365426803-1781-1-git-send-email-lersek@redhat.com \
--to=lersek@redhat.com \
--cc=aliguori@us.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=seabios@seabios.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;
as well as URLs for NNTP newsgroup(s).