Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-10 | Make legacy interrupts work in acpipci(4). | Mark Kettenis | |
ok patrick@ | |||
2018-07-05 | Add acpipci(4), a driver that supports generic ECAM-compatible PCI host | Mark Kettenis | |
bridges based on information provided by ACPI. ok mlarkin@ | |||
2018-07-04 | Properly pass around the PCI "chipset tag" in acpi(4) and refactor | Mark Kettenis | |
acpimcfg(4) to call an MD initialization functions that sets up a tag for PCI ECAM. ok guenther@, mlarkin@, krw@ | |||
2018-07-02 | Allow pluart(4) to attach to acpi(4). | Mark Kettenis | |
ok mlarkin@, patrick@ | |||
2018-07-02 | Allow xhci(4) to attach to acpi(4). | Mark Kettenis | |
ok dlg@, patrick@, mpi@ | |||
2018-07-01 | acpi: clean up some inconsistent style in the hid matching arrays | Mike Larkin | |
ok millert, kettenis, jcs, phessler, deraadt, mpi | |||
2018-07-01 | Allow ahci(4) to attach to acpi(4). | Mark Kettenis | |
ok deraadt@ | |||
2018-07-01 | Move acpi(4) attach glue into acpi_machdep.c. | Mark Kettenis | |
ok guenther@, deraadt@ | |||
2018-07-01 | Remove semicolon before printing the AML name. | Mark Kettenis | |
spotted by deraadt@ | |||
2018-07-01 | Allow com(4) to attach to acpi(4). For now we will only use this on arm64 | Mark Kettenis | |
where this is needed to support serial console in ACPI mode. ok mlarkin@ | |||
2018-07-01 | Add support for _DSD Device Properties. | Mark Kettenis | |
ok mlarkin@ | |||
2018-07-01 | Add definitions for SPCR tables. | Mark Kettenis | |
ok mlarkin@ | |||
2018-06-30 | Typo in comment in previous file which I said I'd address in the original | Mike Larkin | |
commit and forgot to do. (Sufrace -> Surface) | |||
2018-06-30 | acpisurface(4): driver for Surface Pro 4 and Surface Book hardware | Mike Larkin | |
buttons. ok phessler, deraadt, kettenis | |||
2018-06-30 | Add intr_enable() function, intended for MI use to amd64 and i386 and use | Mark Kettenis | |
this in the acpi(4) suspend/resume code paths. ok deraadt@ | |||
2018-06-29 | Use <stdint.h> types. | Mark Kettenis | |
ok mpi@, jung@, krw@, deraadt@ | |||
2018-06-29 | ACPI: Allow (with warning) GPE handler reassignment, instead of returning | Mike Larkin | |
a failure code. ok kettenis | |||
2018-06-26 | knf | Mike Larkin | |
2018-06-26 | Let acpi(4) pass down the bus dma tag. | Mark Kettenis | |
ok deraadt@ | |||
2018-06-25 | Reorganize acpi(4) code a bit in preparation for upcoming arm64 support. | Mark Kettenis | |
ok deraadt@ | |||
2018-06-24 | If ACPI tables are present, set a global variable to point at their | Mark Kettenis | |
(physical) address such that acpidump(8) can read it and dump the tables on arm64 systems. ok deraadt@ | |||
2018-06-12 | Don't panic on I/O to unregistered regionspaces. Needed to unbreak the GPD | Mike Larkin | |
pocket which has a questionable BIOS. The code will now simply printf and return to the caller without doing any I/O in this case. The spec defines this to be undefined behaviour anyway. ok kettenis, deraadt, pirofti | |||
2018-05-23 | Print a message if AML attempts to access a part of the Operation Region | Mark Kettenis | |
that we haven't implemented yet. | |||
2018-05-22 | Call acpi_attach_deps() for the child devices before attempting to power | Mark Kettenis | |
them on. Prevents a panic on the AZW Z83-S that is somewhat buggy and checks whether the GPO3 controller is available and then pokes a pin on GPO2. It shouldn't do that but we should make sure all the devices that it depends on attach first anyway. ok patrick@ | |||
2018-05-22 | acpithinkpad(4): add port replicator indicator sensor | Mike Larkin | |
Note: the sensor will report state UNKNOWN until at least one port replicator event (docked / undocked) is received. Diff from Tobias Tschinkowitz, thanks. ok stsp@. deraadt@ also ok'ed an earlier version of the diff | |||
2018-05-21 | Implement GPIO functionality. | Mark Kettenis | |
2018-05-21 | Add ccpmic(4), a driver for the "Intel" Crystal Cove PMIC. This is actually | Mark Kettenis | |
a ROHM part (BD2613GW) and once more the datasheet is only available under NDA. Disabled for now until bugs in dwiic(4) are fixed. | |||
2018-05-21 | Implement power management Operation Region support. | Mark Kettenis | |
2018-05-21 | Put controllers and child devices in D0 by calling _PS0 when we attach the | Mark Kettenis | |
controller. Some BIOSen deliver them to us in D3. Override card detect if ACPI says that the child devices are non-removable. ok mlarkin@ | |||
2018-05-21 | Pass interrupt description along as well. | Mark Kettenis | |
ok mlarkin@ | |||
2018-05-20 | Add tipmic(4), a driver for the "Intel" Dollar Cove TI PMIC. This is actually | Mark Kettenis | |
a TI part (SND9039) but the datasheet is only available under NDA because it contains "Intel proprietary information". Initial implementation handles the thermal sensors, providing data to acpi(4) which is used by acpitz(4). Power management functionality will be added later. Disabled for now until some bugs in dwiic(4) are fixed. | |||
2018-05-20 | Pass the acpi node corresponding to the i2c device down as the cookie. | Mark Kettenis | |
ok mlarkin@ | |||
2018-05-20 | Wake up the acpi thread after scheduling a gpio event. | Mark Kettenis | |
ok mpi@ | |||
2018-05-19 | Fix GenericSerialBus support by parsing ExtendedAccessField correctly. | Mark Kettenis | |
ok mlarkin@ | |||
2018-05-18 | This needs some #ifndef SMALL_KERNEL as well. Fixes RAMDISK_CD. | Mark Kettenis | |
2018-05-17 | Sprinkle some #ifndef SMALL_KERNEL such that RAMDISK kernels cuild again. | Mark Kettenis | |
pointed out by stsp@ | |||
2018-05-17 | Implement GenericSerialBus OpRegion support. | Mark Kettenis | |
ok mlarkin@ | |||
2018-05-17 | Implement LoadTable(). | Mark Kettenis | |
ok mlarkin@ | |||
2018-04-30 | Use acpi_register_gpio() to register gpio space like we do for chvgpio(4). | Mark Kettenis | |
ok mpi@ | |||
2018-04-28 | replace add_*_randomness with enqueue_randomness() | Jasper Lievisse Adriaanse | |
this gets rid of the source annotation which doesn't really add anything other than adding complexitiy. randomess is generally good enough that the few extra bits that the source type would add are not worth it. ok mikeb@ deraadt@ | |||
2018-04-05 | typo in printf - was _PRO, should be _PR0 | Mike Larkin | |
ok kettenis | |||
2018-03-27 | Add acpicmos(4), a driver that implements SystemCMOS OperationRegion | Mark Kettenis | |
access support. This fixes machines where the AML doesn't check whether support for this OperationRegion type has been registered by the OS. ok mlarkin@ | |||
2018-03-14 | On newer machines IPMI attaches only using the ACPI tables instead of | Patrick Wildt | |
the SMBIOS table. Some machines even have IPMI defined in both tables. This attachment driver makes ipmi(4) available via ACPI. There can only attach one ipmi(4) device, either on ACPI or SMBIOS. Akin to the SMBIOS-attached ipmi(4) this driver is disabled by default. Feedback from jsg@ ok deraadt@ | |||
2018-02-19 | Remove almost unused `flags' argument of suser(). | Martin Pieuchot | |
The account flag `ASU' will no longer be set but that makes suser() mpsafe since it no longer mess with a per-process field. No objection from millert@, ok tedu@, bluhm@ | |||
2018-02-10 | Syncronize filesystems to disk when suspending. Each mountpoint's vnodes | Theo de Raadt | |
are pushed to disk. Dangling vnodes (unlinked files still in use) and vnodes undergoing change by long-running syscalls are identified -- and such filesystems are marked dirty on-disk while we are suspended (in case power is lost, a fsck will be required). Filesystems without dangling or busy vnodes are marked clean, resulting in faster boots following "battery died" circumstances. Tested by numerous developers, thanks for the feedback. | |||
2018-02-08 | After flushing disks, try again to release all memory. We don't need to | Theo de Raadt | |
save dirty memory to the hibernate space. | |||
2018-02-08 | Toss all releaseable memory, because fragmentation can get in the way | Theo de Raadt | |
of allocating the hibernate playpen. | |||
2018-02-08 | sr_quiesce() is a new approach for ensuring that softraid drains | Theo de Raadt | |
output to the disks. This is part of a larger suspend/resume filesystem-safety diff, which has been worked on for a couple of months already. Tests by job, krw, beck, benno, and others. Sometimes even by snapshot users... | |||
2018-01-19 | dwiic: cleanup function prototypes after ACPI/PCI split | Joshua Stein | |
2018-01-17 | Disable ACPI burst mode on the 2015 Chromebook Pixel, where it freezes. | Anthony J. Bentley | |
Diff from jcs@, ok pirofti@ |