CVS commit: src/external/bsd/dhcpcd

2018-07-04 Thread Frédéric Fauberteau
Module Name:src
Committed By:   triaxx
Date:   Thu Jul  5 05:41:17 UTC 2018

Modified Files:
src/external/bsd/dhcpcd: Makefile.inc

Log Message:
Fix an inconsistency that showed /var/db/duid in the man page while the
binary opened /var/db/dhcpcd/duid.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/dhcpcd/Makefile.inc

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



CVS commit: src/distrib/utils/embedded/files

2018-07-04 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Jul  4 23:10:06 UTC 2018

Modified Files:
src/distrib/utils/embedded/files: armv7_boot.cmd

Log Message:
Enable booting of netbsd-EXYNOS kernel


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/distrib/utils/embedded/files/armv7_boot.cmd

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



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

2018-07-04 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Jul  4 23:08:29 UTC 2018

Modified Files:
src/sys/arch/evbarm/conf: EXYNOS

Log Message:
Add expwm, pwmfan


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/evbarm/conf/EXYNOS

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



CVS commit: src/sys/dev/fdt

2018-07-04 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Jul  4 23:08:06 UTC 2018

Modified Files:
src/sys/dev/fdt: files.fdt
Added Files:
src/sys/dev/fdt: pwm_fan.c

Log Message:
Add basic pwm-fan driver. This doesn't have any smarts yet other than
turning the fan on at 100% duty cycle.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/dev/fdt/files.fdt
cvs rdiff -u -r0 -r1.1 src/sys/dev/fdt/pwm_fan.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/samsung

2018-07-04 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Jul  4 23:06:55 UTC 2018

Modified Files:
src/sys/arch/arm/samsung: files.exynos
Added Files:
src/sys/arch/arm/samsung: exynos_pwm.c

Log Message:
Add driver for Exynos PWM timer.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/samsung/exynos_pwm.c
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/arm/samsung/files.exynos

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/samsung

2018-07-04 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Jul  4 23:06:28 UTC 2018

Modified Files:
src/sys/arch/arm/samsung: exynos5422_clock.c

Log Message:
Add pwm clocks


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/samsung/exynos5422_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/samsung

2018-07-04 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Jul  4 23:06:05 UTC 2018

Modified Files:
src/sys/arch/arm/samsung: exynos5_reg.h

Log Message:
Align AUDIOCORE size to 1M, and add definition for SYSRAM


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/arm/samsung/exynos5_reg.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/arm/samsung

2018-07-04 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Jul  4 22:16:43 UTC 2018

Modified Files:
src/sys/arch/arm/samsung: exynos_gpio.c

Log Message:
Remove some duplicate code


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/arm/samsung/exynos_gpio.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

2018-07-04 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Wed Jul  4 19:37:10 UTC 2018

Modified Files:
src/sys/dev/pci: if_skreg.h

Log Message:
sync SK_IMTIMER_TICKS_YUKON value with OpenBSD (likely pasto)


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/pci/if_skreg.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

2018-07-04 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Wed Jul  4 19:26:09 UTC 2018

Modified Files:
src/sys/dev/pci: if_msk.c if_sk.c

Log Message:
use pci_intr_establish_xname()


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/sys/dev/pci/if_msk.c
cvs rdiff -u -r1.88 -r1.89 src/sys/dev/pci/if_sk.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

2018-07-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jul  4 19:20:25 UTC 2018

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

Log Message:
merge duplicated code, more informative debugging.


To generate a diff of this commit:
cvs rdiff -u -r1.255 -r1.256 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/sys/kern

2018-07-04 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Wed Jul  4 18:15:28 UTC 2018

Modified Files:
src/sys/kern: kern_lwp.c

Log Message:
Avoid undefined behavior in lwp_ctl_free()

Do not left shift signed integer in a way that the signedness bit is
changed.

sys/kern/kern_lwp.c:1892:29, left shift of 1 by 31 places cannot be represented 
in type 'int'

Detected with Kernel Undefined Behavior Sanitizer.

Reported by 


To generate a diff of this commit:
cvs rdiff -u -r1.193 -r1.194 src/sys/kern/kern_lwp.c

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



CVS commit: src/sys/kern

2018-07-04 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Wed Jul  4 18:13:01 UTC 2018

Modified Files:
src/sys/kern: kern_lwp.c

Log Message:
Avoid undefined behavior in lwp_ctl_alloc()

Do not left shift signed integer in a way that the signedness bit is
changed.

sys/kern/kern_lwp.c:1849:27, left shift of 1 by 31 places cannot be represented 
in type 'int'

Detected with Kernel Undefined Behavior Sanitizer.

Reported by 


To generate a diff of this commit:
cvs rdiff -u -r1.192 -r1.193 src/sys/kern/kern_lwp.c

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



CVS commit: src/sys/kern

