Age | Commit message (Collapse) | Author |
|
compiler from doing stupid things like reordering stores around it. There is
some debate whether this will be enough for newer versions of GCC and LLVM.
If this is indeed deemed necessary, this will be addressed in a future diff.
ok miod@, oga@
|
|
instead of powerhooks.
|
|
ok miod@
|
|
DVACT_SUSPEND, therefore DVACT_QUIECE can do standard sleeping operations
to get ready.
Discussed quite a while back with kettenis and jakemsr, oga suddenly needed
it as well and wrote half of it, so it was time to finish it.
proofread by miod.
|
|
|
|
dance since some laptops unsuspend out of apm with interrupts enabled?!
That causes problems with shared interrupts... but also it would be best
if we treat powerhook functions (now backed by activate functions) the same as
acpi treats them, and it means that the powerhook wrappers don't need to do
their own spl protection.
ok kettenis
|
|
PWR_{SUSPEND,RESUME} so that they match the values of DAVCT_{SUSPEND,RESUME}
so that we can eventually (many more steps...) kill the powerhook garbage
and use the activate mechanism.
no objections
|
|
getting stupid ideas like optimizing away stores to the descriptor that we're
setting. This may be overkill, but this code is far from performance
critical and it may prevent future surprises. Fixes instant reboots
with bsd.rd on Pentiums with the F00F bug.
Thanks to espie@, for narrowing the issue down enough for me to find the
problem. ok deraadt@
|
|
Dell Inspirion 4150 to wake up immediately even though RTC_EN isn't set
in the PM1 Enable register.
ok deraadt@, mlarkin@
|
|
|
|
into one function is generating broken code; it might be because of missing
register clobbers.
This is a workaround... it'd be nice to know the real problem
work done with mlarkin and pirofti
|
|
"multiprocessor" in a consistent way.
written with lots of good advice from jmc@, who noted that changing
hier(7) was not enough and carefully reviewed this diff.
ok jmc@
|
|
|
|
from marco, ok kettenis, hard to argue with it making the laptop work
|
|
with it incorrect)
from mklarkin, ok kettenis
|
|
eeepc panics without this driver (which must be a bug in the acpi code that
this driver just hides).
|
|
to run AML in several ways.
|
|
ok kettenis
|
|
close causes a suspend. resumes are not tied to this; they happen
unconditionally. this is a temporary knob for the 4.8 release; afterwards
it will move to a more convenient place
much moaning discussing where to put the knob with kettenis
tested by various including phessler
|
|
who have the device (only found in laptops) refuse to realize it is
their own problem and should dig into the code and fix it.
|
|
ok deraadt
|
|
|
|
|
|
|
|
device and the midi interface to pcppi.
|
|
ok deraadt@
|
|
be reused
ok jordan
|
|
Currently it only works for the suspend button and tries to do right for
the brightness events, but I haven't found a Sony laptop that like to do
right so far.
In the future I want to make the brightness keys work on all Sony's and
also add support for the zoom hotkeys and whatever other funky keys I can
find on those things.
Okay deraadt@.
|
|
all jumbled up in the same functions. the rtc (mc chip) and clock (i8243)
startup was also mixed up. they the soft state and hardware state can
be started in the right order, and it is easy to restart just the
neccessary parts upon resume. tested in numerous cases:
(apic, pic) * (GENERIC.MP, GENERIC) * (mp, non-mp) * (i386, amd64)
ok kettenis
|
|
not room. we do place them on the amd64 install media though, since many
of them matter more for 64 bit mode.
|
|
is now shared with all processes/threads. As a result, you can now use the
FPU in true process context (instead of just in kernel threads), but you
need to make sure you restore the default FPU state before calling
fpu_kernel_exit() if you change rounding mode, precision or exception masks.
Lots of discussion with thib@ and Mike Belopuhov.
ok thib@, deraadt@
|
|
ok deraadt@
|
|
ok deraadt@
|
|
|
|
in UKC; found the hard way by jakemsr@ on an old Tecra laptop.
|
|
|
|
context of some random process that happened to be switched onto the FPU
after the decision was made to send the IPI.
|
|
which will result in more stable filesystems during suspend
ok kettenis
|
|
|
|
|
|
|
|
|
|
addresses line up correctly. Newer i386 gcc4 - for some reason -- is
prompting the linker with -N to not do this alignment which it used to do
(perhaps because the alignment of all .o's have dropped to very small
amounts??). Using -Z wastes around a page of bootblock space which matters
even more on the small install media, so this definately needs revisiting.
Workaround from toby
|
|
registers in the prologue to realign the stack.
ok marco@, deraadt@, guenther@
|
|
install media until we can shrink something else. decisions on
what has to go made by jsg and I. (subject to change..)
|
|
Simplify resource parsing function to use buffer argument
Convert namespace linked lists to use queue macros
ok marco@, deraadt@
|
|
|
|
ok art@
|
|
|
|
|