* Re: RE: \_PR\CPU\_INI not called during initialization
[not found] ` <D3A3AA459175A44CB5326F26DA7A189C1C3DE1-sBd4vmA9Se58QrAoInS571DQ4js95KgL@public.gmane.org>
@ 2003-10-07 7:53 ` Ducrot Bruno
0 siblings, 0 replies; 4+ messages in thread
From: Ducrot Bruno @ 2003-10-07 7:53 UTC (permalink / raw)
To: Moore, Robert; +Cc: Nate Lawson, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Mon, Oct 06, 2003 at 03:58:32PM -0700, Moore, Robert wrote:
> 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
>
Some IBM laptops shipped with a Pentium have that,
or equivalent:
Scope (\_PR)
{
Processor (CPU, 0x01, 0x00001010, 0x06)
{
Method (_INI, 0, NotSerialized)
{
Store (\P0FQ, Index (DerefOf (Index (_PSS, 0x00)), 0x00))
Store (\P0PW, Index (DerefOf (Index (_PSS, 0x00)), 0x01))
Store (\P1FQ, Index (DerefOf (Index (_PSS, 0x01)), 0x00))
Store (\P1PW, Index (DerefOf (Index (_PSS, 0x01)), 0x01))
If (\PCEL)
{
Store (0xF6, Index (DerefOf (Index (_PSS, 0x01)), 0x05))
Store (0x00, Index (DerefOf (Index (_PSS, 0x01)), 0x05))
}
}
Name (_PCT, Package (0x02)
{
ResourceTemplate ()
{
Register (SystemIO, 0x08, 0x00, 0x00000000000000B2)
},
ResourceTemplate ()
{
Register (SystemIO, 0x08, 0x00, 0x0000000000001050)
}
})
Name (_PSS, Package (0x02)
{
Package (0x06)
{
0x00,
0x00,
0x01F4,
0x00,
0xF6,
0x00
},
Package (0x06)
{
0x00,
0x00,
0x01F4,
0x00,
0xF7,
0x01
}
})
Method (_PPC, 0, NotSerialized)
{
If (LNot (\SPEN))
{
Return (0x01)
}
If (\_SB.PCI0.LPC.EC.TT4F)
{
Return (0x01)
}
Else
{
Return (0x00)
}
}
}
}
--
Ducrot Bruno
-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: RE: \_PR\CPU\_INI not called during initialization
@ 2003-10-07 16:02 Moore, Robert
[not found] ` <D3A3AA459175A44CB5326F26DA7A189C1C3DE8-sBd4vmA9Se58QrAoInS571DQ4js95KgL@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Moore, Robert @ 2003-10-07 16:02 UTC (permalink / raw)
To: Ducrot Bruno; +Cc: Nate Lawson, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
We are going to add this support for the next version of ACPI CA.
The MS interpreter executes both _STA and _INI under processor objects.
Bob
-----Original Message-----
From: Ducrot Bruno [mailto:ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org]
Sent: Tuesday, October 07, 2003 12:53 AM
To: Moore, Robert
Cc: Nate Lawson; acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [ACPI] RE: \_PR\CPU\_INI not called during initialization
On Mon, Oct 06, 2003 at 03:58:32PM -0700, Moore, Robert wrote:
> 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
>
Some IBM laptops shipped with a Pentium have that,
or equivalent:
Scope (\_PR)
{
Processor (CPU, 0x01, 0x00001010, 0x06)
{
Method (_INI, 0, NotSerialized)
{
Store (\P0FQ, Index (DerefOf (Index (_PSS, 0x00)),
0x00))
Store (\P0PW, Index (DerefOf (Index (_PSS, 0x00)),
0x01))
Store (\P1FQ, Index (DerefOf (Index (_PSS, 0x01)),
0x00))
Store (\P1PW, Index (DerefOf (Index (_PSS, 0x01)),
0x01))
If (\PCEL)
{
Store (0xF6, Index (DerefOf (Index (_PSS, 0x01)),
0x05))
Store (0x00, Index (DerefOf (Index (_PSS, 0x01)),
0x05))
}
}
Name (_PCT, Package (0x02)
{
ResourceTemplate ()
{
Register (SystemIO, 0x08, 0x00, 0x00000000000000B2)
},
ResourceTemplate ()
{
Register (SystemIO, 0x08, 0x00, 0x0000000000001050)
}
})
Name (_PSS, Package (0x02)
{
Package (0x06)
{
0x00,
0x00,
0x01F4,
0x00,
0xF6,
0x00
},
Package (0x06)
{
0x00,
0x00,
0x01F4,
0x00,
0xF7,
0x01
}
})
Method (_PPC, 0, NotSerialized)
{
If (LNot (\SPEN))
{
Return (0x01)
}
If (\_SB.PCI0.LPC.EC.TT4F)
{
Return (0x01)
}
Else
{
Return (0x00)
}
}
}
}
--
Ducrot Bruno
-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: RE: \_PR\CPU\_INI not called during initialization
[not found] ` <D3A3AA459175A44CB5326F26DA7A189C1C3DE8-sBd4vmA9Se58QrAoInS571DQ4js95KgL@public.gmane.org>
@ 2003-10-07 18:14 ` Nate Lawson
0 siblings, 0 replies; 4+ messages in thread
From: Nate Lawson @ 2003-10-07 18:14 UTC (permalink / raw)
To: Moore, Robert; +Cc: Ducrot Bruno, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Thank you! However, I hope you call _INI even if _STA is AE_NOT_FOUND.
See the ASL below to see that there is no _STA method. If there IS a _STA
method and it returns "not present", it's fine not to call _INI.
For now, I unconditionally call _INI when attaching to a Processor. It
works and now my mhz and mw settings for performance control are properly
reported.
-Nate
On Tue, 7 Oct 2003, Moore, Robert wrote:
> We are going to add this support for the next version of ACPI CA.
>
> The MS interpreter executes both _STA and _INI under processor objects.
> Bob
>
>
> -----Original Message-----
> From: Ducrot Bruno [mailto:ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org]
> Sent: Tuesday, October 07, 2003 12:53 AM
> To: Moore, Robert
> Cc: Nate Lawson; acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: Re: [ACPI] RE: \_PR\CPU\_INI not called during initialization
>
> On Mon, Oct 06, 2003 at 03:58:32PM -0700, Moore, Robert wrote:
> > 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
> >
>
> Some IBM laptops shipped with a Pentium have that,
> or equivalent:
>
> Scope (\_PR)
> {
> Processor (CPU, 0x01, 0x00001010, 0x06)
> {
> Method (_INI, 0, NotSerialized)
> {
> Store (\P0FQ, Index (DerefOf (Index (_PSS, 0x00)), 0x00))
> Store (\P0PW, Index (DerefOf (Index (_PSS, 0x00)), 0x01))
> Store (\P1FQ, Index (DerefOf (Index (_PSS, 0x01)), 0x00))
> Store (\P1PW, Index (DerefOf (Index (_PSS, 0x01)), 0x01))
> If (\PCEL)
> {
> Store (0xF6, Index (DerefOf (Index (_PSS, 0x01)), 0x05))
> Store (0x00, Index (DerefOf (Index (_PSS, 0x01)), 0x05))
> }
> }
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: RE: \_PR\CPU\_INI not called during initialization
@ 2003-10-07 18:31 Moore, Robert
0 siblings, 0 replies; 4+ messages in thread
From: Moore, Robert @ 2003-10-07 18:31 UTC (permalink / raw)
To: Nate Lawson; +Cc: Ducrot Bruno, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Yes, we will implement the behavior you describe.
-----Original Message-----
From: Nate Lawson [mailto:nate-Y6VGUYTwhu0@public.gmane.org]
Sent: Tuesday, October 07, 2003 11:14 AM
To: Moore, Robert
Cc: Ducrot Bruno; acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: RE: [ACPI] RE: \_PR\CPU\_INI not called during initialization
Thank you! However, I hope you call _INI even if _STA is AE_NOT_FOUND.
See the ASL below to see that there is no _STA method. If there IS a
_STA
method and it returns "not present", it's fine not to call _INI.
For now, I unconditionally call _INI when attaching to a Processor. It
works and now my mhz and mw settings for performance control are
properly
reported.
-Nate
On Tue, 7 Oct 2003, Moore, Robert wrote:
> We are going to add this support for the next version of ACPI CA.
>
> The MS interpreter executes both _STA and _INI under processor
objects.
> Bob
>
>
> -----Original Message-----
> From: Ducrot Bruno [mailto:ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org]
> Sent: Tuesday, October 07, 2003 12:53 AM
> To: Moore, Robert
> Cc: Nate Lawson; acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: Re: [ACPI] RE: \_PR\CPU\_INI not called during initialization
>
> On Mon, Oct 06, 2003 at 03:58:32PM -0700, Moore, Robert wrote:
> > 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
> >
>
> Some IBM laptops shipped with a Pentium have that,
> or equivalent:
>
> Scope (\_PR)
> {
> Processor (CPU, 0x01, 0x00001010, 0x06)
> {
> Method (_INI, 0, NotSerialized)
> {
> Store (\P0FQ, Index (DerefOf (Index (_PSS, 0x00)),
0x00))
> Store (\P0PW, Index (DerefOf (Index (_PSS, 0x00)),
0x01))
> Store (\P1FQ, Index (DerefOf (Index (_PSS, 0x01)),
0x00))
> Store (\P1PW, Index (DerefOf (Index (_PSS, 0x01)),
0x01))
> If (\PCEL)
> {
> Store (0xF6, Index (DerefOf (Index (_PSS, 0x01)),
0x05))
> Store (0x00, Index (DerefOf (Index (_PSS, 0x01)),
0x05))
> }
> }
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-10-07 18:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-07 16:02 RE: \_PR\CPU\_INI not called during initialization Moore, Robert
[not found] ` <D3A3AA459175A44CB5326F26DA7A189C1C3DE8-sBd4vmA9Se58QrAoInS571DQ4js95KgL@public.gmane.org>
2003-10-07 18:14 ` Nate Lawson
-- strict thread matches above, loose matches on Subject: below --
2003-10-07 18:31 Moore, Robert
2003-10-06 22:58 Moore, Robert
[not found] ` <D3A3AA459175A44CB5326F26DA7A189C1C3DE1-sBd4vmA9Se58QrAoInS571DQ4js95KgL@public.gmane.org>
2003-10-07 7:53 ` Ducrot Bruno
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox