CVS commit: src/usr.sbin/rtsold

2020-04-16 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Apr 16 07:23:59 UTC 2020

Modified Files:
src/usr.sbin/rtsold: rtsold.8

Log Message:
Sort SEE ALSO.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/usr.sbin/rtsold/rtsold.8

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



CVS commit: src/sys/arch/aarch64/aarch64

2020-04-16 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Thu Apr 16 08:03:30 UTC 2020

Modified Files:
src/sys/arch/aarch64/aarch64: db_machdep.c

Log Message:
add the case of kdb_trap(-1) called from pic_ipi_ddb().
it depended on the update timing of 'db_recover'.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/aarch64/aarch64/db_machdep.c

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



CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-16 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Thu Apr 16 08:46:36 UTC 2020

Modified Files:
src/sys/arch/amd64/amd64 [bouyer-xenpvh]: vector.S
src/sys/arch/amd64/conf [bouyer-xenpvh]: Makefile.amd64 XEN3_DOM0
files.amd64 std.amd64 std.xen
src/sys/arch/i386/conf [bouyer-xenpvh]: Makefile.i386 XEN3PAE_DOM0
files.i386 std.i386
src/sys/arch/i386/i386 [bouyer-xenpvh]: machdep.c vector.S
src/sys/arch/x86/conf [bouyer-xenpvh]: files.x86
src/sys/arch/x86/include [bouyer-xenpvh]: intr.h
src/sys/arch/x86/x86 [bouyer-xenpvh]: cpu_ucode.c cpu_ucode_amd.c
cpu_ucode_intel.c lapic.c mainbus.c
src/sys/arch/xen/conf [bouyer-xenpvh]: Makefile.xen files.xen std.xen
src/sys/arch/xen/include [bouyer-xenpvh]: hypervisor.h intr.h xenpmap.h
src/sys/arch/xen/x86 [bouyer-xenpvh]: hypervisor_machdep.c xen_intr.c
xen_ipi.c xen_mainbus.c
src/sys/arch/xen/xen [bouyer-xenpvh]: evtchn.c if_xennet_xenbus.c
xbd_xenbus.c xen_machdep.c xencons.c
src/sys/arch/xen/xenbus [bouyer-xenpvh]: xenbus_comms.c xenbus_dev.c
Added Files:
src/sys/arch/amd64/conf [bouyer-xenpvh]: GENERIC_XENHVM
src/sys/arch/amd64/include/xen [bouyer-xenpvh]: hypercalls.h
src/sys/arch/i386/conf [bouyer-xenpvh]: GENERIC_XENHVM
src/sys/arch/i386/include/xen [bouyer-xenpvh]: hypercalls.h
src/sys/arch/xen/conf [bouyer-xenpvh]: files.xen.pv
Removed Files:
src/sys/arch/xen/include/amd64 [bouyer-xenpvh]: hypercalls.h
src/sys/arch/xen/include/i386 [bouyer-xenpvh]: hypercalls.h

Log Message:
Reorganise sources to make it possible to include Xen PVHVM support in
native kernels. Among others:
- move xen/include/amd64/hypercall.h to amd64/include/xen and
  xen/include/i386/hypercall.h to i386/include/xen
- exclude some native files from the build for xenpv
- add xen to "machine" config statement for amd64 and i386
- split arch/xen/conf/files.xen to arch/xen/conf/files.xen (for pv drivers)
  and arch/xen/conf/files.xen.pv (for full pv support)
- add GENERIC_XENHVM kernel config which includes GENERIC and add Xen PV
  drivers.


To generate a diff of this commit:
cvs rdiff -u -r1.73.6.3 -r1.73.6.4 src/sys/arch/amd64/amd64/vector.S
cvs rdiff -u -r0 -r1.1.2.1 src/sys/arch/amd64/conf/GENERIC_XENHVM
cvs rdiff -u -r1.82 -r1.82.2.1 src/sys/arch/amd64/conf/Makefile.amd64
cvs rdiff -u -r1.175.4.1 -r1.175.4.2 src/sys/arch/amd64/conf/XEN3_DOM0
cvs rdiff -u -r1.115 -r1.115.4.1 src/sys/arch/amd64/conf/files.amd64
cvs rdiff -u -r1.11 -r1.11.26.1 src/sys/arch/amd64/conf/std.amd64
cvs rdiff -u -r1.11 -r1.11.10.1 src/sys/arch/amd64/conf/std.xen
cvs rdiff -u -r0 -r1.1.2.1 src/sys/arch/amd64/include/xen/hypercalls.h
cvs rdiff -u -r0 -r1.1.2.1 src/sys/arch/i386/conf/GENERIC_XENHVM
cvs rdiff -u -r1.194 -r1.194.10.1 src/sys/arch/i386/conf/Makefile.i386
cvs rdiff -u -r1.21.2.1 -r1.21.2.2 src/sys/arch/i386/conf/XEN3PAE_DOM0
cvs rdiff -u -r1.401 -r1.401.6.1 src/sys/arch/i386/conf/files.i386
cvs rdiff -u -r1.35 -r1.35.26.1 src/sys/arch/i386/conf/std.i386
cvs rdiff -u -r1.825.4.1 -r1.825.4.2 src/sys/arch/i386/i386/machdep.c
cvs rdiff -u -r1.85.6.4 -r1.85.6.5 src/sys/arch/i386/i386/vector.S
cvs rdiff -u -r0 -r1.1.2.1 src/sys/arch/i386/include/xen/hypercalls.h
cvs rdiff -u -r1.107.10.1 -r1.107.10.2 src/sys/arch/x86/conf/files.x86
cvs rdiff -u -r1.61.6.2 -r1.61.6.3 src/sys/arch/x86/include/intr.h
cvs rdiff -u -r1.12 -r1.12.10.1 src/sys/arch/x86/x86/cpu_ucode.c
cvs rdiff -u -r1.10 -r1.10.6.1 src/sys/arch/x86/x86/cpu_ucode_amd.c
cvs rdiff -u -r1.17 -r1.17.8.1 src/sys/arch/x86/x86/cpu_ucode_intel.c
cvs rdiff -u -r1.76.6.1 -r1.76.6.2 src/sys/arch/x86/x86/lapic.c
cvs rdiff -u -r1.3.12.1 -r1.3.12.2 src/sys/arch/x86/x86/mainbus.c
cvs rdiff -u -r1.48 -r1.48.10.1 src/sys/arch/xen/conf/Makefile.xen
cvs rdiff -u -r1.180.2.2 -r1.180.2.3 src/sys/arch/xen/conf/files.xen
cvs rdiff -u -r0 -r1.1.2.1 src/sys/arch/xen/conf/files.xen.pv
cvs rdiff -u -r1.10 -r1.10.10.1 src/sys/arch/xen/conf/std.xen
cvs rdiff -u -r1.49.10.1 -r1.49.10.2 src/sys/arch/xen/include/hypervisor.h
cvs rdiff -u -r1.53.6.1 -r1.53.6.2 src/sys/arch/xen/include/intr.h
cvs rdiff -u -r1.42 -r1.42.6.1 src/sys/arch/xen/include/xenpmap.h
cvs rdiff -u -r1.12 -r0 src/sys/arch/xen/include/amd64/hypercalls.h
cvs rdiff -u -r1.19 -r0 src/sys/arch/xen/include/i386/hypercalls.h
cvs rdiff -u -r1.36.8.1 -r1.36.8.2 src/sys/arch/xen/x86/hypervisor_machdep.c
cvs rdiff -u -r1.21.2.4 -r1.21.2.5 src/sys/arch/xen/x86/xen_intr.c
cvs rdiff -u -r1.35.6.2 -r1.35.6.3 src/sys/arch/xen/x86/xen_ipi.c
cvs rdiff -u -r1.6 -r1.6.12.1 src/sys/arch/xen/x86/xen_mainbus.c
cvs rdiff -u -r1.88.2.3 -r1.88.2.4 src/sys/arch/xen/xen/evtchn.c
cvs rdiff -u -r1.109 -r1.109.2.1 src/sys/arch/xen/xen/if_xennet_xenbus.c
cvs rdiff -u -r1.97 -r1.97.2.1 src/sys/arch/xen/xen/xbd_xenbus.c
cvs rdiff -u -r1.22 -r1.22.10.1 src/sys/arch/xen/xen/xen_machdep.c
cvs rdiff -u -r1.48 -r1.48.10.1 src/sys/arch/x

