OpenBSD cvs log

created 2019-07-27T12:27:03Z
begin 2019-07-22T00:00:00Z
end 2019-07-23T00:00:00Z
path src/sys
commits 5

date 2019-07-22T11:51:30Z
author kettenis
files src/sys/arch/armv7/stand/efiboot/conf.c log diff annotate
src/sys/arch/armv7/stand/efiboot/exec.c log diff annotate
message Disable caches and MMU before jumping to the kernel entry point. Needed
because UEFI on 32-bit ARM is supposed to leave them enabled and U-boot
was changed (starting with release 2019.04) to follow the spec here. However
the OpenBSD/armv7 kernel expects to be booted with caches and MMU turned off.

Note that there are still issues on boards that enable the non-architected
L2 cache. UEFI demands that such caches are not turned on, but U-Boot
does turn them on and this makes our kernel fail to boot.

With help from jsg@

ok jsg@

date 2019-07-22T14:37:06Z
author jcs
files src/sys/dev/acpi/dwiic_acpi.c log diff annotate
src/sys/dev/i2c/i2cvar.h log diff annotate
src/sys/dev/i2c/ihidev.c log diff annotate
src/sys/dev/i2c/ihidev.h log diff annotate
message Even when polling is requested, install ihidev's interrupt handler

If an interrupt is received, turn off polling and rely on
interrupts. This may happen after S3 resume.

Also properly shut down polling during suspend and start it up again
on resume only after dwiic is back in action.

date 2019-07-22T15:34:07Z
author robert
files src/sys/kern/uipc_socket.c log diff annotate
src/sys/sys/socket.h log diff annotate
message implement SO_DOMAIN and SO_PROTOCOL so that the domain and the protocol
can also be retrieved with getsockopt(3)
it looks like these will also be in the next issue of posix:

ok claudio@, sthen@

date 2019-07-22T16:39:29Z
author anton
files src/sys/kern/vfs_syscalls.c log diff annotate
message Grab the vnode lock earlier in sys_getdents() since it could end up
sleeping, allowing the file offset to change. This is part of the
ongoing effort to protect the file offset using the vnode lock.

ok mpi@ visa@

date 2019-07-22T16:43:10Z
author anton
files src/sys/kern/vfs_syscalls.c log diff annotate
message Correct minor style nit in sys_getdents() for consistency, missing parens around
return expression.