Age | Commit message (Collapse) | Author |
|
ok mpi@ miod@
|
|
ok claudio@
|
|
|
|
tested by mglocker@ with pci, acpi and fdt attachments
ok mglocker@ deraadt@
|
|
USB controllers have an I2cSerialBusV2() (possibly defining a connection
to some sort of eUSB2 to USB2 redriver chip) but are not i2c devices
themselves. So check if a device has MMIO resources and assume it isn't
a proper i2c device if it has those. Makes the Type-A ports on my
vivobook work in acpi mode.
ok patrick@, mlarkin@
|
|
Some machines which work great in S3, don't work great in S0.
Some people want to be able to force S0, mostly for testing purposes
(or to notice improvements as changes are made in the tree). Provide
a TEMPORARY method via machdep.lidaction=-1 which will be S0-suspend
while =1 remains S3 suspend. This button will not remain long-term,
but for now, and during 7.6, it will be better than nothing.
ok ratchov kettenis
|
|
|
|
ok kettenis@
|
|
Input and ok jmc@, jsg@
|
|
Commiting now so that tests can be done by more people before release.
At the last moment, we can pull this change out.
|
|
ok jsg@
|
|
of "S0" on the acpi: sleep states line. (In my view, this flag-bit
announces that the hardware vendor + bios vendor + microsoft have agreed
this machine has enough "features" that S0 suspend is about as good or
better than S3, for various criteria).
ok kettenis mlarkin
|
|
|
|
we've never noticed it before, maybe systems which depend on _WAK are rare.
Still, this may improve S3 resume on some rare machines.
ok kettenis
|
|
resources for devices that aren't present. And that makes us run AML that
clearly hasn't been tested by the vendors. And on my test laptop this no
longer seems to make a meaningful difference in the power consumption
during suspend-to-idle.
ok deraadt@
|
|
|
|
|
|
|
|
ok kettenis
|
|
|
|
ok mlarkin@, deraadt@
|
|
in the LPIT table.
ok mlarkin@, deraadt@
|
|
a low power S0 idle state. Since we register the EC GPE as a wakeup GPE
this means we'll wake up immediately. Unfortunately we have to register
that GPE as a wakeup GPE otherwise many laptops won't wake up when the
user opens the lid (and some laptops won't wake up at all). So add some
code to handle EC events while suspended and introduce the concept of
wakeup AML notify handlers. Register the acpibtn(4) notify handlers as
wakeup notify handlers such that we wake up. We'll go back to sleep
immediately if we wake up for any other EC event.
ok mlarkin@, deraadt@
|
|
ok jca@, mlarkin@
|
|
various Intel SoCs. The driver takes care of calling the AML methods
needed to enter low power idle states during suspend-to-idle (S0i).
The driver also implements some debug code that prints the residency of
various power states in dmesg. Based on some earlier code by jcs@
ok jcs@
|
|
DVACT_SUSPEND. Fixes an issue with (un)hibernate where we don't attach
xhci(4) controllers, which would make is turn the xhci(4) off inadvertedly
because its power resource wasn't referenced.
ok mlarkin@
|
|
Until now the kernel did panic during early boot because we couldn't
respond to the battery requests sent to the 0xa1 "bus". This (dummy)
driver registers a 0xa1 region space very early, and responds with a
static zero value to satisfy the battery requests on 0xa1, which let us
boot successfully to multi-user.
In the future this machine should be operated in FDT mode, and an improved
AML parsing interface might make this workaround obsolete also for RAMDISK.
Help and OK kettenis@, deraadt@
|
|
ok patrick@
|
|
many extra ACPI0007 instances found in current generation servers no
longer fill up dmesg with noise.
ok kettenis@
|
|
function that always returns QUIET so instances that don't get matched
are not reported.
ok kettenis@
|
|
method that matches the target state.
ok deraadt@
|
|
referenced.
ok deraadt@
|
|
and touchscreen on the Qualcomm Snapdragon X Elite (X1E80100) laptops
Asus Vivobook S15 and Lenovo Yoga Slim 7x.
ok kettenis@
|
|
isn't present. While it isn't clear whether _STA applies to thermal zones
according to the ACPI standard, this prevents issues on the Asus Vivobook S15.
ok miod@, patrick@, deraadt@
|
|
|
|
|
|
|
|
ok mglocker@
|
|
reason.
ok mglocker@, deraadt@
|
|
notification to acpiac(4), so that the AC status can be reflected correctly
to programs like apm(8).
This for example fixes the AC status on the Microsoft Surface Go 4.
Help from kettenis@
ok deraadt@, kettenis@
|
|
ok kettenis@
|
|
ok kettenis@
|
|
machines (e.g. the t410) unhappy.
ok mglocker@
|
|
ok deraadt@, guenther@, mlarkin@, jsg@
|
|
ok mglocker@
|
|
on machines that don't support S3. In its current state it doesn't save
a lot of power, but this should improve over time. Implementation of
wakeup methods is incomplete which means that some machine can't resume
at the moment.
ok mglocker@, mlarkin@, stsp@, deraadt@
|
|
ok deraadt@, mlarkin@
|
|
such that ACPI resume code can see what state we're resuming from.
ok deraadt@
|
|
|
|
implementations pressing the power button to wake up a machine will cause
a power button notification to happen for that button press This would
initiate a power down, which isn't the user's intent.
Based on earlier diffs from deraadt@ and James Cook.
ok mlarkin@, "I'm not opposed" cheloha@
|