public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* \_PR\CPU\_INI not called during initialization
@ 2003-10-06 16:47 Nate Lawson
  0 siblings, 0 replies; 6+ messages in thread
From: Nate Lawson @ 2003-10-06 16:47 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
  Cc: robert.moore-ral2JQCrhuEAvxtiuMwx3w

My laptop has two performance states I have been using, however, I get a 0
when I read the mhz and mW associated with each state.  When running with
debug = ACPI_LV_INIT, I noticed that the processor's _INI method is not
called and this is what fills out the Px info.  Is this something you'll
add to ACPICA or should I be handling that myself?

   http://root.org/~nate/acpi/ibm-acpidump.asl.gz

-Nate


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: \_PR\CPU\_INI not called during initialization
@ 2003-10-06 18:15 Moore, Robert
       [not found] ` <D3A3AA459175A44CB5326F26DA7A189C1C3DDA-sBd4vmA9Se58QrAoInS571DQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Moore, Robert @ 2003-10-06 18:15 UTC (permalink / raw)
  To: Nate Lawson, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


_INI methods are only called on objects of type "Device", as per the
ACPI specification.
Bob


-----Original Message-----
From: Nate Lawson [mailto:nate-Y6VGUYTwhu0@public.gmane.org] 
Sent: Monday, October 06, 2003 9:47 AM
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Cc: Moore, Robert
Subject: \_PR\CPU\_INI not called during initialization

My laptop has two performance states I have been using, however, I get a
0
when I read the mhz and mW associated with each state.  When running
with
debug = ACPI_LV_INIT, I noticed that the processor's _INI method is not
called and this is what fills out the Px info.  Is this something you'll
add to ACPICA or should I be handling that myself?

   http://root.org/~nate/acpi/ibm-acpidump.asl.gz

-Nate


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: \_PR\CPU\_INI not called during initialization
       [not found] ` <D3A3AA459175A44CB5326F26DA7A189C1C3DDA-sBd4vmA9Se58QrAoInS571DQ4js95KgL@public.gmane.org>
@ 2003-10-06 21:50   ` Nate Lawson
  0 siblings, 0 replies; 6+ messages in thread
From: Nate Lawson @ 2003-10-06 21:50 UTC (permalink / raw)
  To: Moore, Robert; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Since in ACPI 2.0 a processor declaration block can be under \_SB_, it
counts as a device.  If you don't want this in ACPICA, I'll stick it under
our Processor driver.

-Nate

On Mon, 6 Oct 2003, Moore, Robert wrote:
> _INI methods are only called on objects of type "Device", as per the
> ACPI specification.
> Bob
>
>
> -----Original Message-----
> From: Nate Lawson [mailto:nate-Y6VGUYTwhu0@public.gmane.org]
> Sent: Monday, October 06, 2003 9:47 AM
> To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Cc: Moore, Robert
> Subject: \_PR\CPU\_INI not called during initialization
>
> My laptop has two performance states I have been using, however, I get a
> 0
> when I read the mhz and mW associated with each state.  When running
> with
> debug = ACPI_LV_INIT, I noticed that the processor's _INI method is not
> called and this is what fills out the Px info.  Is this something you'll
> add to ACPICA or should I be handling that myself?
>
>    http://root.org/~nate/acpi/ibm-acpidump.asl.gz
>
> -Nate
>


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: \_PR\CPU\_INI not called during initialization
@ 2003-10-06 22:33 Moore, Robert
       [not found] ` <D3A3AA459175A44CB5326F26DA7A189C1C3DE0-sBd4vmA9Se58QrAoInS571DQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Moore, Robert @ 2003-10-06 22:33 UTC (permalink / raw)
  To: Nate Lawson; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Please send the DSDT from this machine, I'd like to see it.
Thanks,
Bob


-----Original Message-----
From: Nate Lawson [mailto:nate-Y6VGUYTwhu0@public.gmane.org] 
Sent: Monday, October 06, 2003 2:50 PM
To: Moore, Robert
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: RE: \_PR\CPU\_INI not called during initialization

