CVS commit: src/sys/dev/ic

2020-05-29 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Fri May 29 09:05:20 UTC 2020

Modified Files:
src/sys/dev/ic: dm9000var.h

Log Message:
Make this compile again. Not tested.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/ic/dm9000var.h

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



CVS commit: src/crypto/external/bsd/openssh/bin/scp

2020-05-29 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Fri May 29 10:01:23 UTC 2020

Modified Files:
src/crypto/external/bsd/openssh/bin/scp: Makefile

Log Message:
Specify -Wno-format-nonlitera for scp.c (OpenSSH)

Fixes build with Clang/LLVM.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/crypto/external/bsd/openssh/bin/scp/Makefile

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



CVS commit: src/usr.sbin/sysinst/arch/evbarm

2020-05-29 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri May 29 10:25:06 UTC 2020

Modified Files:
src/usr.sbin/sysinst/arch/evbarm: md.c

Log Message:
DTB are no longer part of kernel set


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/sysinst/arch/evbarm/md.c

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



CVS commit: src/external/bsd/ntp/lib/libntp

2020-05-29 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Fri May 29 10:47:37 UTC 2020

Modified Files:
src/external/bsd/ntp/lib/libntp: Makefile

Log Message:
Fix the libntp build with Clang/LLVM

Set -Wno-error=implicit-int-float-conversion


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/external/bsd/ntp/lib/libntp/Makefile

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



CVS commit: src/external/bsd/ntp/include

2020-05-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 29 10:50:36 UTC 2020

Modified Files:
src/external/bsd/ntp/include: config.h

Log Message:
Fix incorrect merge.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/external/bsd/ntp/include/config.h

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



CVS commit: src/external/bsd/ntp/bin/ntpd

2020-05-29 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Fri May 29 10:53:02 UTC 2020

Modified Files:
src/external/bsd/ntp/bin/ntpd: Makefile

Log Message:
Fix the ntpd build with Clang/LLVM

Set -Wno-format-nonliteral for ntp_refclock.c


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/external/bsd/ntp/bin/ntpd/Makefile

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



CVS commit: src/external/bsd/ntp/include

2020-05-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 29 11:01:53 UTC 2020

Modified Files:
src/external/bsd/ntp/include: config.h

Log Message:
fix WORDS_BIGENDIAN


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/external/bsd/ntp/include/config.h

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



CVS commit: src/crypto/external/bsd/openssh/dist

2020-05-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 29 12:14:49 UTC 2020

Modified Files:
src/crypto/external/bsd/openssh/dist: scp.c

Log Message:
Fix printf format error.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/crypto/external/bsd/openssh/dist/scp.c

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



CVS commit: src/crypto/external/bsd/openssh/bin/scp

2020-05-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 29 12:15:30 UTC 2020

Modified Files:
src/crypto/external/bsd/openssh/bin/scp: Makefile

Log Message:
delete previous and fix bug instead.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/crypto/external/bsd/openssh/bin/scp/Makefile

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



CVS commit: src/sys

2020-05-29 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Fri May 29 12:30:41 UTC 2020

Modified Files:
src/sys/arch/arm/at91: at91tctmr.c
src/sys/arch/arm/ep93xx: epclk.c
src/sys/arch/arm/imx: imxclock.c
src/sys/arch/arm/iomd: iomd_clock.c
src/sys/arch/arm/ixp12x0: ixp12x0_clk.c
src/sys/arch/arm/marvell: mvsoctmr.c
src/sys/arch/arm/mpcore: mpcore_clock.c
src/sys/arch/arm/omap: omap_mputmr.c
src/sys/arch/arm/s3c2xx0: s3c24x0_clk.c s3c2800_clk.c
src/sys/arch/arm/xscale: becc_timer.c ixp425_timer.c
src/sys/arch/atari/dev: clock.c
src/sys/arch/evbarm/ifpga: ifpga_clock.c
src/sys/arch/evbarm/iq80310: iq80310_timer.c
src/sys/arch/evbmips/ingenic: clock.c
src/sys/arch/evbmips/loongson: loongson_clock.c
src/sys/arch/hp300/hp300: clock.c
src/sys/arch/ia64/ia64: clock.c
src/sys/arch/mips/mips: mips3_clock.c
src/sys/arch/powerpc/booke: e500_timer.c
src/sys/arch/powerpc/ibm4xx: clock.c
src/sys/arch/sgimips/dev: int.c
src/sys/arch/sparc64/sparc64: clock.c
src/sys/arch/usermode/dev: clock.c
src/sys/arch/vax/vax: clock.c
src/sys/arch/x86/isa: clock.c
src/sys/arch/x86/x86: lapic.c
src/sys/dev/acpi: acpi_timer.c
src/sys/dev/pci/voyager: pwmclock.c

