OpenBSD cvs log

created 2021-01-02T18:44:46Z
begin 2020-11-17T00:00:00Z
end 2020-11-18T00:00:00Z
path src/sys
commits 13

date 2020-11-17T03:23:10Z
author gnezdo
files src/sys/miscfs/fuse/fuse_vfsops.c log diff annotate
message Convert fusefs_sysctl to sysctl_bounded_args

OK millert@

date 2020-11-17T03:23:54Z
author gnezdo
files src/sys/kern/sysv_sem.c log diff annotate
message Convert sysctl_sysvsem to sysctl_bounded_args

Used sysctl_int_bounded in many places to shrink code.
Extracted a new function to make the case tidy.
Removed some superflous fluff.

OK millert@

date 2020-11-17T04:21:20Z
author jsg
files src/sys/dev/pci/drm/i915/display/intel_vga.c log diff annotate
message adjust for reversed outb arguments linux uses

date 2020-11-17T07:39:28Z
author jsg
files src/sys/dev/pci/drm/include/linux/jiffies.h log diff annotate
message fix time_after32() macro

date 2020-11-17T10:01:41Z
author jsg
files src/sys/dev/pci/drm/drm_vblank.c log diff annotate
src/sys/dev/pci/drm/include/linux/timer.h log diff annotate
message remove setup_timer() interface linux removed in 2017

date 2020-11-17T11:20:59Z
author jsg
files src/sys/dev/pci/drm/include/linux/gfp.h log diff annotate
src/sys/dev/pci/drm/include/linux/pm_qos.h log diff annotate
src/sys/dev/pci/drm/include/linux/timer.h log diff annotate
src/sys/dev/pci/drm/include/linux/uaccess.h log diff annotate
message remove unused definitions which no longer exist in linux

date 2020-11-17T12:39:56Z
author mglocker
files src/sys/dev/usb/uvideo.c log diff annotate
message Zap parameter names in function prototypes.

date 2020-11-17T14:30:13Z
author patrick
files src/sys/conf/files log diff annotate
src/sys/dev/fdt/files.fdt log diff annotate
src/sys/dev/fdt/Attic/imxiic.c log diff annotate
src/sys/dev/fdt/imxiic_fdt.c log diff annotate
src/sys/dev/fdt/Attic/imxiicvar.h log diff annotate
src/sys/dev/ic/imxiic.c log diff annotate
src/sys/dev/ic/imxiicvar.h log diff annotate
message Split imxiic(4) into the FDT-attachment code and the i.MX I2C code
in preparation for upcoming ACPI-attachment.

ok kettenis@

date 2020-11-17T14:31:59Z
author patrick
files src/sys/dev/acpi/files.acpi log diff annotate
src/sys/dev/acpi/imxiic_acpi.c log diff annotate
message Add ACPI support to imxiic(4).

ok kettenis@

date 2020-11-17T14:32:34Z
author patrick
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
message Enable imxiic(4) at ACPI.

date 2020-11-17T14:45:42Z
author claudio
files src/sys/kern/uipc_socket.c log diff annotate
message Fix handling of MSG_PEEK in soreceive() for the case where an empty
mbuf is encountered in a seqpacket socket.

This diff uses the fact that setting orig_resid to 0 results in soreceive()
to return instead of looping back with the intent to sleep for more data.
orig_resid is now always set to 0 in the control message case (instead of
only if controlp is defined). This is the same behaviour as for the PR_NAME
case. Additionally orig_resid is set to 0 in the data reader when MSG_PEEK
is used.

Tested in snaps for a while and by anton@

Reported-by: [email protected]

date 2020-11-17T16:33:44Z
author visa
files src/sys/arch/loongson/loongson/machdep.c log diff annotate
message Ensure proper alignment of memory map entries, needed with clang.
gcc has generated unaligned loads with the original code.

date 2020-11-17T16:38:10Z
author visa
files src/sys/arch/loongson/loongson/machdep.c log diff annotate
message Avoid accidental truncation of large memory segments.