Since in ACPI 2.0 a processor declaration block can be under \_SB_, it
counts as a device.  If you don't want this in ACPICA, I'll stick it
under
our Processor driver.

-Nate

On Mon, 6 Oct 2003, Moore, Robert wrote:
> _INI methods are only called on objects of type "Device", as per the
> ACPI specification.
> Bob
>
>
> -----Original Message-----
> From: Nate Lawson [mailto:nate-Y6VGUYTwhu0@public.gmane.org]
> Sent: Monday, October 06, 2003 9:47 AM
> To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Cc: Moore, Robert
> Subject: \_PR\CPU\_INI not called during initialization
>
> My laptop has two performance states I have been using, however, I get
a
> 0
> when I read the mhz and mW associated with each state.  When running
> with
> debug = ACPI_LV_INIT, I noticed that the processor's _INI method is
not
> called and this is what fills out the Px info.  Is this something
you'll
> add to ACPICA or should I be handling that myself?
>
>    http://root.org/~nate/acpi/ibm-acpidump.asl.gz
>
> -Nate
>


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: \_PR\CPU\_INI not called during initialization
       [not found] ` <D3A3AA459175A44CB5326F26DA7A189C1C3DE0-sBd4vmA9Se58QrAoInS571DQ4js95KgL@public.gmane.org>
@ 2003-10-06 22:55   ` Nate Lawson
  0 siblings, 0 replies; 6+ messages in thread
From: Nate Lawson @ 2003-10-06 22:55 UTC (permalink / raw)
  To: Moore, Robert; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Here is the info I'm going on, section 5.3.1:

%%%
\_PR
ACPI 1.0 Processor Namespace. ACPI 1.0 requires all Processor objects to
be defined under this namespace. ACPI 2.0 allows Processor object
definitions under the \_SB namespace. ACPI 2.0-compatible systems may
maintain the \_PR namespace for compatibility with ACPI 1.0 operating
systems. An ACPI 2.0-compatible namespace may define Processor objects in
either the \_SB or \_PR scope but not both.

\_SB
All Device/Bus Objects are defined under this namespace.
%%%

I read this to mean that in ACPI 2.0, Processor objects are devices
regardless of whether they are defined under \_SB or under \_PR.

My DSDT:
   http://root.org/~nate/acpi/ibm.dsdt
ASL url was in original email below.

-Nate

On Mon, 6 Oct 2003, Moore, Robert wrote:
> Please send the DSDT from this machine, I'd like to see it.
> Thanks,
> Bob
>
>
> -----Original Message-----
> From: Nate Lawson [mailto:nate-Y6VGUYTwhu0@public.gmane.org]
> Sent: Monday, October 06, 2003 2:50 PM
> To: Moore, Robert
> Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: RE: \_PR\CPU\_INI not called during initialization
>
> Since in ACPI 2.0 a processor declaration block can be under \_SB_, it
> counts as a device.  If you don't want this in ACPICA, I'll stick it
> under
> our Processor driver.
>
> -Nate
>
> On Mon, 6 Oct 2003, Moore, Robert wrote:
> > _INI methods are only called on objects of type "Device", as per the
> > ACPI specification.
> > Bob
> >
> >
> > -----Original Message-----
> > From: Nate Lawson [mailto:nate-Y6VGUYTwhu0@public.gmane.org]
> > Sent: Monday, October 06, 2003 9:47 AM
> > To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > Cc: Moore, Robert
> > Subject: \_PR\CPU\_INI not called during initialization
> >
> > My laptop has two performance states I have been using, however, I get
> a
> > 0
> > when I read the mhz and mW associated with each state.  When running
> > with
> > debug = ACPI_LV_INIT, I noticed that the processor's _INI method is
> not
> > called and this is what fills out the Px info.  Is this something
> you'll
> > add to ACPICA or should I be handling that myself?
> >
> >    http://root.org/~nate/acpi/ibm-acpidump.asl.gz
> >
> > -Nate
> >
>


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: \_PR\CPU\_INI not called during initialization
@ 2003-10-06 22:58 Moore, Robert
  0 siblings, 0 replies; 6+ messages in thread
From: Moore, Robert @ 2003-10-06 22:58 UTC (permalink / raw)
  To: Nate Lawson; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Nope. A Processor object is just that.  A Processor.  Not a Device.
Just because something can appear under _SB does not imply that it is a
Device object.

However, once again, we need to see what MS does.
Bob


-----Original Message-----
From: Nate Lawson [mailto:nate-Y6VGUYTwhu0@public.gmane.org] 
Sent: Monday, October 06, 2003 3:55 PM
To: Moore, Robert
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: RE: \_PR\CPU\_INI not called during initialization

Here is the info I'm going on, section 5.3.1:

%%%
\_PR
ACPI 1.0 Processor Namespace. ACPI 1.0 requires all Processor objects to
be defined under this namespace. ACPI 2.0 allows Processor object
definitions under the \_SB namespace. ACPI 2.0-compatible systems may
maintain the \_PR namespace for compatibility with ACPI 1.0 operating
systems. An ACPI 2.0-compatible namespace may define Processor objects
in
either the \_SB or \_PR scope but not both.

\_SB
All Device/Bus Objects are defined under this namespace.
%%%

I read this to mean that in ACPI 2.0, Processor objects are devices
regardless of whether they are defined under \_SB or under \_PR.

My DSDT:
   http://root.org/~nate/acpi/ibm.dsdt
ASL url was in original email below.

-Nate

On Mon, 6 Oct 2003, Moore, Robert wrote:
> Please send the DSDT from this machine, I'd like to see it.
> Thanks,
> Bob
>
>
> -----Original Message-----
> From: Nate Lawson [mailto:nate-Y6VGUYTwhu0@public.gmane.org]
> Sent: Monday, October 06, 2003 2:50 PM
> To: Moore, Robert
> Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: RE: \_PR\CPU\_INI not called during initialization
>
> Since in ACPI 2.0 a processor declaration block can be under \_SB_, it
> counts as a device.  If you don't want this in ACPICA, I'll stick it
> under
> our Processor driver.
>
> -Nate
>
> On Mon, 6 Oct 2003, Moore, Robert wrote:
> > _INI methods are only called on objects of type "Device", as per the
> > ACPI specification.
> > Bob
> >
> >
> > -----Original Message-----
> > From: Nate Lawson [mailto:nate-Y6VGUYTwhu0@public.gmane.org]
> > Sent: Monday, October 06, 2003 9:47 AM
> > To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > Cc: Moore, Robert
> > Subject: \_PR\CPU\_INI not called during initialization
> >
> > My laptop has two performance states I have been using, however, I
get
> a
> > 0
> > when I read the mhz and mW associated with each state.  When running
> > with
> > debug = ACPI_LV_INIT, I noticed that the processor's _INI method is
> not
> > called and this is what fills out the Px info.  Is this something
> you'll
> > add to ACPICA or should I be handling that myself?
> >
> >    http://root.org/~nate/acpi/ibm-acpidump.asl.gz
> >
> > -Nate
> >
>


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-10-06 22:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-06 18:15 \_PR\CPU\_INI not called during initialization Moore, Robert
     [not found] ` <D3A3AA459175A44CB5326F26DA7A189C1C3DDA-sBd4vmA9Se58QrAoInS571DQ4js95KgL@public.gmane.org>
2003-10-06 21:50   ` Nate Lawson
  -- strict thread matches above, loose matches on Subject: below --
2003-10-06 22:58 Moore, Robert
2003-10-06 22:33 Moore, Robert
     [not found] ` <D3A3AA459175A44CB5326F26DA7A189C1C3DE0-sBd4vmA9Se58QrAoInS571DQ4js95KgL@public.gmane.org>
2003-10-06 22:55   ` Nate Lawson
2003-10-06 16:47 Nate Lawson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox