Age | Commit message (Collapse) | Author |
|
|
|
|
|
a problem after we started striking entires for containing
junk and /* should never happen */ happened.
Fixes PR 6175 confirmed by submiter: nick templeton nick @ nicktempleton.com
ok marco@
|
|
PDC (which tells the ACPI code what we as OSPM are capable of) we also evaluate
the OSC method on the acpicpu device. Original cause of problems that resulted
in this getting backed out appear to be fixed by the mp_setperf change, so
hopefully the third time is the charm. Tested by many.
ok marco@
|
|
hanging machines. backed out correctly this time, as pointed out by tedu.
|
|
backout of. COME ON. Be exact in your commit messages.
|
|
|
|
directly, we must call the global function pointer cpu_setperf because
we might be on an MP system and if we don't, we only attempt to change
the frequency on a single core.
ok marco@
|
|
powernow drivers if the _PPC is evaluated because an external
change has occured such as being disconnected from wall power
and the available states in _PSS change. Have the acpicpu setperf
driver register a listner for _PPC changes, that way we are not
calling the setperf method twice on powernow machines when an
change occurs.
ok marco@
|
|
from ACPI for est on amd64. This incorporates a few changes from krw@
to fix minor nits, its unlikely to fix the problems with some machines
from acer and dell but lots of machines benefit.
ok krw@
|
|
|
|
the intended meaning.
|
|
on amd64.
Evaluating the _PDC seems to lead to instability (PR5878 and a report by
jmc@) on lower end machines its too close to release and I don't have
enough nickels.
ok deraadt@
|
|
operating points from ACPI. In support of this add evaluation of the _PDC
object and give it the capability flags asserting OSPM management of CPU
power states.
ok marco@, canacar@
|
|
now too.
ok kettenis deraadt
|
|
|
|
ok gwk@
|
|
|
|
needs to be redone in another way.
|
|
|
|
|
|
there is no pss available. The real fix will include using both pss and
duty cycle methods.
ok deraadt
|
|
|
|
ok deraadt
|
|
uniform. as a result shared code like acpi needs less #ifdef's
ok marco kettenis
|
|
From Oleg Safiullin (form@)
ok deraadt
|
|
|
|
|
|
|
|
ok beck@
|
|
size(*p) as the first malloc() parameter where p is declared locally
and thus easy to check. Add M_ZERO to gpe_table allocation in acpi.c
even though there is no obvious bzero or memset nearby.
|
|
it. Fixes marco@'s post c2k7 panics.
ok marco
|
|
retreive p_state data as spelled out in the amd64 bios and kernel
developers guide. This code is still a little rough around the edges but
has been tested by myself on a tyan machine and by phessler at theapt
dot org on an HP DL145. This diff also takes a first stab and cleaning up
the acpicpu dmesg spam.
ok tedu, marco
|
|
|
|
ok marco@
|
|
|
|
|
|
ok marco@
|
|
Scalling" a global flag set by acicpu attach to indicate that ACPI is
handling fvs through the _PSS objects. This will fix disappearing
EST/powernow when booting kernels with acpi enabled, as acpicpu isnt
compiled into GENERIC yet. Also in cases where acpicpu is built in and
legacy EST/powernow work but acpi is missing the _PSS object, the legacy
routines will be used.
tested by dim@, and Nick Nauwelaerts <nick AT nauwelaerts.net>
ok marco@, dim@
|
|
gasio structure when appropriate instead of always assuming 32 bit access.
Fixes my Dell laptop and works on others tested.
|
|
Use the same tsleep/wakeup mechanism as the interrupt code to keep it non-
concurrent.
|
|
|
|
is declared in the equivalent file on i386 and delete the repeticious
declarations already scattered in a few places.
Thanks to Will Backman for letting me test this on his machine,
ok mk@
|
|
Rename pentium_mhz to cpuspeed which is consistant with amd64 making
shared ACPI code less nasty.
ok marco, deraadt
|
|
|
|
|
|
ACPI kernels built with the acpicpu diff to scale processor and frequency
voltage, various incarnations tested by brad, thib, johan m:son lindman.
ok marco
|
|
Fixed ACPI leaks
new ACPI API
ok marco@
|
|
ok marco@
|
|
Free memory while at it.
Register notify handler and use NULL for PNP id.
|