CVS commit: src/sys/dev/pci

2017-05-23 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Tue May 23 07:12:57 UTC 2017

Modified Files:
src/sys/dev/pci: pcidevs

Log Message:
Add some AMD entries.


To generate a diff of this commit:
cvs rdiff -u -r1.1288 -r1.1289 src/sys/dev/pci/pcidevs

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



CVS commit: src/sys/dev/pci

2017-05-23 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Tue May 23 07:13:11 UTC 2017

Modified Files:
src/sys/dev/pci: pcidevs.h pcidevs_data.h

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.1280 -r1.1281 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1279 -r1.1280 src/sys/dev/pci/pcidevs_data.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

2017-05-23 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Tue May 23 07:57:26 UTC 2017

Modified Files:
src/sys/dev: audio.c

Log Message:
Fix broken logic with regard to the use of uvm_unmap.  Call uvm_unmap with
the correct arguments.

Ok chs@.


To generate a diff of this commit:
cvs rdiff -u -r1.351 -r1.352 src/sys/dev/audio.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

2017-05-23 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Tue May 23 08:48:35 UTC 2017

Modified Files:
src/sys/arch/amd64/amd64: autoconf.c
src/sys/arch/i386/i386: autoconf.c
src/sys/arch/x86/include: cpu.h
src/sys/arch/x86/x86: identcpu.c vmt.c
src/sys/arch/xen/conf: files.xen
src/sys/arch/xen/x86: autoconf.c
Added Files:
src/sys/arch/x86/x86: vmtreg.h vmtvar.h

Log Message:
x86: hypervisor detection from FreeBSD for x2APIC support.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/amd64/amd64/autoconf.c
cvs rdiff -u -r1.102 -r1.103 src/sys/arch/i386/i386/autoconf.c
cvs rdiff -u -r1.70 -r1.71 src/sys/arch/x86/include/cpu.h
cvs rdiff -u -r1.54 -r1.55 src/sys/arch/x86/x86/identcpu.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/x86/x86/vmt.c
cvs rdiff -u -r0 -r1.1 src/sys/arch/x86/x86/vmtreg.h \
src/sys/arch/x86/x86/vmtvar.h
cvs rdiff -u -r1.146 -r1.147 src/sys/arch/xen/conf/files.xen
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/xen/x86/autoconf.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

2017-05-23 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Tue May 23 08:54:39 UTC 2017

Modified Files:
src/sys/arch/amd64/amd64: db_interface.c mainbus.c vector.S
src/sys/arch/amd64/include: i82093reg.h
src/sys/arch/i386/i386: db_interface.c mainbus.c vector.S
src/sys/arch/i386/include: i82093reg.h
src/sys/arch/x86/include: cpuvar.h i82489var.h intr.h mpacpi.h
src/sys/arch/x86/pci: msipic.c
src/sys/arch/x86/x86: cpu.c lapic.c pmc.c tprof_amdpmi.c tprof_pmi.c
src/sys/arch/xen/include: intr.h mpacpi.h
src/sys/arch/xen/x86: intr.c mainbus.c

Log Message:
x86: Add preliminary x2APIC support.

x2APIC is used only when x2APIC is enabled in BIOS/UEFI.
LAPIC ID is not supported above 256.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/amd64/amd64/db_interface.c
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/amd64/amd64/mainbus.c
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/amd64/amd64/vector.S
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/amd64/include/i82093reg.h
cvs rdiff -u -r1.71 -r1.72 src/sys/arch/i386/i386/db_interface.c
cvs rdiff -u -r1.102 -r1.103 src/sys/arch/i386/i386/mainbus.c
cvs rdiff -u -r1.68 -r1.69 src/sys/arch/i386/i386/vector.S
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/i386/include/i82093reg.h
cvs rdiff -u -r1.49 -r1.50 src/sys/arch/x86/include/cpuvar.h \
src/sys/arch/x86/include/intr.h
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/x86/include/i82489var.h
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/x86/include/mpacpi.h
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/x86/pci/msipic.c
cvs rdiff -u -r1.124 -r1.125 src/sys/arch/x86/x86/cpu.c
cvs rdiff -u -r1.57 -r1.58 src/sys/arch/x86/x86/lapic.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/x86/x86/pmc.c \
src/sys/arch/x86/x86/tprof_amdpmi.c
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/x86/x86/tprof_pmi.c
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/xen/include/intr.h
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/xen/include/mpacpi.h
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/xen/x86/intr.c
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/xen/x86/mainbus.c

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



CVS commit: src/sys/netipsec

2017-05-23 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Tue May 23 09:08:45 UTC 2017

Modified Files:
src/sys/netipsec: ipsec.c key.c

Log Message:
Use __arraycount (NFC)


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/sys/netipsec/ipsec.c
cvs rdiff -u -r1.139 -r1.140 src/sys/netipsec/key.c

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



CVS commit: src/tests/lib/libc/sys

2017-05-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue May 23 13:04:29 UTC 2017

Modified Files:
src/tests/lib/libc/sys: t_mmap.c

Log Message:
Handle dk disks and print errors.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/tests/lib/libc/sys/t_mmap.c

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

2017-05-23 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue May 23 13:55:32 UTC 2017

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

Log Message:
New sentence, new line. Bump date for previous.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/share/man/man4/rum.4

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



CVS commit: src/external/historical/nawk/bin

2017-05-23 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Tue May 23 14:11:08 UTC 2017

Modified Files:
src/external/historical/nawk/bin: awk.1

Log Message:
Use literal for formatting the examples
Based on OpenBSD awk(1) man page.

Ok wiz@


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/historical/nawk/bin/awk.1

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



CVS commit: src/usr.sbin/makemandb

2017-05-23 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Tue May 23 15:27:54 UTC 2017

Modified Files:
src/usr.sbin/makemandb: whatis.c

Log Message:
Make the name comparison case insensitive.

(The old whatis(1) also used to do case insensitive string comparisons).


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/makemandb/whatis.c

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



CVS commit: src/tests/lib/libc/sys

2017-05-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue May 23 15:56:55 UTC 2017

Modified Files:
src/tests/lib/libc/sys: t_clone.c

Log Message:
not allowed to map RWX anymore.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/sys/t_clone.c

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



CVS commit: src/tests/lib/libc/sys

2017-05-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue May 23 16:01:46 UTC 2017

Modified Files:
src/tests/lib/libc/sys: t_mincore.c

Log Message:
Add the error in syscall failure.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/tests/lib/libc/sys/t_mincore.c

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



CVS commit: src/sys/uvm

2017-05-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue May 23 22:18:17 UTC 2017

Modified Files:
src/sys/uvm: uvm_map.c

Log Message:
sprinkle __diagused to fix the powerpc build, which is not DIAGNOSTIC.


To generate a diff of this commit:
cvs rdiff -u -r1.349 -r1.350 src/sys/uvm/uvm_map.c

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



CVS commit: src/sys/opencrypto

2017-05-23 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Wed May 24 05:11:29 UTC 2017

Modified Files:
src/sys/opencrypto: crypto.c

Log Message:
initialize sysctl in the same way regardless of module or not.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sys/opencrypto/crypto.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/arm/arm32

2017-05-23 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed May 24 06:27:33 UTC 2017

Modified Files:
src/sys/arch/arm/arm32: pmap.c

Log Message:
Move closer to the common pmap by using the same pmap_remove_all
optimisation where TLB flushes are avoided by clever ASID assignment.

pmap_remove_all_complete can now be removed.


To generate a diff of this commit:
cvs rdiff -u -r1.347 -r1.348 src/sys/arch/arm/arm32/pmap.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/arm/arm32

2017-05-23 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed May 24 06:31:07 UTC 2017

Modified Files:
src/sys/arch/arm/arm32: pmap.c

Log Message:
Check the "Havard TLB" maintenance operations if the "Unified TLB"
maintenance opeations don't include invalidate by ASID.  Some CPUs, e.g.
Cortex-A8, have Havard TLBs and report ASID operations this way.


To generate a diff of this commit:
cvs rdiff -u -r1.348 -r1.349 src/sys/arch/arm/arm32/pmap.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/pci

2017-05-23 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed May 24 06:51:27 UTC 2017

Modified Files:
src/sys/dev/pci: pci_subr.c pcireg.h

Log Message:
 Decode TPH Requester Control register.


To generate a diff of this commit:
cvs rdiff -u -r1.181 -r1.182 src/sys/dev/pci/pci_subr.c
cvs rdiff -u -r1.128 -r1.129 src/sys/dev/pci/pcireg.h

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



CVS commit: src/sys/net

2017-05-23 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed May 24 06:52:14 UTC 2017

Modified Files:
src/sys/net: if_tun.c

Log Message:
Call cv_destroy() to deactivate the tun_cv before calling kmem_intr_free()
to deallocate the containing memory chunk (the tunnel's softc).  Otherwise
a LOCKDEBUG kernel will panic in tun_clone_destroy().

Fixes PR kern/52255


To generate a diff of this commit:
cvs rdiff -u -r1.138 -r1.139 src/sys/net/if_tun.c

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