Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-10-26 | Add acpipci(4) on amd64. For now this only calls the PCI-specific _OSC | Mark Kettenis | |
method to let the ACPI implementation know what features we support. | |||
2018-09-19 | Delete checks of the CST bit_width ('vendor') field, as new Ryzen machines | Philip Guenther | |
are showing up with vendor 2 and it doesn't seem to mean anything: Linux doesn't check it at all, so this exhibits all the normal ACPI spec lossage tested in snaps for a few weeks shrug kettenis@ | |||
2018-08-30 | Move softbutton check before the check that skips attaching certain acpi | Mark Kettenis | |
devices. Fixes regression caused by matching on _CID in addition to matching on _HID. ok matthieu@, mlarkin@ | |||
2018-08-25 | Match ACPI devices based on _CID if no match for _HID is found. | Mark Kettenis | |
ok mpi@ | |||
2018-08-19 | Add support for multiple PCI segments. Only really implemented for arm64 | Mark Kettenis | |
for now as amd64/i386 firmware still caters for legacy OSes that only support a single PCI segment. ok patrick@ | |||
2018-08-11 | Match "ARMH0011". | Mark Kettenis | |
2018-08-03 | Let ahci(4) match on _CLS instead of _HID when attaching at acpi(4). Avoids | Mark Kettenis | |
having to add many more _HID entries to the match table. ok deraadt@, mlarkin@ | |||
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@ |