History log of /openbsd-current/sys/dev/acpi/pchgpio.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.15 27-Nov-2023 jsg

support Alder Lake-N and Alder Lake-S

Alder Lake-N tested by sthen@
Alder Lake-S tested by Laurence Tratt (on Raptor Lake-S)
feedback and ok kettenis@


Revision tags: OPENBSD_7_3_BASE OPENBSD_7_4_BASE
# 1.14 20-Oct-2022 kettenis

Add the hooks to disable and enable GPIO interrupts. Should fix potential
interrupt storms related to level-triggered interrupts.

ok mglocker@


Revision tags: OPENBSD_7_2_BASE
# 1.13 29-Jun-2022 jsg

match on Alder Lake-P
ok deraadt@ kettenis@


# 1.12 06-Apr-2022 naddy

constify struct cfattach


Revision tags: OPENBSD_7_1_BASE
# 1.11 10-Mar-2022 hastings

Add support for Sunrisepoint-H and Sunrisepoint-LP platforms.

Also mask unhandled interrupts like we do in amdgpio(4).

ok kettenis@, deraadt@


# 1.10 21-Dec-2021 kettenis

Move checks on attach arguments from attach into match.

ok anton@, deraadt@


# 1.9 07-Dec-2021 kettenis

Fix typo in Tiger Lake H configuration.

From James Hastings


# 1.8 29-Sep-2021 kettenis

Add support for Cannon Lake H and Tiger Lake H platforms.

ok jcs@


Revision tags: OPENBSD_7_0_BASE
# 1.7 21-Sep-2021 kettenis

During resume, also restore pins that we configured as GPIO interrupt pins.
Fixes issues with dead touchpads after resume on some machines.

ok jcs@, deraadt@


# 1.6 18-Sep-2021 kettenis

Work around a BIOS bug on Lenovo Thinkpads based on Intel's Tiger Lake
platforms where the GPIO pin that is used for the touchpad interrupt
gets reset when entering S3 and isn't properly restored upon resume.

ok deraadt@, jcs@


# 1.5 30-Aug-2021 kettenis

Remove magic offset from data structures. This makes it much easier to
compare the data structures with the Linux code which unfortunately is
the only documentation we have for the pin numbers used by ACPI.
While there make the data structures const.

ok jcs@


# 1.4 24-Aug-2021 kettenis

Fix ping group offsets.

ok jcs@


# 1.3 10-Aug-2021 jcs

Add Tiger Lake LP (INT34C5) support

with James Hastings


# 1.2 16-May-2021 jsg

correct prototype of acpi gpio intr_establish functions

ok kettenis@


Revision tags: OPENBSD_6_9_BASE
# 1.1 15-Nov-2020 kettenis

Add pchgpio(4), a driver for the GPIO controllers found on modern Intel
PCHs. With help from James Hastings.

ok deraadt@


# 1.14 20-Oct-2022 kettenis

Add the hooks to disable and enable GPIO interrupts. Should fix potential
interrupt storms related to level-triggered interrupts.

ok mglocker@


Revision tags: OPENBSD_7_2_BASE
# 1.13 29-Jun-2022 jsg

match on Alder Lake-P
ok deraadt@ kettenis@


# 1.12 06-Apr-2022 naddy

constify struct cfattach


Revision tags: OPENBSD_7_1_BASE
# 1.11 10-Mar-2022 hastings

Add support for Sunrisepoint-H and Sunrisepoint-LP platforms.

Also mask unhandled interrupts like we do in amdgpio(4).

ok kettenis@, deraadt@


# 1.10 21-Dec-2021 kettenis

Move checks on attach arguments from attach into match.

ok anton@, deraadt@


# 1.9 07-Dec-2021 kettenis

Fix typo in Tiger Lake H configuration.

From James Hastings


# 1.8 29-Sep-2021 kettenis

Add support for Cannon Lake H and Tiger Lake H platforms.

ok jcs@


Revision tags: OPENBSD_7_0_BASE
# 1.7 21-Sep-2021 kettenis

During resume, also restore pins that we configured as GPIO interrupt pins.
Fixes issues with dead touchpads after resume on some machines.

ok jcs@, deraadt@


# 1.6 18-Sep-2021 kettenis

Work around a BIOS bug on Lenovo Thinkpads based on Intel's Tiger Lake
platforms where the GPIO pin that is used for the touchpad interrupt
gets reset when entering S3 and isn't properly restored upon resume.