CVS commit: src/sys/arch/aarch64/aarch64

2020-04-16 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Apr 16 08:59:16 UTC 2020

Modified Files:
src/sys/arch/aarch64/aarch64: vectors.S

Log Message:
Shave off 3 instructions per trap


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/aarch64/aarch64/vectors.S

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



CVS commit: src/sys/arch/hppa

2020-04-16 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Apr 16 09:28:52 UTC 2020

Modified Files:
src/sys/arch/hppa/hppa: hppa_machdep.c
src/sys/arch/hppa/include: cpu.h

Log Message:
Fix cur{lwp,cpu} and other bits for MODULES


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/hppa/hppa/hppa_machdep.c
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/hppa/include/cpu.h

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



CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-16 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Thu Apr 16 09:45:57 UTC 2020

Modified Files:
src/sys/arch/amd64/amd64 [bouyer-xenpvh]: locore.S machdep.c
src/sys/arch/x86/include [bouyer-xenpvh]: pci_machdep_common.h
src/sys/arch/x86/x86 [bouyer-xenpvh]: consinit.c cpu.c cpu_ucode_amd.c
identcpu.c intr.c pmap.c x86_autoconf.c x86_machdep.c

Log Message:
More #ifndef XEN -> #ifndef XENPV


To generate a diff of this commit:
cvs rdiff -u -r1.200.4.1 -r1.200.4.2 src/sys/arch/amd64/amd64/locore.S
cvs rdiff -u -r1.346.4.1 -r1.346.4.2 src/sys/arch/amd64/amd64/machdep.c
cvs rdiff -u -r1.23 -r1.23.28.1 src/sys/arch/x86/include/pci_machdep_common.h
cvs rdiff -u -r1.31 -r1.31.8.1 src/sys/arch/x86/x86/consinit.c
cvs rdiff -u -r1.181.4.1 -r1.181.4.2 src/sys/arch/x86/x86/cpu.c
cvs rdiff -u -r1.10.6.1 -r1.10.6.2 src/sys/arch/x86/x86/cpu_ucode_amd.c
cvs rdiff -u -r1.102.2.1 -r1.102.2.2 src/sys/arch/x86/x86/identcpu.c
cvs rdiff -u -r1.150.6.2 -r1.150.6.3 src/sys/arch/x86/x86/intr.c
cvs rdiff -u -r1.381 -r1.381.2.1 src/sys/arch/x86/x86/pmap.c
cvs rdiff -u -r1.79 -r1.79.6.1 src/sys/arch/x86/x86/x86_autoconf.c
cvs rdiff -u -r1.137.2.3 -r1.137.2.4 src/sys/arch/x86/x86/x86_machdep.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/xen/xen

2020-04-16 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Thu Apr 16 09:51:40 UTC 2020

Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c

Log Message:
when checking for physio request check for B_PHYS in b_flags rather
than an internal field, so this works when the original buf is
wrapped by another one by e.g. dk(4)

fixes misfired assert when doing newfs on a wedge, reported by Manuel Bouyer


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/sys/arch/xen/xen/xbd_xenbus.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/hppa

2020-04-16 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Apr 16 09:51:57 UTC 2020

Modified Files:
src/sys/arch/hppa/hppa: pmap.c
src/sys/arch/hppa/include: types.h

Log Message:
To allow concurrent page faults on the same set of pages lock the PV
lists.  From ad@ and fixed up by me.

Remove __HAVE_UNLOCKED_PMAP


To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 src/sys/arch/hppa/hppa/pmap.c
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/hppa/include/types.h

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



CVS commit: [bouyer-xenpvh] src/sys/arch/amd64/conf

2020-04-16 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Thu Apr 16 10:07:23 UTC 2020

Modified Files:
src/sys/arch/amd64/conf [bouyer-xenpvh]: GENERIC_XENHVM

Log Message:
SVS is working with PVHVM now


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/arch/amd64/conf/GENERIC_XENHVM

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



CVS commit: [bouyer-xenpvh] src/sys/arch/amd64/conf

2020-04-16 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Thu Apr 16 10:42:26 UTC 2020

Modified Files:
src/sys/arch/amd64/conf [bouyer-xenpvh]: GENERIC_XENHVM

