OpenBSD cvs log

created 2019-01-30T13:32:29Z
begin 2019-01-19T00:00:00Z
end 2019-01-20T00:00:00Z
path src/sys
commits 10

date 2019-01-19T00:08:10Z
author jmatthew
files src/sys/dev/pci/if_ixl.c log diff annotate
message actually set CAUSE_ENA on the rx and tx queues, and re-enable interrupts
at the start of the interrupt handler. now it works well enough to commit

ok dlg@

date 2019-01-19T01:53:44Z
author cheloha
files src/sys/kern/init_main.c log diff annotate
src/sys/kern/kern_sysctl.c log diff annotate
src/sys/kern/kern_tc.c log diff annotate
src/sys/nfs/nfs_serv.c log diff annotate
src/sys/sys/kernel.h log diff annotate
src/sys/sys/time.h log diff annotate
message Move boottime into the timehands.

To protect the timehands we first need to protect the basis for all UTC
time in the kernel: the boottime.

Because the boottime can be changed at any time it needs to be versioned
along with the other members of the timehands to enable safe lockless reads
when using it for anything. So the global boottime timespec goes away and
the static boottimebin becomes a member of the timehands. Instead of reading
the global boottime you use one of two interfaces: binboottime(9) or
microboottime(9). nanoboottime(9) can trivially be added later, though there
are no consumers for it at the moment.

This introduces one small change in behavior. We used to advance the
reported boottime just before launching kernel threads from main().
This makes it look to userland like we "booted" moments before those
threads were launched. Because there is no longer a boottime global we
can no longer trivially do this from main(), so the boottime we report
to userspace via e.g. kern.boottime will now reflect whatever the time
was when we bootstrapped the timehands via inittodr(9). This is usually
no more than a minute before the kernel threads are launched from main().
The prior behavior can be restored by adding a new interface to the
timecounter layer in a future commit.

Based on FreeBSD r303387.

Discussed with mpi@ and visa@.

ok visa@

date 2019-01-19T03:24:18Z
author jmatthew
files src/sys/arch/amd64/conf/GENERIC log diff annotate
src/sys/arch/amd64/conf/RAMDISK_CD log diff annotate
message now that it works, enable ixl(4) on amd64

date 2019-01-19T04:07:12Z
author mlarkin
files src/sys/arch/amd64/amd64/pmap.c log diff annotate
src/sys/arch/amd64/include/pmap.h log diff annotate
message Finish randominzing remaining layers of pmap_kernel

An earlier diff moved the top level page, this diff finishes the lower
layers. New pages are allocated for the existing hiererchy (which thus
benefit from random placement from pmemrange/etc). Existing managed
pages are returned to uvm (a small number of bootstrap pages are not
returned as they are allocated in locore0 and thus aren't managed).

ok deraadt

date 2019-01-19T04:10:30Z
author phessler
files src/sys/arch/amd64/conf/RAMDISK_CD log diff annotate
message enable myx(4) on the large ramdisk. has been enabled in GENERIC for a while.

date 2019-01-19T16:21:00Z
author sf
files src/sys/dev/pv/viomb.c log diff annotate
message viomb: tweak feature negotiation

VIRTIO_F_RING_INDIRECT_DESC is always negotiated by the transport
driver, no need to specify it explicitly.

VIRTIO_BALLOON_F_MUST_TELL_HOST is not offered but is handled in the
code. Offer it during negotiation, too.

date 2019-01-19T16:23:46Z
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/virtiovar.h log diff annotate
message virtio: Introduce defines for config(8) flags

date 2019-01-19T17:23:32Z
author anton
files src/sys/dev/kcov.c log diff annotate
message backout previous; syzkaller did not cope well with this change

date 2019-01-19T18:50:24Z
author uaa
files src/sys/dev/usb/ehci.c log diff annotate
message Change transfer schedule of split interrupt transfer,
to avoid confilicting with split isochronous transfer which use same TT.

ok mpi@

date 2019-01-19T20:45:06Z
author tedu
files src/sys/arch/amd64/amd64/machdep.c log diff annotate
src/sys/arch/amd64/include/cpu.h log diff annotate
src/sys/arch/arm64/arm64/acpi_machdep.c log diff annotate
src/sys/arch/i386/i386/machdep.c log diff annotate
src/sys/arch/loongson/loongson/machdep.c log diff annotate
src/sys/dev/acpi/acpi.c log diff annotate
src/sys/dev/acpi/acpibtn.c log diff annotate
message Add a pwraction sysctl that controls what the power button does on acpi.
By default, nothing changes -- shutdown is initiated. But allows turning
power button into a sleep button if desired.
(grudging) ok from a few parties