Log Message:
For struct timecounter, use C99 initializers.
Compile tested. No functional changes intended.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/at91/at91tctmr.c
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/arm/ep93xx/epclk.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/imx/imxclock.c
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/arm/iomd/iomd_clock.c
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/arm/ixp12x0/ixp12x0_clk.c
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/arm/marvell/mvsoctmr.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/mpcore/mpcore_clock.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/omap/omap_mputmr.c
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/arm/s3c2xx0/s3c24x0_clk.c
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/arm/s3c2xx0/s3c2800_clk.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/arm/xscale/becc_timer.c
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/arm/xscale/ixp425_timer.c
cvs rdiff -u -r1.60 -r1.61 src/sys/arch/atari/dev/clock.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/evbarm/ifpga/ifpga_clock.c
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/evbarm/iq80310/iq80310_timer.c
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/evbmips/ingenic/clock.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbmips/loongson/loongson_clock.c
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/hp300/hp300/clock.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/ia64/ia64/clock.c
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/mips/mips/mips3_clock.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/powerpc/booke/e500_timer.c
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/powerpc/ibm4xx/clock.c
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/sgimips/dev/int.c
cvs rdiff -u -r1.122 -r1.123 src/sys/arch/sparc64/sparc64/clock.c
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/usermode/dev/clock.c
cvs rdiff -u -r1.58 -r1.59 src/sys/arch/vax/vax/clock.c
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/x86/isa/clock.c
cvs rdiff -u -r1.82 -r1.83 src/sys/arch/x86/x86/lapic.c
cvs rdiff -u -r1.25 -r1.26 src/sys/dev/acpi/acpi_timer.c
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/pci/voyager/pwmclock.c

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



CVS commit: src/external/bsd/ntp/dist/libntp

2020-05-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 29 20:15:14 UTC 2020

Modified Files:
src/external/bsd/ntp/dist/libntp: timexsup.c

Log Message:
Add explicit casts


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/ntp/dist/libntp/timexsup.c

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



CVS commit: src/external/bsd/ntp/lib/libntp

2020-05-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 29 20:16:08 UTC 2020

Modified Files:
src/external/bsd/ntp/lib/libntp: Makefile

Log Message:
put back the warn flags


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/external/bsd/ntp/lib/libntp/Makefile

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



CVS commit: src/external/bsd/ntp/dist

2020-05-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 29 20:15:38 UTC 2020

Modified Files:
src/external/bsd/ntp/dist/include: ntp_stdlib.h
src/external/bsd/ntp/dist/libntp: msyslog.c

Log Message:
fix printf format warning with format_arg


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/external/bsd/ntp/dist/include/ntp_stdlib.h
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/ntp/dist/libntp/msyslog.c

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



CVS commit: src/external/bsd/ntp/dist/include

2020-05-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 29 20:54:16 UTC 2020

Modified Files:
src/external/bsd/ntp/dist/include: ntp_refclock.h

Log Message:
Add more printf annotations


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/ntp/dist/include/ntp_refclock.h

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



CVS commit: src/external/bsd/ntp/dist/include

2020-05-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 29 20:56:27 UTC 2020

Modified Files:
src/external/bsd/ntp/dist/include: ntp_refclock.h

Log Message:
make it compile again


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/ntp/dist/include/ntp_refclock.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/x86/x86

2020-05-29 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Fri May 29 22:40:16 UTC 2020

Modified Files:
src/sys/arch/x86/x86: pmap.c

Log Message:
Reported-by: syzbot+fd9be59aa613bbf4e...@syzkaller.appspotmail.com
Reported-by: syzbot+15dd4dbac6ed159fa...@syzkaller.appspotmail.com
Reported-by: syzbot+38fa02d3b0e46e57c...@syzkaller.appspotmail.com

pmap_remove_all(): need to drain PV pages only after the PTEs are unmapped,
otherwise there can be a context switch with them mapped in.  XXX amd64
should use the direct map.


To generate a diff of this commit:
cvs rdiff -u -r1.396 -r1.397 src/sys/arch/x86/x86/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/arc/arc

2020-05-29 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Fri May 29 23:02:51 UTC 2020

Modified Files:
src/sys/arch/arc/arc: arcbios.c

Log Message:
Make sure to preserve MIPS_CURLWP (t8) register from ARC BIOS calls.

