Age | Commit message (Collapse) | Author |
|
range (0x80 to 0xff). We're not going to understand OEM specific
structures, and some machines such as the Dell R6515 have significant
numbers of them.
ok kettenis@
|
|
feedback and ok tb@ jmc@ ok ratchov@
|
|
|
|
Some modern tpm2 devices require or prefer drivers communicate via
the CRB interface and not the TIS/fifo interface. This change adds
basic support for detecting CRB start mode and using CRB to issue
commands required for proper S4 hibernation. As a result, this also
defines a new struct definition for the TPM2 acpi table required
for start mode detection.
This fixes recent S4 regressions on the Surface Go 2 caused by a
change in firmware from Microsoft.
Other CRB start methods may need implementing in the future to
support additional hardware.
tested by deraadt@ and many others, ok kettenis@
|
|
or padded, and hence e. g. the access to the PCI vendor/device id would be
broken. The structs for the other tables all seem to be packed as well.
ok kettenis@
|
|
used towards an smmu(4) for non-PCI devices. The references are provided
as ASCII printable paths.
ok kettenis@
|
|
|
|
ok kettenis@
|
|
ok kettenis@
|
|
ok kettenis@
|
|
the generic IORT node information but also the Root Complex's attributes.
ok kettenis@
|
|
ok kettenis@
|
|
so that it can be used by more drivers.
ok kettenis@
|
|
ok kettenis@
|
|
few additional quirks though, and attaching the PCI busses is delayed to
replicate the existing code more closely. That may be changed in the
future. Also tweak how we handle MSI support and respect to ACPI flag
that says we shouldn't attempt to use MSIs.
Some fallout is expected.
ok patrick@
|
|
ok mlarkin@
|
|
for now as amd64/i386 firmware still caters for legacy OSes that only
support a single PCI segment.
ok patrick@
|
|
ok mlarkin@
|
|
ok mpi@, jung@, krw@, deraadt@
|
|
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@
|
|
|
|
ok kettenis
|
|
|
|
It is the ACPI processor UID that is stored here.
ok guenther@
|
|
acpiec(4) calls the _REG method.
ok mlarkin@
|
|
|
|
SPL_TYPx, SLP_EN and WAK_STS using the new SLEEP_STATUS_REG and
SLEEP_CONTROL_REG registers. Makes the transition into S5 (powerdown) work
on the ASUS X205TA.
ok deraadt@, mlarkin@
|
|
on the Samsung ATIV Book 9 laptop. This initial version only
supports ACPI config/attachment.
Add ihidev, a HID-over-i2c driver largely based on uhidev. dwiic
handles attaching ihidev devices found in ACPI.
Add ims, a HID-over-i2c mouse/trackpad driver to get basic cursor
and button functionality from HID-compliant i2c trackpads.
ok kettenis deraadt
|
|
|
|
physical buttons. This will be used if the acpi pnpid for the mouse
matches a list provided by Synaptics found in Linux.
Combined with the xenocara changes this will remove the need for an xorg
config file for the x240/t440/t540 generation of thinkpads.
ok matthieu@ shadchin@ kettenis@
|
|
for PCI devices. This hook should be called twice, before and after
changing the power state of a PCI device.
Before setting the device to the new state, the ACPI layer will notify
every power resources linked to the device for that state and make sure
they are turned "_ON". After changing the state of the device, it will
decrement the reference of every power resources linked to that device
for the old state and turn them "_OFF" if they are no longer referenced.
This fixes the no-USB after resume problem seen on various ThinkPad,
problem initialy diagnosed with Alexander Polakov.
ok kettenis@, deraadt@
|
|
There are some models that panic whenever an event is received.
Some cope, some don't. In order to get this right acpiec(4) requires
major rework. Until then let machines boot.
Discussed with deraadt@.
|
|
of printing a warning.
|
|
This is originally written by Hiroyuki Aizu, ported and integrated
in our tree by Javier Vazquez <javama4 AT gmail> with tweaks and
suggestions by me.
Import prodded by deraadt@ and the lack of testers on tech@.
|
|
ok deraadt@
|
|
access to PCIe extended configuration space access on modern i386 and amd64
machines.
|
|
|
|
ok kettenis, deraadt
|
|
|
|
|
|
machines don't immediately resume after suspending to S3.
Tested by kettenis@ and I on 5 or 6 machines, deraadt@ "yeah, looks good"
|
|
with sensor state support through limits provided by the ACPI.
Tested on several ASUS motherboards kindly networked by Sam Fourman Jr.
ok deraadt marco jordan
|
|
|
|
code from mlarkin and me
help from art,toby,jordan and several others
ok jordan, go for it deraadt
|
|
|
|
thinkpads.
provides functionality that the bios did on older, non-acpi
thinkpads like respond to screen brightness keys and toggle the
bluetooth device on and off.
ok deraadt@ and marco@
|
|
ASUS laptops (including the ASUS EeePC) - largely based on NetBSD's
asus(4) driver. On the ASUS EeePC this allows us to enable/disable
wireless, change screen brightness and use the volume keys.
ok jsg@, weingart@
|
|
|
|
|
|
From Maxim Bourmistrov <maxim at student dot chalmers dot se>
via marco@, ok marco@
|