2018-07-04 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Wed Jul  4 17:50:18 UTC 2018

Modified Files:
src/sys/kern: sys_mqueue.c

Log Message:
Avoid undefined behavior in mq_send1()

Do not shift a signed integer causing change of the signed bit.

sys/kern/sys_mqueue.c:881:23, left shift of 1 by 31 places cannot be 
represented in type 'int'

Detected with Kernel Undefined Behavior Sanitizer.

Reported by 


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/kern/sys_mqueue.c

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



CVS commit: src/sys/kern

2018-07-04 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Wed Jul  4 17:39:12 UTC 2018

Modified Files:
src/sys/kern: sys_mqueue.c

Log Message:
Avoid undefined behavior in mq_recv1()

Do not shift a signed integer causing change of the signed bit.

sys/kern/sys_mqueue.c:712:24, left shift of 1 by 31 places cannot be 
represented in type 'int'

Detected with Kernel Undefined Behavior Sanitizer.

Reported by 


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/kern/sys_mqueue.c

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



CVS commit: src/share/misc

2018-07-04 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Jul  4 15:38:46 UTC 2018

Modified Files:
src/share/misc: acronyms.comp

Log Message:
Add EBDA.


To generate a diff of this commit:
cvs rdiff -u -r1.211 -r1.212 src/share/misc/acronyms.comp

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



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

2018-07-04 Thread Greg Troxel
Module Name:src
Committed By:   gdt
Date:   Wed Jul  4 13:32:01 UTC 2018

Modified Files:
src/sys/arch/evbarm/conf: RPI

Log Message:
RPI: remove commented-out pseudodevices

Remove a number of commented out pseudodevice lines that are
duplicative with GENERIC.common.  Othewise, someone might think it
reasonable to uncomment or add them.

For now, a number of pseudodevices that are not in GENERIC.common
remain, pending comments on the larger-scale rototill.


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/sys/arch/evbarm/conf/RPI

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/samsung

2018-07-04 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Jul  4 13:14:51 UTC 2018

Modified Files:
src/sys/arch/arm/samsung: exynos_sscom.c sscom.c sscom_var.h

Log Message:
Only process a tx or rx interrupt if the pending bit is set.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/samsung/exynos_sscom.c
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/arm/samsung/sscom.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/samsung/sscom_var.h

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



CVS commit: src/external/mit/xorg/bin

2018-07-04 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Jul  4 12:25:49 UTC 2018

Modified Files:
src/external/mit/xorg/bin/fc-cache: Makefile
src/external/mit/xorg/bin/fc-cat: Makefile
src/external/mit/xorg/bin/fc-list: Makefile
src/external/mit/xorg/bin/fc-match: Makefile
src/external/mit/xorg/bin/fc-pattern: Makefile
src/external/mit/xorg/bin/fc-query: Makefile
src/external/mit/xorg/bin/fc-scan: Makefile
src/external/mit/xorg/bin/fc-validate: Makefile

Log Message:
Claim to have getopt_long.

We do, and packages occasionally expect the long options to exist.
Pointed out while investigating
PR pkg/53425: graphics/py-matplotlib 2.2.2 import fails
(which is not fixed by this commit)


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/bin/fc-cache/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/mit/xorg/bin/fc-cat/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/mit/xorg/bin/fc-list/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/bin/fc-match/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/mit/xorg/bin/fc-pattern/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/bin/fc-query/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/mit/xorg/bin/fc-scan/Makefile
cvs rdiff -u -r1.1 -r1.2 src/external/mit/xorg/bin/fc-validate/Makefile

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

2018-07-04 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Jul  4 07:55:57 UTC 2018

Modified Files:
src/sys/arch/x86/include: specialreg.h
src/sys/arch/x86/x86: identcpu.c

Log Message:
Disable MWAIT/MONITOR on Apollo Lake CPUs to workaround APL30 errata.

We use MWAIT/MONITOR to hatch secondary CPUs. The errata means that
the wakeup may not happen, so SMP boot fails.
Use wrmsr to disable it in hardware too, for extra paranoia.

PR port-amd64/53420,
also reported on netbsd-users by joern clausen and ssartor.


To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 src/sys/arch/x86/include/specialreg.h
cvs rdiff -u -r1.78 -r1.79 src/sys/arch/x86/x86/identcpu.c

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



CVS commit: src/lib/libc/stdio

2018-07-04 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Jul  4 07:38:38 UTC 2018

Modified Files:
src/lib/libc/stdio: fgetln.3

Log Message:
Indent.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/lib/libc/stdio/fgetln.3

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



CVS commit: src/sys/kern

2018-07-04 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Jul  4 07:25:47 UTC 2018

Modified Files:
src/sys/kern: kern_cpu.c

Log Message:
 Don't allocate memory and return EFTYPE if sc->sc_blobsize==0 to prevent
panic in firmware_malloc().


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/kern/kern_cpu.c

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