arm/bus_dma: Sprinkle error check with __predict_{true,false}.
Sprinkle error check in bus_dmamap_load*() and bus_dmamap_sync() with
__predict_{true,false} to improve performance.
remove a workaround in apr_socket_connect()
the comment on the workaround is:
* OpenBSD doesn't support connect() to INADDR_ANY so convert to
* INADDR_LOOPBACK to emulate what is expected.
the conversion modifies the sockaddr that was passed to apr_socket_connect,
replacing 0.0.0.0 with 127.0.0.1.
this is a very old workaround, but our best guess for why it exists
is that apache sometimes connects to the listening socket on worker
processes to push them out of their wait loop and do some processing.
workers can listen on wildcard addresses though (ie, 0.0.0.0), which
openbsd does not accept as a destination address in connect() calls.
replacing it with 127.0.0.1 allowed it to work.
the problem with this workaround is that it modifies the sockaddr.
in apache httpd, the sockaddr is the same one that records the
[17 lines not shown]
sys/uvideo: skip uvideo_vs_set_alt for bulk endpoint
Section 2.4.3 of the UVC 1.5 class specification states that the bulk
endpoint only supports the alternative setting of zero, which is the
default stream, and which is switched at uvideo_attach_hook.
Inside uvideo_vs_close, the code uses the same switch to the alternative
setting of zero to turn off the cam LED.
The additional uvideo_vs_set_alt inside uvideo_vs_open turns off the cam
LED in the case of the bulk endpoint cam. I see this behavior on both
available bulk endpoint cams: it flashes the LED flashes after ffplay
starts, and looks like it was turned off.
OK mglocker@ kn@
acpi: xhci: Add support for generic USB role switching device nodes.
URS nodes have a child node that contains the interrupt resource for the
XHCI. Match the URS nodes and add support for obtaining the interrupt
from this child node.
Fix parsing keyboard HID descriptor on ThinkPad T14s Gen6.
Undo a change made 18 years ago when the bluetooth stack was imported. The
commit message didn't describe why the change was made, and it breaks
detection of the keyboard device on this laptop.
OpenBSD's hid parser looks like the original code here.
arm64: Fix Oryon topology.
The Oryon CPUs don't set the MT bit in MPIDR_EL1, leading to a bogus
topology. Work around this for now - long term fix will be to support PPTT.