ok deraadt@, jcs@


# 1.5 30-Aug-2021 kettenis

Remove magic offset from data structures. This makes it much easier to
compare the data structures with the Linux code which unfortunately is
the only documentation we have for the pin numbers used by ACPI.
While there make the data structures const.

ok jcs@


# 1.4 24-Aug-2021 kettenis

Fix ping group offsets.

ok jcs@


# 1.3 10-Aug-2021 jcs

Add Tiger Lake LP (INT34C5) support

with James Hastings


# 1.2 16-May-2021 jsg

correct prototype of acpi gpio intr_establish functions

ok kettenis@


Revision tags: OPENBSD_6_9_BASE
# 1.1 15-Nov-2020 kettenis

Add pchgpio(4), a driver for the GPIO controllers found on modern Intel
PCHs. With help from James Hastings.

ok deraadt@


# 1.13 29-Jun-2022 jsg

match on Alder Lake-P
ok deraadt@ kettenis@


# 1.12 06-Apr-2022 naddy

constify struct cfattach


Revision tags: OPENBSD_7_1_BASE
# 1.11 10-Mar-2022 hastings

Add support for Sunrisepoint-H and Sunrisepoint-LP platforms.

Also mask unhandled interrupts like we do in amdgpio(4).

ok kettenis@, deraadt@


# 1.10 21-Dec-2021 kettenis

Move checks on attach arguments from attach into match.

ok anton@, deraadt@


# 1.9 07-Dec-2021 kettenis

Fix typo in Tiger Lake H configuration.

From James Hastings


# 1.8 29-Sep-2021 kettenis

Add support for Cannon Lake H and Tiger Lake H platforms.

ok jcs@


Revision tags: OPENBSD_7_0_BASE
# 1.7 21-Sep-2021 kettenis

During resume, also restore pins that we configured as GPIO interrupt pins.
Fixes issues with dead touchpads after resume on some machines.

ok jcs@, deraadt@


# 1.6 18-Sep-2021 kettenis

Work around a BIOS bug on Lenovo Thinkpads based on Intel's Tiger Lake
platforms where the GPIO pin that is used for the touchpad interrupt
gets reset when entering S3 and isn't properly restored upon resume.

ok deraadt@, jcs@


# 1.5 30-Aug-2021 kettenis

Remove magic offset from data structures. This makes it much easier to
compare the data structures with the Linux code which unfortunately is
the only documentation we have for the pin numbers used by ACPI.
While there make the data structures const.

ok jcs@


# 1.4 24-Aug-2021 kettenis

Fix ping group offsets.

ok jcs@


# 1.3 10-Aug-2021 jcs

Add Tiger Lake LP (INT34C5) support

with James Hastings


# 1.2 16-May-2021 jsg

correct prototype of acpi gpio intr_establish functions

ok kettenis@


Revision tags: OPENBSD_6_9_BASE
# 1.1 15-Nov-2020 kettenis

Add pchgpio(4), a driver for the GPIO controllers found on modern Intel
PCHs. With help from James Hastings.

ok deraadt@


# 1.12 06-Apr-2022 naddy

constify struct cfattach


Revision tags: OPENBSD_7_1_BASE
# 1.11 10-Mar-2022 hastings

Add support for Sunrisepoint-H and Sunrisepoint-LP platforms.

Also mask unhandled interrupts like we do in amdgpio(4).

ok kettenis@, deraadt@


# 1.10 21-Dec-2021 kettenis

Move checks on attach arguments from attach into match.

ok anton@, deraadt@


# 1.9 07-Dec-2021 kettenis

Fix typo in Tiger Lake H configuration.

From James Hastings


# 1.8 29-Sep-2021 kettenis

Add support for Cannon Lake H and Tiger Lake H platforms.

ok jcs@


Revision tags: OPENBSD_7_0_BASE
# 1.7 21-Sep-2021 kettenis

During resume, also restore pins that we configured as GPIO interrupt pins.
Fixes issues with dead touchpads after resume on some machines.

ok jcs@, deraadt@


# 1.6 18-Sep-2021 kettenis

Work around a BIOS bug on Lenovo Thinkpads based on Intel's Tiger Lake
platforms where the GPIO pin that is used for the touchpad interrupt
gets reset when entering S3 and isn't properly restored upon resume.

ok deraadt@, jcs@


# 1.5 30-Aug-2021 kettenis

Remove magic offset from data structures. This makes it much easier to
compare the data structures with the Linux code which unfortunately is
the only documentation we have for the pin numbers used by ACPI.
While there make the data structures const.

ok jcs@


# 1.4 24-Aug-2021 kettenis

Fix ping group offsets.

ok jcs@


# 1.3 10-Aug-2021 jcs

Add Tiger Lake LP (INT34C5) support

with James Hastings


# 1.2 16-May-2021 jsg

correct prototype of acpi gpio intr_establish functions

ok kettenis@


Revision tags: OPENBSD_6_9_BASE
# 1.1 15-Nov-2020 kettenis

Add pchgpio(4), a driver for the GPIO controllers found on modern Intel
PCHs. With help from James Hastings.

ok deraadt@


# 1.11 10-Mar-2022 hastings

Add support for Sunrisepoint-H and Sunrisepoint-LP platforms.

Also mask unhandled interrupts like we do in amdgpio(4).

ok kettenis@, deraadt@


# 1.10 21-Dec-2021 kettenis

Move checks on attach arguments from attach into match.

ok anton@, deraadt@


# 1.9 07-Dec-2021 kettenis

Fix typo in Tiger Lake H configuration.

From James Hastings


# 1.8 29-Sep-2021 kettenis

Add support for Cannon Lake H and Tiger Lake H platforms.

ok jcs@


Revision tags: OPENBSD_7_0_BASE
# 1.7 21-Sep-2021 kettenis

During resume, also restore pins that we configured as GPIO interrupt pins.
Fixes issues with dead touchpads after resume on some machines.

ok jcs@, deraadt@


# 1.6 18-Sep-2021 kettenis

Work around a BIOS bug on Lenovo Thinkpads based on Intel's Tiger Lake
platforms where the GPIO pin that is used for the touchpad interrupt
gets reset when entering S3 and isn't properly restored upon resume.

ok deraadt@, jcs@


# 1.5 30-Aug-2021 kettenis

Remove magic offset from data structures. This makes it much easier to
compare the data structures with the Linux code which unfortunately is
the only documentation we have for the pin numbers used by ACPI.
While there make the data structures const.

ok jcs@


# 1.4 24-Aug-2021 kettenis

Fix ping group offsets.

ok jcs@


# 1.3 10-Aug-2021 jcs

Add Tiger Lake LP (INT34C5) support

with James Hastings


# 1.2 16-May-2021 jsg

correct prototype of acpi gpio intr_establish functions

ok kettenis@


Revision tags: OPENBSD_6_9_BASE
# 1.1 15-Nov-2020 kettenis

Add pchgpio(4), a driver for the GPIO controllers found on modern Intel
PCHs. With help from James Hastings.

ok deraadt@


# 1.10 21-Dec-2021 kettenis

Move checks on attach arguments from attach into match.

ok anton@, deraadt@


# 1.9 07-Dec-2021 kettenis

Fix typo in Tiger Lake H configuration.

From James Hastings


# 1.8 29-Sep-2021 kettenis

Add support for Cannon Lake H and Tiger Lake H platforms.

ok jcs@


Revision tags: OPENBSD_7_0_BASE
# 1.7 21-Sep-2021 kettenis

During resume, also restore pins that we configured as GPIO interrupt pins.
Fixes issues with dead touchpads after resume on some machines.

ok jcs@, deraadt@


# 1.6 18-Sep-2021 kettenis

Work around a BIOS bug on Lenovo Thinkpads based on Intel's Tiger Lake
platforms where the GPIO pin that is used for the touchpad interrupt
gets reset when entering S3 and isn't properly restored upon resume.

ok deraadt@, jcs@


# 1.5 30-Aug-2021 kettenis

Remove magic offset from data structures. This makes it much easier to
compare the data structures with the Linux code which unfortunately is
the only documentation we have for the pin numbers used by ACPI.
While there make the data structures const.

ok jcs@


# 1.4 24-Aug-2021 kettenis

Fix ping group offsets.

ok jcs@


# 1.3 10-Aug-2021 jcs

Add Tiger Lake LP (INT34C5) support

with James Hastings


# 1.2 16-May-2021 jsg

correct prototype of acpi gpio intr_establish functions

ok kettenis@


Revision tags: OPENBSD_6_9_BASE
# 1.1 15-Nov-2020 kettenis

Add pchgpio(4), a driver for the GPIO controllers found on modern Intel
PCHs. With help from James Hastings.

ok deraadt@


