Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-21 | in the acpi GPE handler, late ack level interrupts not edge interrupts. | Theo de Raadt | |
Duh. | |||
2010-07-21 | spacing and indents that are driving me crazy | Theo de Raadt | |
2010-07-21 | clean up a pile of prototypes and shred some macros which were just covering | Theo de Raadt | |
for ones everyone knows better | |||
2010-07-21 | Merge the edge and level gpe handlers into one (now possible since the | Theo de Raadt | |
gpe structure tells us whether the gpe is edge or level) | |||
2010-07-21 | delete #if 0 code we are not going to use; ok marco | Theo de Raadt | |
2010-07-20 | make the mask code for acpi_enable_onegpe() match other similar code | Theo de Raadt | |
2010-07-20 | print the temperature readings that make us go down; ok kettenis | Theo de Raadt | |
2010-07-20 | removed an unused proto | Theo de Raadt | |
2010-07-20 | Handle the acpi interrupt controller with proper edge/level handling, | Theo de Raadt | |
wrapped in spltty to avoid racing against the interrupt controller. Repair the gpe bit masking code while there, and do operations in the right order ok kettenis mlarkin, help from jordan at figuring out the order of operations. | |||
2010-07-20 | tsleep() and EWOULDBLOCK was being used incorrectly for fixed minumum | Theo de Raadt | |
delays. tsleep() on an unknown wait channel, to ensure the minimum is met, and that wakeup()'s don't make the delay get restarted over and over.. ok kettenis mlarkin | |||
2010-07-20 | In acpiec_wait() we want to tsleep on an un-known channel, so that | Theo de Raadt | |
we don't get woken up early by a wakeup() ok kettenis; deeply tested on many machines by mlarkin | |||
2010-07-20 | remove prototypes for functions that do not exist; ok jordan | Theo de Raadt | |
2010-07-20 | When we're preparing to go to sleep, only call bufq_restart() if other | Matthew Dempsky | |
preparations failed. ok kettenis@, thib@, deraadt@ | |||
2010-07-19 | permit compilation with ACPI_DEBUG | Theo de Raadt | |
2010-07-19 | there is no need for a seperate dsdt_softc pointer; dsdt does not have a | Theo de Raadt | |
softc but is just a part of the single acpi driver. ok jordan | |||
2010-07-19 | acpi_delay() is no longer needed; ok jordan | Theo de Raadt | |
2010-07-18 | Clear event status on resume, to avoid going back to sleep/reboot/shutdown | Mike Larkin | |
immediately after resume. Tested by a bunch of people on hackers@ on various hardware. Fixes at least Toshiba NB200 and Gateway LT3103u. ok marco | |||
2010-07-13 | delete unnccessary include | Theo de Raadt | |
2010-07-13 | rename some thread related interfaces so they are logical | Theo de Raadt | |
2010-07-10 | Verify _ADR bdf is correct (some systems return 0xffff) | Jordan Hargrave | |
Works on Dell x9xx and Studio 1555 | |||
2010-07-09 | Clear the noise | Jordan Hargrave | |
2010-07-08 | Add mapping for ACPI device to PCI bdf (match autoconf tree) | Jordan Hargrave | |
Simplify resource parsing function to use buffer argument Convert namespace linked lists to use queue macros ok marco@, deraadt@ | |||
2010-07-06 | Use spltty() to lock downcalls from apm against the information being | Theo de Raadt | |
modified by the acpi thread. ok kettenis | |||
2010-07-06 | Don't use a workq to do the suspend, because it races aginst the acpi | Theo de Raadt | |
thread. Instead, just tell the acpi thread to do the suspend for us. This makes apmd & zzz work correctly. While here, have acpithinkpad attempt to post the event to apm before prompting the suspend itself. ok kettenis marco mlarkin | |||
2010-07-06 | spacing | Theo de Raadt | |
2010-07-05 | Reset register SCI_EN on resume. The ACPI spec clearly states we don't have | Mike Larkin | |
to do this, but many machines don't, or forget to, which leads to all sorts of problems on resume (broken battery stats, overheating, failure to resume more than once, etc). tested by many, ok marco@, deraadt@ | |||
2010-07-01 | do bufq quiesce again, since vnd/the bufq_done call in | Thordur I. Bjornsson | |
biodone has been fixed. | |||
2010-07-01 | Backout recent AML changes, breaks on R210 and others | Jordan Hargrave | |
2010-07-01 | Simplified aml_parse_resource call, cleanup code | Jordan Hargrave | |
ok marco | |||
2010-07-01 | Fix subordinate bus # for multi-root PCI buses | Jordan Hargrave | |
ok marco, kettenis | |||
2010-06-30 | Disable/partially backout the bufq quiesce changes as this | Thordur I. Bjornsson | |
is causing havoc with vnds and release must be buildable. | |||
2010-06-30 | Cleaned up aml name parser, delete unused code | Jordan Hargrave | |
ok marco | |||
2010-06-29 | Use new ACPI PCI mapping to get _PRT bus | Jordan Hargrave | |
Delete old unused code ok kettenis | |||
2010-06-29 | Fix ramdisks (new code was placed inside a SMALL_KERNEL chunk) | Theo de Raadt | |
2010-06-29 | Add support for mapping ACPI to PCI devices | Jordan Hargrave | |
ok kettenis, deraadt | |||
2010-06-29 | Call bufq_quiesce() on suspend to stop all I/O and bufq_restart on resume. | Mark Kettenis | |
Makes suspend/resume work much better while doing disk I/O. ok mlarkin@ | |||
2010-06-29 | 60 is a more reasonable guess for number of minutes in an hour than 100. | Ted Unangst | |
spotted by TeXitoi. ok deraadt | |||
2010-06-28 | KNF | Jordan Hargrave | |
2010-06-28 | Add definitions for Intel/AMD IOMMU ACPI tables | Jordan Hargrave | |
2010-06-27 | Change ACPI namespace to use SIMPLEQ macros | Jordan Hargrave | |
ok mlarkin | |||
2010-06-27 | Add _acpi_matchhids routine, precursor to pci device match | Jordan Hargrave | |
2010-06-27 | Clear ACPI fixed event status on resume (power buttons/etc) so that some | Mike Larkin | |
machines don't immediately resume after suspending to S3. Tested by kettenis@ and I on 5 or 6 machines, deraadt@ "yeah, looks good" | |||
2010-06-27 | Cleanup aml_find_node calls | Jordan Hargrave | |
2010-06-27 | Cleaned up acpi_maptable, adds to table list directly | Jordan Hargrave | |
2010-06-19 | Fix reference counting panic for CondRef | Jordan Hargrave | |
Various HP laptops now boot correctly, fixes PR 6276 ok marco@ | |||
2010-05-17 | Put the name string on the stack. | Nicholas Marriott | |
Fixes build with gcc4 which otherwise optimises away the modifications to it, discovered by jakemsr@. ok marco jsg | |||
2010-04-07 | If we have done a wsdisplay_suspend(), and ACPI decides it does not want to | Theo de Raadt | |
suspend, we must roll back by calling wsdisplay_resume() or the virtual console switching will be locked forever ok oga | |||
2010-04-07 | Make suspend/resume work on MP machines (running an MP kernel). Joint work | Mark Kettenis | |
from mlarkin@ and me, with some amd64 fixes thrown in by deraadt@ ok marco@, deraadt@, pirofti@, mlarkin@ | |||
2010-03-31 | Bring /dev/apm support in line with apm(4). Make the suspend button send | Mark Kettenis | |
a suspend request event to apmd(8) instead of suspending immediately. Also keep track of whether /dev/apm and /dev/apmctl are currently open, such that we can still suspend immediately if apmd(8) isn't running. ok deraadt@, marco@, pirofti@, jsing@, oga@ | |||
2010-03-30 | Prevent the apmd/x races for good. | Owain Ainsworth | |
When we hit suspend time, go through all wsdisplays on the system. if they are in mode MAPPED, but not MODE_DUMBFB then if possible do a full vt switch to a !mapped vt, and prevent switching back until resume time. This has to be called from MD code because this involves userland running so that X can run the vt switch signal handler. This way, any case where we are using the "poke registers from userland" model, we will not be on the hardware when we go down, so the kernel can actually handle thing properly. Tested on several acpi laptops (by kettenis@ and ian@), x40 (me and beck@ at LEAST) and zaurus (me). Maybe others, but if so I forgot who at this time.. Idea from deraadt somewhere over the Faroe Islands (I thought of a similar thing myself a while ago). Much prompting from him. Ok and comments miod@ |