Akio Takebe
2007-Jul-29 22:52 UTC
[Xen-ia64-devel] [Patch 0/3] Disable ACPI SRAT, SLIT on dom0 <take 3>
Hi, Keir, Alex and all I updated my patches again. Summary: On some ia64 NUMA machine, we cannot boot dom0. This issue is caused by different infomation LSAPIC and SRAT. Xen-ia64 modify LSAPIC IDs of dom0, but it does not modify SRAT. Currently, credit scheduler does not consider NUMA system. And Xen-ia64 pass raw ACPI SRAT, SLIT infomation to dom0. If xen pass NUMA infomation to dom0, dom0 cannot move properly because vcpus can migrate and memory mapping is virtualized. So we decide disabling SRAT, SLIT of dom0 as first step of NUMA work. [Patch 1/3] Move generate_acpi_checksum() from ia64 code to common. [Patch 2/3] Only add acpi_table_disable() into xen/drivers/acpi/tables.c [Patch 3/3] Disable ACPI SRAT,SLIT on dom0 The previous discussions are; http://lists.xensource.com/archives/html/xen-ia64-devel/2007-07/msg00146.html http://lists.xensource.com/archives/html/xen-ia64-devel/2007-07/msg00220.html Changelog: - Move generate_acpi_checksum() from ia64 code to common - Add dom_fw_acpi.c in libxc/ia64. - Move add acpi_table_disable() from ia64 code to common Best Regards, Akio Takebe _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel
Akio Takebe
2007-Jul-29 22:56 UTC
Re: [Xen-ia64-devel] [Patch 0/3] Disable ACPI SRAT, SLIT on dom0 <take 3>
Hi, This patch move generate_acpi_checksum() from ia64 code to common. Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com> Best Regards, Akio Takebe _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel
Akio Takebe
2007-Jul-29 22:58 UTC
[Xen-ia64-devel] Re: [Xen-devel] [Patch 0/3] Disable ACPI SRAT, SLIT on dom0 <take 3>
Hi, Add acpi_table_disable() into xen/drivers/acpi/tables.c This function can disable a ACPI table by updating the table header. Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com> Best Regards, Akio Takebe _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel
Akio Takebe
2007-Jul-29 23:00 UTC
[Xen-ia64-devel] Re: [Xen-devel] [Patch 0/3] Disable ACPI SRAT, SLIT on dom0 <take 3>
Hi, This patch is for ia64. On some ia64 NUMA machine, we cannot boot dom0. This issue is caused by different infomation LSAPIC and SRAT. Xen-ia64 modify LSAPIC IDs of dom0, but it does not modify SRAT. So we decide disabling SRAT, SLIT of dom0 as first step of NUMA work. Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com> Best Regards, Akio Takebe _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel
Alex Williamson
2007-Jul-30 15:31 UTC
[Xen-devel] Re: [Xen-ia64-devel] [Patch 0/3] Disable ACPI SRAT, SLIT on dom0 <take 3>
On Mon, 2007-07-30 at 07:56 +0900, Akio Takebe wrote:> > diff -r 4492a0285bae -r 7e81d7ec1bb9 tools/libxc/ia64/Makefile > --- a/tools/libxc/ia64/Makefile Fri Jul 27 08:15:16 2007 -0600 > +++ b/tools/libxc/ia64/Makefile Mon Jul 30 07:17:24 2007 +0900 > @@ -5,7 +5,7 @@ GUEST_SRCS-y += ia64/xc_ia64_linux_resto > GUEST_SRCS-y += ia64/xc_ia64_linux_restore.c > > GUEST_SRCS-y += ia64/xc_dom_ia64_util.c > -DOMFW_SRCS_BASE := dom_fw_common.c dom_fw_domu.c dom_fw_asm.S > +DOMFW_SRCS_BASE := dom_fw_common.c dom_fw_domu.c dom_fw_asm.S > dom_fw_acpi.c > DOMFW_SRCS := $(addprefix ia64/, $(DOMFW_SRCS_BASE)) > $(DOMFW_SRCS): > ln -sf ../$(XEN_ROOT)/xen/arch/ia64/xen/$(@F) $@This doesn''t build. DOMFW_SRCS_BASE is used as the list of base file names that get linked from the xen tree. This file needs to be built from the local copy. Adding the the GUEST_SRCS-y list is the way to make that happen. Keir, please apply the patch below to fix the ia64 build in staging. Thanks, Alex Signed-off-by: Alex Williamson <alex.williamson@hp.com> --- diff -r 9cd309378326 tools/libxc/ia64/Makefile --- a/tools/libxc/ia64/Makefile Mon Jul 30 11:28:16 2007 +0100 +++ b/tools/libxc/ia64/Makefile Mon Jul 30 09:07:14 2007 -0600 @@ -5,7 +5,9 @@ GUEST_SRCS-y += ia64/xc_ia64_linux_resto GUEST_SRCS-y += ia64/xc_ia64_linux_restore.c GUEST_SRCS-y += ia64/xc_dom_ia64_util.c -DOMFW_SRCS_BASE := dom_fw_common.c dom_fw_domu.c dom_fw_asm.S dom_fw_acpi.c +GUEST_SRCS-y += ia64/dom_fw_acpi.c + +DOMFW_SRCS_BASE := dom_fw_common.c dom_fw_domu.c dom_fw_asm.S DOMFW_SRCS := $(addprefix ia64/, $(DOMFW_SRCS_BASE)) $(DOMFW_SRCS): ln -sf ../$(XEN_ROOT)/xen/arch/ia64/xen/$(@F) $@ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel