OpenBSD cvs log

created 2018-11-29T13:36:57Z
begin 2018-04-11T00:00:00Z
end 2018-04-12T00:00:00Z
path src/sys
commits 8

date 2018-04-11T04:15:26Z
author bket
files src/sys/dev/usb/usbdevs log diff annotate
message Add ids for Huawei k3772.

OK jca@, sthen@, deraadt@

date 2018-04-11T04:18:18Z
author bket
files src/sys/dev/usb/usbdevs.h log diff annotate
src/sys/dev/usb/usbdevs_data.h log diff annotate
message sync

date 2018-04-11T04:23:10Z
author bket
files src/sys/dev/usb/umsm.c log diff annotate
message Add support for Huawei k3772.

OK jca@, sthen@, deraadt@

date 2018-04-11T04:37:19Z
author ratchov
files src/sys/dev/pci/eso.c log diff annotate
message Fix confusion between NMIDI > 0 and NMPU > 0. From jsg@.

date 2018-04-11T04:48:31Z
author ratchov
files src/sys/dev/audio.c log diff annotate
src/sys/dev/ic/ac97.c log diff annotate
src/sys/dev/ic/ac97.h log diff annotate
src/sys/dev/pci/azalia.c log diff annotate
src/sys/dev/pci/cmpci.c log diff annotate
src/sys/dev/pci/eap.c log diff annotate
src/sys/dev/pci/esa.c log diff annotate
src/sys/dev/pci/maestro.c log diff annotate
src/sys/dev/pci/neo.c log diff annotate
message Add mixer save/restore capability to the audio(4) driver and
use it during suspend/resume. Remove driver-specific mixer
save/restore bits that don't need to be duplicated in every
low-lever driver.

ok mpi

date 2018-04-11T08:02:18Z
author patrick
files src/sys/dev/ic/rtl81x9reg.h log diff annotate
src/sys/dev/pci/if_re_pci.c log diff annotate
message Some (probably newer) re(4) cards don't have the 32-bit memory BAR that
we try to map first. Instead there's a 64-bit memory BAR in the follow-
ing BAR. Since on the MACCHIATObin we currently do not support the IO
space, we have to use the 64-bit memory BAR. Thus, try to map the 64-
bit BAR before falling back to the 32-bit BAR and the IO bar.

ok deraadt@ kettenis@

date 2018-04-11T15:44:08Z
author bluhm
files src/sys/arch/i386/conf/ld.script log diff annotate
src/sys/arch/i386/i386/apicvec.s log diff annotate
src/sys/arch/i386/i386/bios.c log diff annotate
src/sys/arch/i386/i386/cpu.c log diff annotate
src/sys/arch/i386/i386/gdt.c log diff annotate
src/sys/arch/i386/i386/genassym.cf log diff annotate
src/sys/arch/i386/i386/kvm86.c log diff annotate
src/sys/arch/i386/i386/kvm86call.S log diff annotate
src/sys/arch/i386/i386/lapic.c log diff annotate
src/sys/arch/i386/i386/locore.s log diff annotate
src/sys/arch/i386/i386/machdep.c log diff annotate
src/sys/arch/i386/i386/pmap.c log diff annotate
src/sys/arch/i386/i386/pmapae.c log diff annotate
src/sys/arch/i386/i386/vector.s log diff annotate
src/sys/arch/i386/include/asm.h log diff annotate
src/sys/arch/i386/include/cpu.h log diff annotate
src/sys/arch/i386/include/cpu_full.h log diff annotate
src/sys/arch/i386/include/cpufunc.h log diff annotate
src/sys/arch/i386/include/frame.h log diff annotate
src/sys/arch/i386/include/gdt.h log diff annotate
src/sys/arch/i386/include/pcb.h log diff annotate
src/sys/arch/i386/include/pmap.h log diff annotate
src/sys/arch/i386/isa/icu.s log diff annotate
src/sys/arch/i386/isa/npx.c log diff annotate
message More steps for i386 Meltdown fix:

- provide struct cpu_info_full
- prepare K-U sections
- reorganize interrupt, trap, syscall entry to use K-U trampoline
- prepare pmap for entering special mappings, the mappings are not
setup yet

This code will already trigger performance issues. We do more tlb
flushes, but we do not unmap the kernel yet. The latter
will be needed to prevent Meltdown.

from hshoexer@; input guenther@; OK mlarkin@ deraadt@

date 2018-04-11T16:47:17Z
author bluhm
files src/sys/kern/kern_descrip.c log diff annotate
message The pledge flag for file descriptors opened from /dev/fd was always
set for pledged processes. dup(2) uses the flag from the old file
descriptor. Make open /dev/fd consistent to duplicate and inherit
the flag.
OK deraadt@