Fixes silent hangup right after starting a kernel on my
Express5800/230 R4400 PCI (finally I've repaired its PSU and RTC).
Reviewed by soda@.  Maybe other ARC machines are also affected.

Note GXemul was not affected by this problem because it doesn't
have actual ARC BIOS ROM and emulates ARC functions internally.

Should be pulled up to at least netbsd-9.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/arc/arc/arcbios.c

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



CVS commit: src/distrib/arc/ramdisk

2020-05-29 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Fri May 29 23:12:12 UTC 2020

Modified Files:
src/distrib/arc/ramdisk: Makefile list

Log Message:
Shrink ramdisk to make RAMDISK kernel smaller for ARC BIOS restriction.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/distrib/arc/ramdisk/Makefile
cvs rdiff -u -r1.23 -r1.24 src/distrib/arc/ramdisk/list

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



CVS commit: src/sys/arch/arc/conf

2020-05-29 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Fri May 29 23:24:39 UTC 2020

Modified Files:
src/sys/arch/arc/conf: GENERIC RAMDISK

Log Message:
Try to shrink kernels to smaller than ~6MB due to ARC BIOS restriction.

Currently NetBSD/arc kernels are loaded at 0x8020
(on some machines ARC BIOS uses regions before it) and
ARC BIOS also uses around 0x807f, so bootloader fails
on loading >6MB kernels.

Note GXemul doesn't have this restriction because it loads
a kernel directly via a command line argument.

Tested by installing using sysinst on RAMDISK kernel on netbsd-9.

Should be pulled up to netbsd-9.


To generate a diff of this commit:
cvs rdiff -u -r1.197 -r1.198 src/sys/arch/arc/conf/GENERIC
cvs rdiff -u -r1.82 -r1.83 src/sys/arch/arc/conf/RAMDISK

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



CVS commit: src/usr.sbin/puffs/mount_9p

2020-05-29 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Fri May 29 23:49:09 UTC 2020

Modified Files:
src/usr.sbin/puffs/mount_9p: ninepuffs.c

Log Message:
Fix vio9p device name in a comment.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/usr.sbin/puffs/mount_9p/ninepuffs.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/puffs/mount_9p

2020-05-29 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Sat May 30 00:00:35 UTC 2020

Modified Files:
src/usr.sbin/puffs/mount_9p: mount_9p.8

Log Message:
Provide list of options for ease of reference.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/puffs/mount_9p/mount_9p.8

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



CVS commit: src/sys/dev/arcbios

2020-05-29 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat May 30 02:46:07 UTC 2020

Modified Files:
src/sys/dev/arcbios: arcbios_calls.S

Log Message:
Don't forget to save MIPS_CURLWP (t8) register before restoring it.

Maybe harmless because the only ARC BIOS function that takes
more than four arguments is currently unused.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/arcbios/arcbios_calls.S

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



CVS commit: src/usr.sbin/puffs/mount_9p

2020-05-29 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Sat May 30 02:53:30 UTC 2020

Modified Files:
src/usr.sbin/puffs/mount_9p: ninepuffs.c

Log Message:
Initialize puffs9p::server (though it's not used anywhere).


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/usr.sbin/puffs/mount_9p/ninepuffs.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/arcbios

2020-05-29 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat May 30 02:56:55 UTC 2020

Modified Files:
src/sys/dev/arcbios: arcbios_calls.S

Log Message:
Explicitly use MIPS_CURLWP macro.  No binary change.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/arcbios/arcbios_calls.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/mips/cavium/dev

2020-05-29 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat May 30 03:12:52 UTC 2020

Modified Files:
src/sys/arch/mips/cavium/dev: octeon_rnm.c

Log Message:
CN70XX iobdma limit appears to be 128 words, so gather that many samples
as a time.
Gather the full 512 bytes of samples and process in a single call to
rnd_add_data_sync() - about 10% faster than 4 calls to rnd_add_data_sync().
Put sample buffer in the softc to save some stack usage.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/mips/cavium/dev/octeon_rnm.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/arcbios

2020-05-29 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat May 30 03:16:32 UTC 2020

Modified Files:
src/sys/dev/arcbios: arcbios_calls.S

Log Message:
Avoid use of CALLFRAME_S0 on calling ARC BIOS functions.

On O32 and O64, 0(sp) could be clobbered by callee functions
to save argument a0, so we can't use it to save caller registers.
Use CALLFRAME_SP instead because a frame pointer is not used here.
Maybe all other references of CALLFRAME_S0 might also be problematic
on O32.  Discussed with soda@.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/arcbios/arcbios_calls.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/mips/mips

2020-05-29 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat May 30 04:11:22 UTC 2020

Modified Files:
src/sys/arch/mips/mips: mips_mcclock_loop.S

Log Message:
Revert 0(sp) -> CALLFRAME_S0(sp) changes in rev 1.4.

0(sp) is safe here even on O32 because the only callee function
mips_cp0_cause_read() doesn't take arguments, but it's caller's
responsibility to choose proper stackframe region and the name
of CALLFRAME_S0 is just confusing.  No binary change.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/mips/mips/mips_mcclock_loop.S

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