* C2/C3 don't do anything
@ 2005-02-03 3:46 Tony Lindgren
[not found] ` <20050203034639.GA29164-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Tony Lindgren @ 2005-02-03 3:46 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi all,
I've been playing with Dynamic Tick, where the system timer is
stopped for the idle ticks. This allows the system to stay in sleep
mode inbetween the skipped ticks. [1] The most recent patch for
dynamic-tick is [2]
This works fine on ARM OMAP, but on my i386 boxes I've noticed that
only hlt works, C2 and C3 just spin in a busy loop and consume more
power than C1 with hlt!
I've done an idle module few years ago that enables C2 for dual
Athlon boxes [3], and that involved enabling it in the southbridge.
I thought the current ACPI code enables this already? But it does
not seem to be the case?
Should we have some extra code to scan the southbridges, or what is
the official way of handling that? It would be nice to get it
enabled...
At least my Crusoe based laptop with ALi 1533 chipset and Ali M7101
PMU does not get enabled. (Does anybody have docs to enable it on
1533/1535/7101???)
Cheers,
Tony
[1] http://lkml.org/lkml/2005/1/27/270
[2] http://lkml.org/lkml/2005/1/27/270
[3] http://muru.com/linux/amd-smp-idle/
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
^ permalink raw reply [flat|nested] 5+ messages in thread[parent not found: <20050203034639.GA29164-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>]
* Re: C2/C3 don't do anything [not found] ` <20050203034639.GA29164-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org> @ 2005-02-04 20:30 ` Dominik Brodowski [not found] ` <20050204203026.GA8049-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Dominik Brodowski @ 2005-02-04 20:30 UTC (permalink / raw) To: Tony Lindgren; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Hi, On Wed, Feb 02, 2005 at 07:46:40PM -0800, Tony Lindgren wrote: > I've done an idle module few years ago that enables C2 for dual > Athlon boxes [3], and that involved enabling it in the southbridge. > > I thought the current ACPI code enables this already? But it does > not seem to be the case? AFAIK, if there is no initialization method included in the ACPI table, the ACPI code does _not_ currently enables some special, vendor-specific bit in southbridges. > Should we have some extra code to scan the southbridges, Definitely. There is already some "errata" handling in the processor module, possibly this could get extended. Dominik ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <20050204203026.GA8049-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org>]
* Re: C2/C3 don't do anything [not found] ` <20050204203026.GA8049-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org> @ 2005-02-04 21:34 ` Karol Kozimor [not found] ` <20050204213407.GA26515-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Karol Kozimor @ 2005-02-04 21:34 UTC (permalink / raw) To: Dominik Brodowski Cc: Tony Lindgren, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Thus wrote Dominik Brodowski: > > I've done an idle module few years ago that enables C2 for dual > > Athlon boxes [3], and that involved enabling it in the southbridge. > > > > I thought the current ACPI code enables this already? But it does > > not seem to be the case? > > AFAIK, if there is no initialization method included in the ACPI table, the > ACPI code does _not_ currently enables some special, vendor-specific bit in > southbridges. > > > Should we have some extra code to scan the southbridges, > > Definitely. There is already some "errata" handling in the processor module, > possibly this could get extended. I'm still using the patch to enable C3 on ICHx-M I once posted. Basically, it provided a valid PM2_CNT_BLK address in case the OEM had forgotten to do that, which in turn enabled C3 by providing a valid ARB_DIS address (provided P_LVL3_LAT is valid). It might be worthwile to add some quirks, possibly opt-in by a commandline option. Best regards, -- Karol 'sziwan' Kozimor sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <20050204213407.GA26515-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>]
* Re: C2/C3 don't do anything [not found] ` <20050204213407.GA26515-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org> @ 2005-02-04 22:55 ` Tony Lindgren [not found] ` <20050204225527.GA30585-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Tony Lindgren @ 2005-02-04 22:55 UTC (permalink / raw) To: Dominik Brodowski, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f * Karol Kozimor <sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org> [050204 13:34]: > Thus wrote Dominik Brodowski: > > > I've done an idle module few years ago that enables C2 for dual > > > Athlon boxes [3], and that involved enabling it in the southbridge. > > > > > > I thought the current ACPI code enables this already? But it does > > > not seem to be the case? > > > > AFAIK, if there is no initialization method included in the ACPI table, the > > ACPI code does _not_ currently enables some special, vendor-specific bit in > > southbridges. OK, can you point me to the file to add printk's in the ACPI code where the initialization happens? I'm not too familiar with ACPI code... > > > Should we have some extra code to scan the southbridges, > > > > Definitely. There is already some "errata" handling in the processor module, > > possibly this could get extended. > > I'm still using the patch to enable C3 on ICHx-M I once posted. Basically, > it provided a valid PM2_CNT_BLK address in case the OEM had forgotten to do > that, which in turn enabled C3 by providing a valid ARB_DIS address > (provided P_LVL3_LAT is valid). I have some code for the amd76x_pm module that can be modified for scanning various southbridges. And then add functions for the to enable them. I don't know when I'll have time to play with that though. This could be a separate module to start with, and then get integrated into the ACPI code later on. > It might be worthwile to add some quirks, possibly opt-in by a commandline > option. Or it could be an ACPI southbridge module? Tony ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <20050204225527.GA30585-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>]
* Re: C2/C3 don't do anything [not found] ` <20050204225527.GA30585-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org> @ 2005-02-05 7:39 ` Dominik Brodowski 0 siblings, 0 replies; 5+ messages in thread From: Dominik Brodowski @ 2005-02-05 7:39 UTC (permalink / raw) To: Tony Lindgren, len.brown-ral2JQCrhuEAvxtiuMwx3w Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Fri, Feb 04, 2005 at 02:55:28PM -0800, Tony Lindgren wrote: > > > > Should we have some extra code to scan the southbridges, > > > > > > Definitely. There is already some "errata" handling in the processor module, > > > possibly this could get extended. > > > > I'm still using the patch to enable C3 on ICHx-M I once posted. Basically, > > it provided a valid PM2_CNT_BLK address in case the OEM had forgotten to do > > that, which in turn enabled C3 by providing a valid ARB_DIS address > > (provided P_LVL3_LAT is valid). > > I have some code for the amd76x_pm module that can be modified for > scanning various southbridges. And then add functions for the > to enable them. I don't know when I'll have time to play with that > though. > > This could be a separate module to start with, and then get integrated > into the ACPI code later on. Or this could be an extension of drivers/acpi/processor_core.c::acpi_processor_errata() from the beginning. Len, what do you think? Dominik ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-02-05 7:39 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-03 3:46 C2/C3 don't do anything Tony Lindgren
[not found] ` <20050203034639.GA29164-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2005-02-04 20:30 ` Dominik Brodowski
[not found] ` <20050204203026.GA8049-X3ehHDuj6sIIGcDfoQAp7BvVK+yQ3ZXh@public.gmane.org>
2005-02-04 21:34 ` Karol Kozimor
[not found] ` <20050204213407.GA26515-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2005-02-04 22:55 ` Tony Lindgren
[not found] ` <20050204225527.GA30585-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2005-02-05 7:39 ` Dominik Brodowski
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox