CVS commit: src/sys

2019-02-15 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Fri Feb 15 08:54:02 UTC 2019

Modified Files:
src/sys/arch/amd64/amd64: genassym.cf vector.S
src/sys/arch/amd64/conf: GENERIC files.amd64
src/sys/arch/i386/conf: GENERIC files.i386
src/sys/arch/i386/i386: genassym.cf vector.S
src/sys/arch/x86/conf: files.x86
src/sys/arch/x86/include: cpu.h intrdefs.h
src/sys/arch/x86/isa: clock.c
src/sys/arch/x86/x86: cpu.c intr.c lapic.c x86_machdep.c
src/sys/dev/ic: rndisreg.h
Added Files:
src/sys/arch/x86/x86: hyperv.c hypervreg.h
src/sys/dev/acpi: vmbus_acpi.c
src/sys/dev/hyperv: files.hyperv hvheartbeat.c hvs.c hvshutdown.c
hvtimesync.c hyperv_common.c hypervreg.h hypervvar.h if_hvn.c
if_hvnreg.h vmbus.c vmbusic.c vmbusicreg.h vmbusicvar.h vmbusvar.h
src/sys/dev/ic: ndisreg.h

Log Message:
Added Microsoft Hyper-V support.  It ported from OpenBSD and FreeBSD.

graphical console is not work on Gen.2 VM yet. To use the serial console,
enter "consdev com,0x3f8,115200" on efiboot.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/arch/amd64/amd64/genassym.cf
cvs rdiff -u -r1.68 -r1.69 src/sys/arch/amd64/amd64/vector.S
cvs rdiff -u -r1.515 -r1.516 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.111 -r1.112 src/sys/arch/amd64/conf/files.amd64
cvs rdiff -u -r1.1200 -r1.1201 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.399 -r1.400 src/sys/arch/i386/conf/files.i386
cvs rdiff -u -r1.110 -r1.111 src/sys/arch/i386/i386/genassym.cf
cvs rdiff -u -r1.82 -r1.83 src/sys/arch/i386/i386/vector.S
cvs rdiff -u -r1.106 -r1.107 src/sys/arch/x86/conf/files.x86
cvs rdiff -u -r1.104 -r1.105 src/sys/arch/x86/include/cpu.h
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/x86/include/intrdefs.h
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/x86/isa/clock.c
cvs rdiff -u -r1.166 -r1.167 src/sys/arch/x86/x86/cpu.c
cvs rdiff -u -r0 -r1.1 src/sys/arch/x86/x86/hyperv.c \
src/sys/arch/x86/x86/hypervreg.h
cvs rdiff -u -r1.143 -r1.144 src/sys/arch/x86/x86/intr.c
cvs rdiff -u -r1.68 -r1.69 src/sys/arch/x86/x86/lapic.c
cvs rdiff -u -r1.123 -r1.124 src/sys/arch/x86/x86/x86_machdep.c
cvs rdiff -u -r0 -r1.1 src/sys/dev/acpi/vmbus_acpi.c
cvs rdiff -u -r0 -r1.1 src/sys/dev/hyperv/files.hyperv \
src/sys/dev/hyperv/hvheartbeat.c src/sys/dev/hyperv/hvs.c \
src/sys/dev/hyperv/hvshutdown.c src/sys/dev/hyperv/hvtimesync.c \
src/sys/dev/hyperv/hyperv_common.c src/sys/dev/hyperv/hypervreg.h \
src/sys/dev/hyperv/hypervvar.h src/sys/dev/hyperv/if_hvn.c \
src/sys/dev/hyperv/if_hvnreg.h src/sys/dev/hyperv/vmbus.c \
src/sys/dev/hyperv/vmbusic.c src/sys/dev/hyperv/vmbusicreg.h \
src/sys/dev/hyperv/vmbusicvar.h src/sys/dev/hyperv/vmbusvar.h
cvs rdiff -u -r0 -r1.1 src/sys/dev/ic/ndisreg.h
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/ic/rndisreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/nvmm/x86

2019-02-15 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri Feb 15 13:17:05 UTC 2019

Modified Files:
src/sys/dev/nvmm/x86: nvmm_x86_svm.c nvmm_x86_vmx.c

Log Message:
Initialize the guest TSC to zero at VCPU creation time, and handle guest
writes to MSR_TSC at run time.

This is imprecise, because the hardware does not provide a way to preserve
the TSC during #VMEXITs, but that's fine enough.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/nvmm/x86/nvmm_x86_svm.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/nvmm/x86/nvmm_x86_vmx.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/netinet

2019-02-15 Thread Robert Swindells
Module Name:src
Committed By:   rjs
Date:   Fri Feb 15 14:13:32 UTC 2019

Modified Files:
src/sys/netinet: sctp_usrreq.c

Log Message:
This really was a missing break.

Spotted by Rin Okuyama.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/netinet/sctp_usrreq.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/sparc64/sparc64

2019-02-15 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri Feb 15 16:36:33 UTC 2019

Modified Files:
src/sys/arch/sparc64/sparc64: trap.c

Log Message:
Add /* FALLTHROUGH */ for DEBUG kernel.


To generate a diff of this commit:
cvs rdiff -u -r1.190 -r1.191 src/sys/arch/sparc64/sparc64/trap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/hyperv

2019-02-15 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri Feb 15 16:37:54 UTC 2019

Modified Files:
src/sys/dev/hyperv: vmbus.c

Log Message:
Add __diagused.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/hyperv/vmbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libnvmm

2019-02-15 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri Feb 15 16:42:27 UTC 2019

Modified Files:
src/lib/libnvmm: libnvmm_x86.c

Log Message:
Remove the PSE check in the 32bit-PAE MMU. Setting CR4.PAE automatically
enables PSE regardless of whether CR4.PSE is set or not, so we should just
ignore it.

With this in place I can boot Windows 8.1 on NVMM.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/lib/libnvmm/libnvmm_x86.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2019-02-15 Thread Michał Górny
Module Name:src
Committed By:   mgorny
Date:   Fri Feb 15 18:57:15 UTC 2019

Modified Files:
src/sys/kern: tty_pty.c
src/tests/kernel/kqueue/read: t_ttypty.c

Log Message:
Fix reporting EOF via kevent and add a test case

Fix the kernel pty driver to report closed slave via master's kevent
EVFILT_READ.  This behavior matches the behavior for pipes, is
consistent with how FreeBSD implements it and is relied upon by LLDB's
main loop implementation.

Includes feedback by kre and kamil (from tech-kern), commit approved
by kamil.


To generate a diff of this commit:
cvs rdiff -u -r1.144 -r1.145 src/sys/kern/tty_pty.c
cvs rdiff -u -r1.2 -r1.3 src/tests/kernel/kqueue/read/t_ttypty.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/acpi/acpica

2019-02-15 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Fri Feb 15 20:48:57 UTC 2019

Modified Files:
src/sys/dev/acpi/acpica: OsdHardware.c

Log Message:
Avoid UB in OsdHardware.c

UBSan: Undefined Behavior in src/sys/dev/acpi/acpica/OsdHardware.c:265:17,
left shift of 255 by 24 places cannot be represented in type 'int'

This file isn't part of upstream acpica so just fix it locally.

Reported and initial patch by 


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/acpi/acpica/OsdHardware.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/external/bsd/libnv/dist

2019-02-15 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Fri Feb 15 22:49:24 UTC 2019

Modified Files:
src/sys/external/bsd/libnv/dist: nvpair.c

Log Message:
nvpair_remove_nvlist_array: revert part of the rev 1.4 change (it was applied
by mistake because the libnv upsteam code on Github has deviated from FreeBSD,
i.e. it has a different nvlist_set_array_next() logic).


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/external/bsd/libnv/dist/nvpair.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libedit

2019-02-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb 15 23:20:35 UTC 2019

Modified Files:
src/lib/libedit: readline.c terminal.c
src/lib/libedit/readline: readline.h

Log Message:
PR/53983: Jonathan Perkins: Fix types for readline compatibility


To generate a diff of this commit:
cvs rdiff -u -r1.150 -r1.151 src/lib/libedit/readline.c
cvs rdiff -u -r1.34 -r1.35 src/lib/libedit/terminal.c
cvs rdiff -u -r1.44 -r1.45 src/lib/libedit/readline/readline.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man4

2019-02-15 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Feb 16 06:50:14 UTC 2019

Modified Files:
src/share/man/man4: audio.4

Log Message:
Two minor fixes.
- Add missing AUDIO_PERROR (since 1996!)
- Sort AUDIO_GETFD.


To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/share/man/man4/audio.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man9

2019-02-15 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Feb 16 06:51:05 UTC 2019

Modified Files:
src/share/man/man9: audio.9

Log Message:
Two minor fixes.
- 0 -> NULL.
- avoid K&R and sync with reality.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/share/man/man9/audio.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man9

2019-02-15 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sat Feb 16 07:00:56 UTC 2019

Modified Files:
src/share/man/man9: audio.9

Log Message:
Mark up NULL with Dv.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/share/man/man9/audio.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/make

2019-02-15 Thread David H. Gutteridge
Module Name:src
Committed By:   gutteridge
Date:   Sat Feb 16 07:41:13 UTC 2019

Modified Files:
src/usr.bin/make: make.1

Log Message:
make(1): minor grammar fixes in BUGS section


To generate a diff of this commit:
cvs rdiff -u -r1.273 -r1.274 src/usr.bin/make/make.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.