Log Message:
Well, no, SVS does't quite work yet.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/arch/amd64/conf/GENERIC_XENHVM

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



CVS commit: [netbsd-9] src/sys/dev/pci

2020-04-16 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Apr 16 14:02:36 UTC 2020

Modified Files:
src/sys/dev/pci [netbsd-9]: machfb.c

Log Message:
Pull up following revision(s) (requested by jdc in ticket #836):

sys/dev/pci/machfb.c: revision 1.98

clean up the video mode selection logic, switch modes only when actually
necessary

while there make some debug output optional


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.97.4.1 src/sys/dev/pci/machfb.c

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



CVS commit: [netbsd-9] src/doc

2020-04-16 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Apr 16 14:03:24 UTC 2020

Modified Files:
src/doc [netbsd-9]: CHANGES-9.1

Log Message:
Ticket #836


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.36 -r1.1.2.37 src/doc/CHANGES-9.1

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



CVS commit: src

2020-04-16 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Apr 16 14:39:58 UTC 2020

Modified Files:
src/lib/libc/gen: pthread_atfork.c
src/libexec/ld.elf_so: rtld.c rtld.h symbols.map

Log Message:
Introduce intermediate locking for fork, so that the dynamic linker is
in a consistent state. This most importantly avoids races between dlopen
and friends and fork, potentially resulting in dead locks in the child
when it itself tries to acquire locks.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/libc/gen/pthread_atfork.c
cvs rdiff -u -r1.203 -r1.204 src/libexec/ld.elf_so/rtld.c
cvs rdiff -u -r1.138 -r1.139 src/libexec/ld.elf_so/rtld.h
cvs rdiff -u -r1.2 -r1.3 src/libexec/ld.elf_so/symbols.map

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



CVS commit: [phil-wifi] src/sys/net80211

2020-04-16 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Thu Apr 16 15:30:00 UTC 2020

Modified Files:
src/sys/net80211 [phil-wifi]: ieee80211.c ieee80211_netbsd.c
ieee80211_netbsd.h

Log Message:
Use if_stat functions.


To generate a diff of this commit:
cvs rdiff -u -r1.56.18.8 -r1.56.18.9 src/sys/net80211/ieee80211.c
cvs rdiff -u -r1.31.2.9 -r1.31.2.10 src/sys/net80211/ieee80211_netbsd.c
cvs rdiff -u -r1.21.2.11 -r1.21.2.12 src/sys/net80211/ieee80211_netbsd.h

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



CVS commit: [phil-wifi] src/sys/dev/usb

2020-04-16 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Thu Apr 16 15:32:24 UTC 2020

Modified Files:
src/sys/dev/usb [phil-wifi]: if_urtwnvar.h

Log Message:
Pull in 


To generate a diff of this commit:
cvs rdiff -u -r1.10.16.5 -r1.10.16.6 src/sys/dev/usb/if_urtwnvar.h

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



CVS commit: [phil-wifi] src/sys/dev/usb

2020-04-16 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Thu Apr 16 15:33:08 UTC 2020

Modified Files:
src/sys/dev/usb [phil-wifi]: if_urtwn.c

Log Message:
Use if_stat functions.


To generate a diff of this commit:
cvs rdiff -u -r1.59.2.9 -r1.59.2.10 src/sys/dev/usb/if_urtwn.c

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



CVS commit: src/external/gpl3/binutils/dist/ld/emultempl

2020-04-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Apr 16 15:47:20 UTC 2020

Modified Files:
src/external/gpl3/binutils/dist/ld/emultempl: elf.em

Log Message:
Restore --copy-dt-needed as default. There is too much fallout in pkgsrc
mainly from -lcurses needing -lterminfo.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/gpl3/binutils/dist/ld/emultempl/elf.em

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



CVS commit: src/sys/external/mit/xen-include-public/dist/xen/include/public/io

2020-04-16 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Thu Apr 16 15:58:13 UTC 2020

Modified Files:
src/sys/external/mit/xen-include-public/dist/xen/include/public/io:
blkif.h

Log Message:
update padding within 'struct blkif_request_indirect' to be binary
compatible with Linux/i386 - they changed padding so that there is no
structure layout difference between i386 and amd64; there is no change
for amd64 due to implicit padding

since Linux seems to be the only xen blkback implementation supporting
indirect segments, follow that rather than public xen includes; note
their blkif_x86_32_request_indirect handling expect this layout,
particularly padding for i386 before indirect_grefs[]


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/sys/external/mit/xen-include-public/dist/xen/include/public/io/blkif.h

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



CVS commit: src/sys/arch/xen/xen

2020-04-16 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Thu Apr 16 16:38:43 UTC 2020

Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c

Log Message:
if backend supports it, use indirect segment for I/O requests over 32KB

there is some overhead for backend without persistent mappings
(backend needs to map the extra indirect segment page), but this
makes it possible to queue more I/O if using 64KB block size

tested on NetBSD/amd64 DomU against Linux/amd64 Dom0


To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 src/sys/arch/xen/xen/xbd_xenbus.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

2020-04-16 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Thu Apr 16 17:18:28 UTC 2020

Modified Files:
src/sys/dev/ic: rtwnreg.h
src/sys/dev/usb: if_urtwn.c

Log Message:
Correct rx packet count for 8192EU.  Tested OK.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/ic/rtwnreg.h
cvs rdiff -u -r1.85 -r1.86 src/sys/dev/usb/if_urtwn.c

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



CVS commit: [phil-wifi] src/sys/dev

2020-04-16 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Thu Apr 16 17:24:49 UTC 2020

Modified Files:
src/sys/dev/ic [phil-wifi]: rtwnreg.h
src/sys/dev/usb [phil-wifi]: if_urtwn.c

Log Message:
Update with 92EU changes from -current.


To generate a diff of this commit:
cvs rdiff -u -r1.1.8.3 -r1.1.8.4 src/sys/dev/ic/rtwnreg.h
cvs rdiff -u -r1.59.2.10 -r1.59.2.11 src/sys/dev/usb/if_urtwn.c

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



CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-16 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Thu Apr 16 17:44:54 UTC 2020

Modified Files:
src/sys/arch/amd64/include [bouyer-xenpvh]: intrdefs.h
src/sys/arch/i386/include [bouyer-xenpvh]: intrdefs.h
src/sys/arch/x86/include [bouyer-xenpvh]: cpu.h

Log Message:
Avoid overflow of ci_ipi_events[] in the PVHVM case (it's size is
XEN_NIPIS but we use x86 IPIs): size XEN_NIPIS only for PV, and
CTASSERT that XEN_NIPIS <= X86_NIPI if we ever use Xen IPIs for
PVHVM.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.64.1 src/sys/arch/amd64/include/intrdefs.h
cvs rdiff -u -r1.4 -r1.4.64.1 src/sys/arch/i386/include/intrdefs.h
cvs rdiff -u -r1.117.4.4 -r1.117.4.5 src/sys/arch/x86/include/cpu.h

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



CVS commit: [bouyer-xenpvh] src/sys/arch/xen/x86

2020-04-16 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Thu Apr 16 17:46:44 UTC 2020

Modified Files:
src/sys/arch/xen/x86 [bouyer-xenpvh]: xen_mainbus.c

Log Message:
Don't try to attach hypervisor on non Xen; no more error messages about
hypervisor when booting on bare metal.


To generate a diff of this commit:
cvs rdiff -u -r1.6.12.1 -r1.6.12.2 src/sys/arch/xen/x86/xen_mainbus.c

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



CVS commit: [bouyer-xenpvh] src/sys/arch/xen/xen

2020-04-16 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Thu Apr 16 17:47:37 UTC 2020

Modified Files:
src/sys/arch/xen/xen [bouyer-xenpvh]: hypervisor.c

Log Message:
fail silently if hypervisor is not found.


To generate a diff of this commit:
cvs rdiff -u -r1.73.2.2 -r1.73.2.3 src/sys/arch/xen/xen/hypervisor.c

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



CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-16 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Thu Apr 16 17:50:52 UTC 2020

Modified Files:
src/sys/arch/amd64/amd64 [bouyer-xenpvh]: vector.S
src/sys/arch/amd64/conf [bouyer-xenpvh]: GENERIC_XENHVM
src/sys/arch/i386/i386 [bouyer-xenpvh]: vector.S
src/sys/arch/xen/x86 [bouyer-xenpvh]: hypervisor_machdep.c

Log Message:
amd64: Xhypervisor_pvhvm_callback has to be in text.user for SVS.
Thanks to maxv@ for helping me with this.
Enable SVS again.
While there, increase ci_idepth before calling do_hypervisor_callback,
and don't touch ci_idepth while looping over pending events.


To generate a diff of this commit:
cvs rdiff -u -r1.73.6.4 -r1.73.6.5 src/sys/arch/amd64/amd64/vector.S
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/arch/amd64/conf/GENERIC_XENHVM
cvs rdiff -u -r1.85.6.5 -r1.85.6.6 src/sys/arch/i386/i386/vector.S
cvs rdiff -u -r1.36.8.2 -r1.36.8.3 src/sys/arch/xen/x86/hypervisor_machdep.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

2020-04-16 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Apr 16 18:20:46 UTC 2020

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

Log Message:
- Add some Intel UHD Graphics devices. Mainly taken from OpenBSD.
- Add Comet Lake devices.
- Modify description of Intel 0x591e from HD Graphics to UHD Graphics.
- Add Western Digital WD Blue SN550 NVMe SSD


To generate a diff of this commit:
cvs rdiff -u -r1.1405 -r1.1406 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

2020-04-16 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Apr 16 18:21:13 UTC 2020

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.1393 -r1.1394 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1392 -r1.1393 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/pci

2020-04-16 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Apr 16 18:32:30 UTC 2020

Modified Files:
src/sys/dev/pci: ichsmb.c

Log Message:
Add Comet Lake support.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/dev/pci/ichsmb.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/man4.x86

2020-04-16 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Apr 16 18:51:48 UTC 2020

Modified Files:
src/share/man/man4/man4.x86: imcsmb.4

Log Message:
Remove extraneous spaces


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/share/man/man4/man4.x86/imcsmb.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/man4/man4.x86

2020-04-16 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Apr 16 18:56:04 UTC 2020

Modified Files:
src/share/man/man4/man4.x86: imcsmb.4

Log Message:
Put the spaces back (they're part of the config(1) syntax) but quote
them to avoid formatting errors


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

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



CVS commit: [bouyer-xenpvh] src/sys/arch/xen

2020-04-16 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Thu Apr 16 19:23:51 UTC 2020

Modified Files:
src/sys/arch/xen/conf [bouyer-xenpvh]: files.xen files.xen.pv
src/sys/arch/xen/xen [bouyer-xenpvh]: hypervisor.c
Added Files:
src/sys/arch/xen/xen [bouyer-xenpvh]: xen_clock.c
Removed Files:
src/sys/arch/xen/xen [bouyer-xenpvh]: clock.c

Log Message:
Rename xen/xen/clock.c to xen_clock.c, so that it can be compiled
with x86/isa/clock.c
call events_default_setup() from hypervisor_match to that event
arrays are properly initialised.
Use xen_delay() and xen's timecounter for PVHVM.


To generate a diff of this commit:
cvs rdiff -u -r1.180.2.3 -r1.180.2.4 src/sys/arch/xen/conf/files.xen
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/arch/xen/conf/files.xen.pv
cvs rdiff -u -r1.80.6.2 -r0 src/sys/arch/xen/xen/clock.c
cvs rdiff -u -r1.73.2.3 -r1.73.2.4 src/sys/arch/xen/xen/hypervisor.c
cvs rdiff -u -r0 -r1.1.2.1 src/sys/arch/xen/xen/xen_clock.c

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



CVS commit: [bouyer-xenpvh] src/sys/arch/xen/xen

2020-04-16 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Thu Apr 16 20:21:04 UTC 2020

Modified Files:
src/sys/arch/xen/xen [bouyer-xenpvh]: hypervisor.c

Log Message:
switch vm_guest to VM_GUEST_XENPVHVM only after all tests succeeded.


To generate a diff of this commit:
cvs rdiff -u -r1.73.2.4 -r1.73.2.5 src/sys/arch/xen/xen/hypervisor.c

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



CVS commit: [bouyer-xenpvh] src/sys/arch/xen/xen

2020-04-16 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Thu Apr 16 20:21:45 UTC 2020

Modified Files:
src/sys/arch/xen/xen [bouyer-xenpvh]: xen_clock.c

Log Message:
MOve the #ifdef XENPV block to the end, so that XEN3_DOM0 builds again.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/arch/xen/xen/xen_clock.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

2020-04-16 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Thu Apr 16 21:20:43 UTC 2020

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

Log Message:
With the right timing, V->P operations could change stuff behind the back of
callers working in the opposite direction - fix it.  Tested by skrll@.


To generate a diff of this commit:
cvs rdiff -u -r1.404 -r1.405 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

2020-04-16 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Thu Apr 16 21:56:43 UTC 2020

Modified Files:
src/sys/arch/arm/omap: omap3_sdmareg.h omap3_sdmavar.h omapfbreg.h
src/sys/arch/arm/ti: omap3_dssreg.h
src/sys/arch/macppc/dev: batteryvar.h cudavar.h deqvar.h obiovar.h
platinumfbreg.h pmuvar.h valkyriefbreg.h videopllvar.h
src/sys/arch/mips/adm5120/dev: if_admswvar.h
src/sys/arch/powerpc/include: intr.h
src/sys/arch/powerpc/pic: ipivar.h picvar.h
src/sys/dev/acpi/wmi: wmi_acpivar.h
src/sys/dev/adb: adbvar.h
src/sys/dev/i2c: adm1026reg.h dbcool_reg.h dbcool_var.h sgsmixvar.h
src/sys/dev/ic: i128reg.h i128var.h
src/sys/dev/pci: gffbreg.h ppbvar.h voyagervar.h
src/sys/dev/qbus: rlvar.h
src/sys/external/bsd/ena-com: ena_plat.h
src/sys/lib/libkern: crc16.h
src/sys/ufs/ext2fs: ext2fs_xattr.h

Log Message:
Stop using __KERNEL_RCSID() in header files; it confuses ident(1) by
overwriting RCSID in main source files.

XXX
The first argument of __KERNEL_RCSID() is neglected for ELF. If we wish
to have RCSID of header files in kernel binary, we need something like
__FBSDID() macro in FreeBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/omap/omap3_sdmareg.h
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/omap/omap3_sdmavar.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/omap/omapfbreg.h
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/ti/omap3_dssreg.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/macppc/dev/batteryvar.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/macppc/dev/cudavar.h \
src/sys/arch/macppc/dev/deqvar.h src/sys/arch/macppc/dev/obiovar.h \
src/sys/arch/macppc/dev/valkyriefbreg.h \
src/sys/arch/macppc/dev/videopllvar.h
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/macppc/dev/platinumfbreg.h
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/macppc/dev/pmuvar.h
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/mips/adm5120/dev/if_admswvar.h
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/powerpc/include/intr.h
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/powerpc/pic/ipivar.h \
src/sys/arch/powerpc/pic/picvar.h
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/acpi/wmi/wmi_acpivar.h
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/adb/adbvar.h
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/i2c/adm1026reg.h
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/i2c/dbcool_reg.h
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/i2c/dbcool_var.h
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/i2c/sgsmixvar.h
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/ic/i128reg.h src/sys/dev/ic/i128var.h
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/pci/gffbreg.h
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/ppbvar.h
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/pci/voyagervar.h
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/qbus/rlvar.h
cvs rdiff -u -r1.4 -r1.5 src/sys/external/bsd/ena-com/ena_plat.h
cvs rdiff -u -r1.1 -r1.2 src/sys/lib/libkern/crc16.h
cvs rdiff -u -r1.2 -r1.3 src/sys/ufs/ext2fs/ext2fs_xattr.h

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



CVS commit: src/sys/arch/powerpc/include

2020-04-16 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Thu Apr 16 22:11:12 UTC 2020

Modified Files:
src/sys/arch/powerpc/include: types.h

Log Message:
Discard __HAVE_UNLOCKED_PMAP for 4xx; 4xx is uniprocessor architecture,
and everything gets more than 10 times slower by __HAVE_UNLOCKED_PMAP.

Note that we support three supervisor-level architectures for powerpc:
oea, booke, and 4xx. We have three different implementations of pmap as
a result. Whereas oea and booke support multiprocessor, 4xx does not.


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/sys/arch/powerpc/include/types.h

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



CVS commit: src/sys/sys

2020-04-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Apr 16 22:13:51 UTC 2020

Modified Files:
src/sys/sys: ieee754.h

Log Message:
fix tense (Nelson Beebe)


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/sys/ieee754.h

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



CVS commit: src/sys

2020-04-16 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Thu Apr 16 23:29:54 UTC 2020

Modified Files:
src/sys/arch/arm/omap: omap3_sdmareg.h omap3_sdmavar.h omapfbreg.h
src/sys/arch/arm/ti: omap3_dssreg.h
src/sys/arch/macppc/dev: batteryvar.h cudavar.h deqvar.h obiovar.h
platinumfbreg.h pmuvar.h valkyriefbreg.h videopllvar.h
src/sys/arch/mips/adm5120/dev: if_admswvar.h
src/sys/arch/powerpc/include: intr.h
src/sys/arch/powerpc/pic: ipivar.h picvar.h
src/sys/dev/acpi/wmi: wmi_acpivar.h
src/sys/dev/adb: adbvar.h
src/sys/dev/i2c: adm1026reg.h dbcool_reg.h dbcool_var.h sgsmixvar.h
src/sys/dev/ic: i128reg.h i128var.h
src/sys/dev/pci: gffbreg.h ppbvar.h voyagervar.h
src/sys/dev/qbus: rlvar.h
src/sys/external/bsd/ena-com: ena_plat.h
src/sys/lib/libkern: crc16.h
src/sys/ufs/ext2fs: ext2fs_xattr.h

Log Message:
Revert previous for now:
http://mail-index.netbsd.org/source-changes/2020/04/16/msg116278.html

The reasoning turned out to be wrong; __KERNEL_RCSID() in header files
does *not* overwrite RCSID in main source files. The real problem is that
it inserts its RCSID into *every* object files. However, it can be still
useful even if heavily duplicated.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/omap/omap3_sdmareg.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/omap/omap3_sdmavar.h
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/omap/omapfbreg.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/ti/omap3_dssreg.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/macppc/dev/batteryvar.h
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/macppc/dev/cudavar.h \
src/sys/arch/macppc/dev/deqvar.h src/sys/arch/macppc/dev/obiovar.h \
src/sys/arch/macppc/dev/valkyriefbreg.h \
src/sys/arch/macppc/dev/videopllvar.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/macppc/dev/platinumfbreg.h
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/macppc/dev/pmuvar.h
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/mips/adm5120/dev/if_admswvar.h
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/powerpc/include/intr.h
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/powerpc/pic/ipivar.h \
src/sys/arch/powerpc/pic/picvar.h
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/acpi/wmi/wmi_acpivar.h
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/adb/adbvar.h
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/adm1026reg.h
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/i2c/dbcool_reg.h
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/i2c/dbcool_var.h
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/i2c/sgsmixvar.h
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/ic/i128reg.h src/sys/dev/ic/i128var.h
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/pci/gffbreg.h
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/pci/ppbvar.h
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/pci/voyagervar.h
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/qbus/rlvar.h
cvs rdiff -u -r1.5 -r1.6 src/sys/external/bsd/ena-com/ena_plat.h
cvs rdiff -u -r1.2 -r1.3 src/sys/lib/libkern/crc16.h
cvs rdiff -u -r1.3 -r1.4 src/sys/ufs/ext2fs/ext2fs_xattr.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/pci/ixgbe

2020-04-16 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Apr 17 02:21:25 UTC 2020

Modified Files:
src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe_netbsd.c ixgbe_phy.c
ixv.c

Log Message:
No functional change:
 - modify comment
 - whitespace fix


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/dev/pci/ixgbe/ix_txrx.c
cvs rdiff -u -r1.227 -r1.228 src/sys/dev/pci/ixgbe/ixgbe.c
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/pci/ixgbe/ixgbe_netbsd.c
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/pci/ixgbe/ixgbe_phy.c
cvs rdiff -u -r1.147 -r1.148 src/sys/dev/pci/ixgbe/ixv.c

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



CVS commit: src/usr.sbin/tprof/arch

2020-04-16 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Fri Apr 17 03:15:51 UTC 2020

Modified Files:
src/usr.sbin/tprof/arch: tprof_x86.c

Log Message:
Fix typo in a comment.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/tprof/arch/tprof_x86.c

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