WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

RE: [Xen-ia64-devel] [PATCH] Fix acpi_parse_lsapic for host SMP

To: "Masaki Kanno" <kanno.masaki@xxxxxxxxxxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-ia64-devel] [PATCH] Fix acpi_parse_lsapic for host SMP
From: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Date: Wed, 21 Dec 2005 08:34:24 -0800
Delivery-date: Wed, 21 Dec 2005 16:37:11 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcYFMSiZrnsCBOGqQ0GmjbM96baaTQBGziEg
Thread-topic: [Xen-ia64-devel] [PATCH] Fix acpi_parse_lsapic for host SMP
Committed. 

> -----Original Message-----
> From: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf 
> Of Masaki Kanno
> Sent: Monday, December 19, 2005 11:46 PM
> To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-ia64-devel] [PATCH] Fix acpi_parse_lsapic for host SMP
> 
> Hi,
> 
> This patch is intended to correct the number of CPUs.
> 
> Our IPF machines are the following configurations.
>  - Total logical cpus = 16
>   -- 4 sockets
>   -- 2 cores
>   -- 2 threads
> 
> I changed the setting of BIOS, and invalidated the 
> hyperthread, and I built Xen with NR_CPUS=8.
> As a result, it became like attached file xendmesg1.txt.
>  - Available cpus 3
>  - Total cpus 8
> 
> Next, I built Xen with NR_CPUS=16.
> As a result, it became like attached file xendmesg2.txt.
>  - Available cpus 8
>  - Total cpus 16
> 
> I thought not to match the analysis of the lsapic entry to 
> the value of NR_CPUS. 
> 
> It is an outline of patch as follows.
>  1. Count up the lsapic entry by using 
> acpi_table_count_madt()/acpi_table_count_madt_family().
>  2. Call acpi_parse_lsapic() by using the number of lsapic entries.
>  3. Count up the available_cpus by using acpi_parse_lsapic(), 
> however NR_CPUS is not exceeded.
> 
> Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
> 
> Best Regards,
>  Kan
> 
> 

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

<Prev in Thread] Current Thread [Next in Thread>