Received: from eggs.gnu.org ([2001:4830:134:3::10]:34952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY9dM-0004aP-0E for qemu-devel@nongnu.org; Tue, 23 Feb 2016 04:51:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aY9dL-0000ym-3o for qemu-devel@nongnu.org; Tue, 23 Feb 2016 04:51:55 -0500 Date: Tue, 23 Feb 2016 11:51:43 +0200 From: "Michael S. Tsirkin" Message-ID: <20160223115137-mutt-send-email-mst@redhat.com> References: <1455906029-25565-1-git-send-email-somlo@cmu.edu> <1455906029-25565-6-git-send-email-somlo@cmu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <1455906029-25565-6-git-send-email-somlo@cmu.edu> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v9 5/5] fw_cfg: document ACPI device node information List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Gabriel L. Somlo" Cc: peter.maydell@linaro.org, ehabkost@redhat.com, ard.biesheuvel@linaro.org, matt@codeblueprint.co.uk, stefanha@gmail.com, qemu-devel@nongnu.org, leif.lindholm@linaro.org, luto@amacapital.net, qemu-arm@nongnu.org, kraxel@redhat.com, pbonzini@redhat.com, imammedo@redhat.com, lersek@redhat.com, rth@twiddle.net On Fri, Feb 19, 2016 at 01:20:29PM -0500, Gabriel L. Somlo wrote: > Signed-off-by: Gabriel Somlo > Reviewed-by: Laszlo Ersek > Reviewed-by: Marc Mar=ED Reviewed-by: Michael S. Tsirkin > --- > docs/specs/fw_cfg.txt | 9 +++++++++ > 1 file changed, 9 insertions(+) >=20 > diff --git a/docs/specs/fw_cfg.txt b/docs/specs/fw_cfg.txt > index 2099ad9..5414140 100644 > --- a/docs/specs/fw_cfg.txt > +++ b/docs/specs/fw_cfg.txt > @@ -84,6 +84,15 @@ Selector Register address: Base + 8 (2 bytes) > Data Register address: Base + 0 (8 bytes) > DMA Address address: Base + 16 (8 bytes) > =20 > +=3D=3D ACPI Interface =3D=3D > + > +The fw_cfg device is defined with ACPI ID "QEMU0002". Since we expect > +ACPI tables to be passed into the guest through the fw_cfg device itse= lf, > +the guest-side firmware can not use ACPI to find fw_cfg. However, once= the > +firmware is finished setting up ACPI tables and hands control over to = the > +guest kernel, the latter can use the fw_cfg ACPI node for a more accur= ate > +inventory of in-use IOport or MMIO regions. > + > =3D=3D Firmware Configuration Items =3D=3D > =20 > =3D=3D=3D Signature (Key 0x0000, FW_CFG_SIGNATURE) =3D=3D=3D > --=20 > 2.4.3