OpenBSD cvs log

created 2019-03-30T17:03:35Z
begin 2019-03-24T00:00:00Z
end 2019-03-25T00:00:00Z
path src/sys
commits 13

date 2019-03-24T06:09:09Z
author visa
files src/sys/arch/sh/include/cpu.h log diff annotate
message Add intr_{disable,restore}() for sh.

Reminded by deraadt@

date 2019-03-24T06:19:26Z
author visa
files src/sys/arch/alpha/include/cpu.h log diff annotate
src/sys/arch/alpha/include/intr.h log diff annotate
src/sys/arch/alpha/include/param.h log diff annotate
message Add intr_{disable,restore}() for alpha.

Reminded by deraadt@

date 2019-03-24T14:15:00Z
author fcambus
files src/sys/dev/rasops/rasops32.c log diff annotate
message Revert rasops32_putchar() changes introduced in revision 1.8.

This significantly speeds up character plotting on inteldrm and
radeondrm, and also on efifb(4) since the driver now remaps the
framebuffer in write combining mode.

OK kettenis@, jcs@

date 2019-03-24T14:37:43Z
author jcs
files src/sys/dev/pci/azalia.c log diff annotate
message Add a quirk for the Huawei Matebook X to activate the right-side
speaker on its Dolby Atmos system.

Through some extensive tracing of the Realtek Windows driver, I
found the many hundreds of CORB commands that the Windows driver
sends to initialize Dolby Atmos and activate both speakers.

The list of CORB commands was optimized by Tomas Espeleta to reduce
file size and then implemented in azalia by Stefan Sperling.

ok stsp, deraadt

date 2019-03-24T14:37:44Z
author jcs
files src/sys/dev/pci/azalia.h log diff annotate
src/sys/dev/pci/azalia_codec.c log diff annotate
message Add a quirk for the Huawei Matebook X to activate the right-side
speaker on its Dolby Atmos system.

Through some extensive tracing of the Realtek Windows driver, I
found the many hundreds of CORB commands that the Windows driver
sends to initialize Dolby Atmos and activate both speakers.

The list of CORB commands was optimized by Tomas Espeleta to reduce
file size and then implemented in azalia by Stefan Sperling.

ok stsp, deraadt

date 2019-03-24T16:48:37Z
author visa
files src/sys/arch/sparc64/conf/files.sparc64 log diff annotate
message Remove a stale kgdb dependency.

OK deraadt@

date 2019-03-24T17:55:39Z
author bru
files src/sys/dev/wscons/wsconsio.h log diff annotate
message Add new event types for precision scrolling.

date 2019-03-24T18:04:02Z
author bru
files src/sys/dev/wscons/wsmouse.c log diff annotate
src/sys/dev/wscons/wsmouseinput.h log diff annotate
src/sys/dev/wscons/wstpad.c log diff annotate
message Switch to precision scrolling in wstpad.

date 2019-03-24T18:14:20Z
author beck
files src/sys/kern/kern_unveil.c log diff annotate
src/sys/kern/vfs_syscalls.c log diff annotate
message Make stat(2) and access(2) need UNVEIL_READ instead of UNVEIL_INSPECT

UNVEIL_INSPECT is a hack we added to get chrome/glib working. It silently
adds permission for stat(2), access(2), and readlink(2) to be used on
all path components of any unveil'ed path. robert@ has sucessfully now
fixed chrome/glib to not require exessive TOC vs TOU stat(2) and access(2)
calls on the paths it uses, so that this no longer needed there.

readlink(2) is the sole call that is now permitted by UNVEIL_INSPECT,
and this is only needed so that realpath(3) can work. Going forward we will
likely make a realpath(2), after which we can completely deprecate
UNVEIL_INSPECT.

ok deraadt@

date 2019-03-24T18:17:24Z
author sf
files src/sys/dev/fdt/virtio_mmio.c log diff annotate
src/sys/dev/pci/virtio_pci.c log diff annotate
src/sys/dev/pv/virtio.c log diff annotate
src/sys/dev/pv/virtiovar.h log diff annotate
message virtio: adjust virtio_setup_queue prototype for 1.0

Make it take an address instead of a PFN.
Pass the virtqueue pointer. In virtio 1.0, more information has to be
configured in the device. Also call virtio_setup_queue() after the
information has been filled in.

ok mlarkin@

date 2019-03-24T18:21:12Z
author sf
files src/sys/dev/fdt/virtio_mmio.c log diff annotate
src/sys/dev/pci/virtio_pci.c log diff annotate
src/sys/dev/pv/if_vio.c log diff annotate
src/sys/dev/pv/vioblk.c log diff annotate
src/sys/dev/pv/vioblkreg.h log diff annotate
src/sys/dev/pv/viocon.c log diff annotate
src/sys/dev/pv/viomb.c log diff annotate
src/sys/dev/pv/vioscsireg.h log diff annotate
src/sys/dev/pv/virtio.c log diff annotate
src/sys/dev/pv/virtioreg.h log diff annotate
src/sys/dev/pv/virtiovar.h log diff annotate
src/sys/dev/pv/vmmci.c log diff annotate
message virtio: Prepare for 64 feature bits

virtio 1.0 supports an arbitrary number of feature bits. However, so far
no more than 64 are used (compared to 32 in virtio 0.9). Adjust data
types to support 64 feature bits.

Later, we may want to use bitmaps and setbit(), ... to support even more
feature bits.

ok mlarkin@

date 2019-03-24T18:22:36Z
author sf
files src/sys/dev/pv/if_vio.c log diff annotate
src/sys/dev/pv/vioblk.c log diff annotate
src/sys/dev/pv/vioblkreg.h log diff annotate
src/sys/dev/pv/virtio.c log diff annotate
message virtio: Add a few feature bit defines and names

ok mlarkin@

date 2019-03-24T20:45:34Z
author bru
files src/sys/dev/wscons/wstpad.c log diff annotate
message Fix a precedence problem.