Stefan Berger
2006-Oct-30 16:30 UTC
[Xen-devel] [PATCH] [HVMLOADER] Dynamically add probed devices to the ACPI''s XSDT using SSDT entries
The attached patch enables the hvmloader to dynamically add probed for devices to the ACPI''s XSDT table using SSDT entries. I have implemented the probing for the TPM TIS interface. First the static ACPI table is copied into the 0xe000 segment and then devices may be probed and their SSDT ACPI entries may be copied behind the static ACPI tables considering the barrier at 0xf 0000 where the BIOS lives. The SSDT entries are linked to the XSDT table which for now has 3 empty slots. The XSDT table is then updated and checksummed again. I rearranged those ACPI functions that are commonly used to be in acpi_utils.c. Signed-off-by: Stefan Berger <stefanb@us.ibm.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2006-Oct-30 17:19 UTC
Re: [Xen-devel] [PATCH] [HVMLOADER] Dynamically add probed devices to the ACPI''s XSDT using SSDT entries
On 30/10/06 16:30, "Stefan Berger" <stefanb@us.ibm.com> wrote:> The SSDT entries are linked to the XSDT table which for now > has 3 empty slots. The XSDT table is then updated and checksummed again. > I rearranged those ACPI functions that are commonly used to be in > acpi_utils.c.Is there any reason not to poke it into the legacy RSDT as well? You make room but don''t fill in the blank. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefan Berger
2006-Oct-30 17:48 UTC
Re: [Xen-devel] [PATCH] [HVMLOADER] Dynamically add probed devices to the ACPI''s XSDT using SSDT entries
xen-devel-bounces@lists.xensource.com wrote on 10/30/2006 12:19:49 PM:> > > > On 30/10/06 16:30, "Stefan Berger" <stefanb@us.ibm.com> wrote: > > > The SSDT entries are linked to the XSDT table which for now > > has 3 empty slots. The XSDT table is then updated and checksummedagain.> > I rearranged those ACPI functions that are commonly used to be in > > acpi_utils.c. > > Is there any reason not to poke it into the legacy RSDT as well? Youmake> room but don''t fill in the blank.I tested the change against a 2.6.18 kernel and found that there it works without the RSDT entry. So I did not make that entry. If you think it''s necessary, then I can add functionality for the RSDT part as well and have it registered in both tables. Stefan> > -- Keir > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2006-Oct-30 17:55 UTC
Re: [Xen-devel] [PATCH] [HVMLOADER] Dynamically add probed devices to the ACPI''s XSDT using SSDT entries
On 30/10/06 17:48, "Stefan Berger" <stefanb@us.ibm.com> wrote:>> > Is there any reason not to poke it into the legacy RSDT as well? You make >> > room but don''t fill in the blank. > > I tested the change against a 2.6.18 kernel and found that there it works > without the RSDT entry. So I did not make that entry. If you think it''s > necessary, then I can add functionality for the RSDT part as well and have it > registered in both tables.Should be harmless. The RSDT is only used by ACPI 1.0 Oses that do not know about the XSDT. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel