<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/dev/acpi, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/dev/acpi?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/dev/acpi?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-06-20T18:06:22Z</updated>
<entry>
<title>Shifts (&lt;&lt;) of more than 32 bits must be done on 64-bit values.</title>
<updated>2020-06-20T18:06:22Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2020-06-20T18:06:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c0937d19fbf615678794785c9dba640612a1221f'/>
<id>urn:sha1:c0937d19fbf615678794785c9dba640612a1221f</id>
<content type='text'>
COVERITY 1491295

ok kettenis@
</content>
</entry>
<entry>
<title>needs param.h, not types.h</title>
<updated>2020-06-17T16:16:05Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-06-17T16:16:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e80e43fc0876077814e0cf40c04e86b34c3f7b39'/>
<id>urn:sha1:e80e43fc0876077814e0cf40c04e86b34c3f7b39</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Give userland a consistent battery and A/C state after resume</title>
<updated>2020-06-10T22:26:40Z</updated>
<author>
<name>jca</name>
<email>jca@openbsd.org</email>
</author>
<published>2020-06-10T22:26:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=dda5942a660d20d192f90a8468ec6b087e8662bc'/>
<id>urn:sha1:dda5942a660d20d192f90a8468ec6b087e8662bc</id>
<content type='text'>
Previously we refreshed the state of acpiac(4) and acpibat(4)/acpisbs(4)
by queueing fake ACPI events to be processed by the acpi thread.
acpibat(4) using ACPIDEV_POLL meant that its status could be refreshed
first, resulting in an APM_POWER_CHANGE event sent to userland before
the state of acpiac(4) was up to date.  Because of this, apmd(8) could
see A/C unplugged when it was in fact plugged, possibly leading to
a wrong decision.

Instead of using fake ACPI events, refresh the status of acpiac(4) and
acpibat(4)/acpisbs(4) right away at DVACT_WAKEUP time.  To reuse the
existing refresh code of those drivers, make their ACPI *_notify()
handlers responsible for sending APM_POWER_CHANGE events instead.  Also
queue an APM_POWER_CHANGE event right after resume to retain existing
behavior.

This fixes the consistency of data shown to userland, and makes those
drivers less special.

Initially discussed last year (!) with mpi@ at Miod's place.
Feedback and ok jcs@, deraadt@ agrees with the use of DVACT_WAKEUP here.
</content>
</entry>
<entry>
<title>disable debugging by default and only print unknown events when</title>
<updated>2020-06-02T19:26:36Z</updated>
<author>
<name>jcs</name>
<email>jcs@openbsd.org</email>
</author>
<published>2020-06-02T19:26:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a2a1e6008f86f71601bca5705a08c083af49bcfc'/>
<id>urn:sha1:a2a1e6008f86f71601bca5705a08c083af49bcfc</id>
<content type='text'>
debug is enabled
</content>
</entry>
<entry>
<title>add acpihid(4) for ACPI HID event and 5-button array devices</title>
<updated>2020-06-02T16:24:24Z</updated>
<author>
<name>jcs</name>
<email>jcs@openbsd.org</email>
</author>
<published>2020-06-02T16:24:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fa9d1ef83691efe74cddcecf306063709cfed905'/>
<id>urn:sha1:fa9d1ef83691efe74cddcecf306063709cfed905</id>
<content type='text'>
ok kettenis
</content>
</entry>
<entry>
<title>dev/rndvar.h no longer has statistical interfaces (removed during various</title>
<updated>2020-05-29T04:42:23Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-05-29T04:42:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c8f27247b9f5f282483daaddbfd1267ad73569c5'/>
<id>urn:sha1:c8f27247b9f5f282483daaddbfd1267ad73569c5</id>
<content type='text'>
conversion steps).  it only contains kernel prototypes for 4 interfaces,
all of which legitimately belong in sys/systm.h, which are already included
by all enqueue_randomness() users.
</content>
</entry>
<entry>
<title>limit clflush before monitor errata workaround to Intel</title>
<updated>2020-05-27T05:02:21Z</updated>
<author>
<name>jsg</name>
<email>jsg@openbsd.org</email>
</author>
<published>2020-05-27T05:02:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9914efbf395e5d2d4059aa7ec3dba9e5e70bfaa3'/>
<id>urn:sha1:9914efbf395e5d2d4059aa7ec3dba9e5e70bfaa3</id>
<content type='text'>
no functional change as clflush is currently only done on Intel
</content>
</entry>
<entry>
<title>Use the parsed address and interrupt information from</title>
<updated>2020-05-22T10:16:37Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2020-05-22T10:16:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9f1f78b7a13f9b43b5c02fb5e1b18bd245fb7e25'/>
<id>urn:sha1:9f1f78b7a13f9b43b5c02fb5e1b18bd245fb7e25</id>
<content type='text'>
struct acpi_attach_args.

tpm(4) tested by kn@
ok jmatthew@
</content>
</entry>
<entry>
<title>Don't provide backlight control if the list returned by _BCL is empty.</title>
<updated>2020-05-19T14:26:59Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2020-05-19T14:26:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=30345ed3e01fe2fb32af615930f4aa5d0c3f2702'/>
<id>urn:sha1:30345ed3e01fe2fb32af615930f4aa5d0c3f2702</id>
<content type='text'>
Prevents crashes on broken AML.

ok jcs@
</content>
</entry>
<entry>
<title>Bring back the acpi(4) changes.  This time around only use the ACPI _CRS</title>
<updated>2020-05-14T13:07:10Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2020-05-14T13:07:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a6e4dcfb212cd5cc293df160d767b2f1381f475a'/>
<id>urn:sha1:a6e4dcfb212cd5cc293df160d767b2f1381f475a</id>
<content type='text'>
information on ACPI 5.0 and later.

ok krw@, patrick@
</content>
</entry>
</feed>
