OpenBSD cvs log

created 2021-09-05T04:57:53Z
begin 2021-09-01T00:00:00Z
end 2021-09-02T00:00:00Z
path src/sys
commits 6

date 2021-09-01T09:29:31Z
author jan
files src/sys/dev/fdt/exuart.c log diff annotate
src/sys/dev/fdt/imxuart.c log diff annotate
src/sys/dev/ic/pluart.c log diff annotate
message Remove dead poweroff functions, as they not appear in other
serial drivers.

ok patrick@

date 2021-09-01T09:50:21Z
author bluhm
files src/sys/arch/amd64/include/asm.h log diff annotate
message Older AMD CPUs that do not support IBRS need an lfence after ret
to stop speculation. This seems to be necessary when the branch
predictor hits the ret for the first time. In their white paper
to mitigate speculation attacks, AMD's retpoline example has an
explicit lfence. Adjust our retpoline assembly macro in the kernel.
OK guenther@ mortimer@ deraadt@

date 2021-09-01T10:40:19Z
author anton
files src/sys/dev/usb/ucc.c log diff annotate
message Rename ucc_bits_to_usage() to ucc_bits_to_int() as it's about to be used
in more than one context.

date 2021-09-01T10:41:39Z
author anton
files src/sys/dev/hid/hid.h log diff annotate
src/sys/dev/usb/ucc.c log diff annotate
message Add support for the more rare volume usage which differs compared to the
more common volume increment/decrement usages in which each volume
change direction is represented using a distinct usage. The volume usage
instead uses bits of the interrupt buffer to represent the wanted
volume. The same bits should be within the bounds given by the logical
min/max associated with the HID item. However, the volume is not
interpreted as an absolute value but rather just looking at the sign bit
in order to determine the volume change direction.

I couldn't find any documentation of this usage and the implementation is
therefore solely based on analysing actual data from Richard Toohey's
<richardjtoohey at gmail dot com> Dell keyboard.

date 2021-09-01T14:03:24Z
author mpi
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
message Prevent lock ordering issue by raising ipl level of vcpu_pool to IPL_MPFLOOR.

Reported-by: [email protected]

ok mlarkin@

date 2021-09-01T16:10:39Z
author jan
files src/sys/arch/sparc64/dev/sab.c log diff annotate
src/sys/dev/ic/cy.c log diff annotate
src/sys/dev/sbus/magma.c log diff annotate
src/sys/dev/sbus/spif.c log diff annotate
message Use ttopen in tty drivers open functions as ttysleep string, as the others do.

ok patrick@