# 1.9 07-Dec-2021 kettenis

Fix typo in Tiger Lake H configuration.

From James Hastings


# 1.8 29-Sep-2021 kettenis

Add support for Cannon Lake H and Tiger Lake H platforms.

ok jcs@


Revision tags: OPENBSD_7_0_BASE
# 1.7 21-Sep-2021 kettenis

During resume, also restore pins that we configured as GPIO interrupt pins.
Fixes issues with dead touchpads after resume on some machines.

ok jcs@, deraadt@


# 1.6 18-Sep-2021 kettenis

Work around a BIOS bug on Lenovo Thinkpads based on Intel's Tiger Lake
platforms where the GPIO pin that is used for the touchpad interrupt
gets reset when entering S3 and isn't properly restored upon resume.

ok deraadt@, jcs@


# 1.5 30-Aug-2021 kettenis

Remove magic offset from data structures. This makes it much easier to
compare the data structures with the Linux code which unfortunately is
the only documentation we have for the pin numbers used by ACPI.
While there make the data structures const.

ok jcs@


# 1.4 24-Aug-2021 kettenis

Fix ping group offsets.

ok jcs@


# 1.3 10-Aug-2021 jcs

Add Tiger Lake LP (INT34C5) support

with James Hastings


# 1.2 16-May-2021 jsg

correct prototype of acpi gpio intr_establish functions

ok kettenis@


Revision tags: OPENBSD_6_9_BASE
# 1.1 15-Nov-2020 kettenis

Add pchgpio(4), a driver for the GPIO controllers found on modern Intel
PCHs. With help from James Hastings.

ok deraadt@


# 1.8 29-Sep-2021 kettenis

Add support for Cannon Lake H and Tiger Lake H platforms.

ok jcs@


Revision tags: OPENBSD_7_0_BASE
# 1.7 21-Sep-2021 kettenis

During resume, also restore pins that we configured as GPIO interrupt pins.
Fixes issues with dead touchpads after resume on some machines.

ok jcs@, deraadt@


# 1.6 18-Sep-2021 kettenis

Work around a BIOS bug on Lenovo Thinkpads based on Intel's Tiger Lake
platforms where the GPIO pin that is used for the touchpad interrupt
gets reset when entering S3 and isn't properly restored upon resume.

ok deraadt@, jcs@


# 1.5 30-Aug-2021 kettenis

Remove magic offset from data structures. This makes it much easier to
compare the data structures with the Linux code which unfortunately is
the only documentation we have for the pin numbers used by ACPI.
While there make the data structures const.

ok jcs@


# 1.4 24-Aug-2021 kettenis

Fix ping group offsets.

ok jcs@


# 1.3 10-Aug-2021 jcs

Add Tiger Lake LP (INT34C5) support

with James Hastings


# 1.2 16-May-2021 jsg

correct prototype of acpi gpio intr_establish functions

ok kettenis@


Revision tags: OPENBSD_6_9_BASE
# 1.1 15-Nov-2020 kettenis

Add pchgpio(4), a driver for the GPIO controllers found on modern Intel
PCHs. With help from James Hastings.

ok deraadt@


# 1.7 21-Sep-2021 kettenis

During resume, also restore pins that we configured as GPIO interrupt pins.
Fixes issues with dead touchpads after resume on some machines.

ok jcs@, deraadt@


# 1.6 18-Sep-2021 kettenis

Work around a BIOS bug on Lenovo Thinkpads based on Intel's Tiger Lake
platforms where the GPIO pin that is used for the touchpad interrupt
gets reset when entering S3 and isn't properly restored upon resume.

ok deraadt@, jcs@


# 1.5 30-Aug-2021 kettenis

Remove magic offset from data structures. This makes it much easier to
compare the data structures with the Linux code which unfortunately is
the only documentation we have for the pin numbers used by ACPI.
While there make the data structures const.

ok jcs@


# 1.4 24-Aug-2021 kettenis

Fix ping group offsets.

ok jcs@


# 1.3 10-Aug-2021 jcs

Add Tiger Lake LP (INT34C5) support

with James Hastings


# 1.2 16-May-2021 jsg

correct prototype of acpi gpio intr_establish functions

ok kettenis@


Revision tags: OPENBSD_6_9_BASE
# 1.1 15-Nov-2020 kettenis

Add pchgpio(4), a driver for the GPIO controllers found on modern Intel
PCHs. With help from James Hastings.

ok deraadt@