Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 2008 12:12:45 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-acpi@freebsd.org
Subject:   Re: acpi_cpu: binding processor object to pcpu struct.
Message-ID:  <200812011212.45582.jhb@freebsd.org>
In-Reply-To: <200811251835.mAPIZFIC002676@sana.init-main.com>
References:  <200811251835.mAPIZFIC002676@sana.init-main.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 25 November 2008 01:35:15 pm Takanori Watanabe wrote:
> In my box, processor does not binded properly to ACPI object, 
> so I wrote the code as follows.
> comment?
> 
> I'm afraid system pcpu unit number and cpu device instance number
> may inconsistent, but without this change, ACPI namespace and 
> pcpu struct does not match.

Hmm, so is the issue that the acpi_cpu driver expects processor objects to be 
listed in the same order in _PR_ as in the MADT?  If so, then that is 
probably a false assumption.  The MADT should always have ACPI IDs for non-UP 
systems.  OTOH, the comment in the code in acpi_cpu_attach() indicates that 
some boxes do not use the same ProcID value in processor objects and MADT 
entries and your patch breaks that case.   I will look at the spec to see how 
this is supposed to work.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812011212.45582.jhb>