* C3 support w/o ARB_DIS (P4-M on i845)
@ 2004-05-12 10:25 Karol Kozimor
[not found] ` <20040512102527.GA8050-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Karol Kozimor @ 2004-05-12 10:25 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi,
I've just noticed that FADT shows:
P_LVL2_LAT: 90
P_LVL3_LAT: 300
for my P4-M processor, whereas /proc/acpi/processor/*/power shows:
active state: C2
default state: C1
bus master activity: 00000000
states:
C1: promotion[C2] demotion[--] latency[000] usage[00294320]
*C2: promotion[--] demotion[C1] latency[090] usage[02552774]
C3: <not supported>
and /proc/acpi/processor/*/info shows:
processor id: 0
acpi id: 1
bus mastering control: no
power management: yes
throttling control: yes
performance management: yes
limit interface: yes
So, it seems there is some C3 support, but it is not used due to lack of
bus-mastering control (PM2_CNT_BLK is 0). However, the flags section in the
FADT indicates that WBINVD is supported. The comment in processor.c says
the possibility of using C3 in the absence of ARB_DIS must be investigated.
What is the current status? Any obvious caveats for implementation?
Best regards,
--
Karol 'sziwan' Kozimor
sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
^ permalink raw reply [flat|nested] 5+ messages in thread[parent not found: <20040512102527.GA8050-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>]
* Re: C3 support w/o ARB_DIS (P4-M on i845) [not found] ` <20040512102527.GA8050-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org> @ 2004-05-12 16:03 ` Dominik Brodowski [not found] ` <20040512160353.GA7906-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Dominik Brodowski @ 2004-05-12 16:03 UTC (permalink / raw) To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Wed, May 12, 2004 at 12:25:27PM +0200, Karol Kozimor wrote: > So, it seems there is some C3 support, but it is not used due to lack of > bus-mastering control (PM2_CNT_BLK is 0). However, the flags section in the > FADT indicates that WBINVD is supported. The comment in processor.c says > the possibility of using C3 in the absence of ARB_DIS must be investigated. > What is the current status? Any obvious caveats for implementation? Well, there had been some discussion about that approximately two years ago, maybe it's still in the archives. Major problems, IIRC: a) occasional hangs on my system b) unpredictable time of execution of WBINVD command (results in high latency) I had posted some implementation back then, don't know whether it still works. If you can't find it, contact me again, please. Dominik ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <20040512160353.GA7906-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org>]
* Re: C3 support w/o ARB_DIS (P4-M on i845) [not found] ` <20040512160353.GA7906-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org> @ 2004-05-12 19:55 ` Karol Kozimor [not found] ` <20040512195546.GA19939-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Karol Kozimor @ 2004-05-12 19:55 UTC (permalink / raw) To: Dominik Brodowski; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Thus wrote Dominik Brodowski: > Well, there had been some discussion about that approximately two years ago, > maybe it's still in the archives. Major problems, IIRC: > > a) occasional hangs on my system > b) unpredictable time of execution of WBINVD command (results in high latency) > > I had posted some implementation back then, don't know whether it still > works. If you can't find it, contact me again, please. OK, I find the discussion, thanks for pointing that out. that out. Related question: the ICH3-M spec specifies the PM2_CNT address at PMBASE + 0x20, just before the GPE block. This seems consistent with my FADT, which places PMBASE at 0xe400 and GPE0_BLK at 0xe428. Would manual poking at the presumed location of ARB_DIS or FADT override work? Best regards, -- Karol 'sziwan' Kozimor sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <20040512195546.GA19939-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>]
* Re: C3 support w/o ARB_DIS (P4-M on i845) [not found] ` <20040512195546.GA19939-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org> @ 2004-05-13 12:08 ` Dominik Brodowski [not found] ` <20040513120848.GA8406-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Dominik Brodowski @ 2004-05-13 12:08 UTC (permalink / raw) To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Wed, May 12, 2004 at 09:55:47PM +0200, Karol Kozimor wrote: > question: the ICH3-M spec specifies the PM2_CNT address at PMBASE + 0x20, > just before the GPE block. This seems consistent with my FADT, which places > PMBASE at 0xe400 and GPE0_BLK at 0xe428. Would manual poking at the > presumed location of ARB_DIS or FADT override work? Maybe. On the other hand, your BIOS / hardware vendor likely disallowed C3 for a reason, e.g. some hardware which doesn't work flawlessly with ARB_DIS. Note, for example, that the ipw2100 project ( http://ipw2100.sf.net ) suffers from some strange C3-related errors. Dominik ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <20040513120848.GA8406-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org>]
* Re: C3 support w/o ARB_DIS (P4-M on i845) [not found] ` <20040513120848.GA8406-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org> @ 2004-05-14 6:49 ` Len Brown 0 siblings, 0 replies; 5+ messages in thread From: Len Brown @ 2004-05-14 6:49 UTC (permalink / raw) To: Dominik Brodowski; +Cc: ACPI Developers > On the other hand, your BIOS / hardware vendor likely disallowed C3 > for a reason, e.g. some hardware which doesn't work flawlessly with ARB_DIS. > Note, for example, that the ipw2100 project ( http://ipw2100.sf.net ) > suffers from some strange C3-related errors. I believe that this is a device-specific issue caused by inability to deal with DMA buffer overflow/underruns that occur due to the delays related to coming out of C3. -Len ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-05-14 6:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-12 10:25 C3 support w/o ARB_DIS (P4-M on i845) Karol Kozimor
[not found] ` <20040512102527.GA8050-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2004-05-12 16:03 ` Dominik Brodowski
[not found] ` <20040512160353.GA7906-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org>
2004-05-12 19:55 ` Karol Kozimor
[not found] ` <20040512195546.GA19939-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2004-05-13 12:08 ` Dominik Brodowski
[not found] ` <20040513120848.GA8406-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org>
2004-05-14 6:49 ` Len Brown
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox