CVS commit: src/tests/kernel

2019-05-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue May 21 04:10:20 UTC 2019 Modified Files: src/tests/kernel: gen_t_subr_prf Log Message: unexpand To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/tests/kernel/gen_t_subr_prf Please note that diffs are not

CVS commit: src/tests/kernel

2019-05-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue May 21 04:09:46 UTC 2019 Modified Files: src/tests/kernel: gen_t_subr_prf Log Message: add printf attribute To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/tests/kernel/gen_t_subr_prf Please note that

CVS commit: src/tests/kernel

2019-05-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue May 21 04:10:20 UTC 2019 Modified Files: src/tests/kernel: gen_t_subr_prf Log Message: unexpand To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/tests/kernel/gen_t_subr_prf Please note that diffs are not

CVS commit: src/tests/kernel

2019-05-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue May 21 04:09:46 UTC 2019 Modified Files: src/tests/kernel: gen_t_subr_prf Log Message: add printf attribute To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/tests/kernel/gen_t_subr_prf Please note that

CVS commit: src/sys/kern

2019-05-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue May 21 04:53:52 UTC 2019 Modified Files: src/sys/kern: subr_prf.c Log Message: va_copy list needs va_end; pointed out by kre@ To generate a diff of this commit: cvs rdiff -u -r1.178 -r1.179 src/sys/kern/subr_prf.c Please

CVS commit: src/sys/kern

2019-05-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue May 21 04:53:52 UTC 2019 Modified Files: src/sys/kern: subr_prf.c Log Message: va_copy list needs va_end; pointed out by kre@ To generate a diff of this commit: cvs rdiff -u -r1.178 -r1.179 src/sys/kern/subr_prf.c Please

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

2019-05-20 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue May 21 05:29:21 UTC 2019 Modified Files: src/usr.sbin/cpuctl/arch: cpuctl_i386.h i386-asm.S i386.c x86_64-asm.S Log Message: All MSRs can only be read at privilege level 0. The exact APIC ID cannot be determined on some AMD

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

2019-05-20 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue May 21 05:29:21 UTC 2019 Modified Files: src/usr.sbin/cpuctl/arch: cpuctl_i386.h i386-asm.S i386.c x86_64-asm.S Log Message: All MSRs can only be read at privilege level 0. The exact APIC ID cannot be determined on some AMD

CVS commit: src/sys/kern

2019-05-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue May 21 04:55:07 UTC 2019 Modified Files: src/sys/kern: subr_prf.c Log Message: undo the unintended part of the previous commit. To generate a diff of this commit: cvs rdiff -u -r1.179 -r1.180 src/sys/kern/subr_prf.c

CVS commit: src/sys/kern

2019-05-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue May 21 04:57:02 UTC 2019 Modified Files: src/sys/kern: subr_prf.c Log Message: put back line accidentally removed. To generate a diff of this commit: cvs rdiff -u -r1.180 -r1.181 src/sys/kern/subr_prf.c Please note that

CVS commit: src/sys/kern

2019-05-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue May 21 04:57:02 UTC 2019 Modified Files: src/sys/kern: subr_prf.c Log Message: put back line accidentally removed. To generate a diff of this commit: cvs rdiff -u -r1.180 -r1.181 src/sys/kern/subr_prf.c Please note that

CVS commit: src/sys/dev/fdt

2019-05-20 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 20 11:12:11 UTC 2019 Modified Files: src/sys/dev/fdt: fdtbus.c Log Message: Reduce the number of times we need to call driver match functions. Makes a noticeable difference in boot time on an ODROID-XU4. To generate a

CVS commit: src/sys/dev/fdt

2019-05-20 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 20 11:12:11 UTC 2019 Modified Files: src/sys/dev/fdt: fdtbus.c Log Message: Reduce the number of times we need to call driver match functions. Makes a noticeable difference in boot time on an ODROID-XU4. To generate a

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

2019-05-20 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Mon May 20 08:55:31 UTC 2019 Modified Files: src/usr.sbin/puffs/mount_9p: ninepuffs.c Log Message: mount_9p: add missing -u option to the help message To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26

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

2019-05-20 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Mon May 20 08:55:31 UTC 2019 Modified Files: src/usr.sbin/puffs/mount_9p: ninepuffs.c Log Message: mount_9p: add missing -u option to the help message To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26

CVS commit: src/tools/m68k-elf2aout/sys

2019-05-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon May 20 18:24:58 UTC 2019 Modified Files: src/tools/m68k-elf2aout/sys: aout_mids.h exec_elf.h Log Message: sync with arm. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tools/m68k-elf2aout/sys/aout_mids.h

CVS commit: src/tools/m68k-elf2aout/sys

2019-05-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon May 20 18:24:58 UTC 2019 Modified Files: src/tools/m68k-elf2aout/sys: aout_mids.h exec_elf.h Log Message: sync with arm. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tools/m68k-elf2aout/sys/aout_mids.h

CVS commit: src/sys/uvm/pmap

2019-05-20 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon May 20 16:58:49 UTC 2019 Modified Files: src/sys/uvm/pmap: pmap.h Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/uvm/pmap/pmap.h Please note that diffs are not public

CVS commit: src/sys/uvm/pmap

2019-05-20 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon May 20 16:58:49 UTC 2019 Modified Files: src/sys/uvm/pmap: pmap.h Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/uvm/pmap/pmap.h Please note that diffs are not public

CVS commit: src/sys/uvm/pmap

2019-05-20 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon May 20 17:00:58 UTC 2019 Modified Files: src/sys/uvm/pmap: pmap.h Log Message: Usee __BIT() To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/uvm/pmap/pmap.h Please note that diffs are not public domain;

CVS commit: src/sys/uvm/pmap

2019-05-20 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon May 20 17:00:58 UTC 2019 Modified Files: src/sys/uvm/pmap: pmap.h Log Message: Usee __BIT() To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/uvm/pmap/pmap.h Please note that diffs are not public domain;

CVS commit: src/sys/kern

2019-05-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue May 21 00:57:54 UTC 2019 Modified Files: src/sys/kern: subr_prf.c Log Message: Need for kmem_alloc() To generate a diff of this commit: cvs rdiff -u -r1.177 -r1.178 src/sys/kern/subr_prf.c Please note that diffs are not

Re: CVS commit: src/sys

2019-05-20 Thread Robert Elz
Date:Mon, 20 May 2019 16:35:45 -0400 From:"Christos Zoulas" Message-ID: <20190520203545.b41f6f...@cvs.netbsd.org> | Add a simple vasprintf() implementation that uses 2 passes, one to compute | the length and a second to place the data. Requested by rmind@

CVS commit: src/sys/arch/arm/dts

2019-05-20 Thread matthew green
Module Name:src Committed By: mrg Date: Tue May 21 03:42:52 UTC 2019 Modified Files: src/sys/arch/arm/dts: rk3328-rock64.dts Log Message: it's called "snps,dis_u2_susphy_quirk" in both upstream and what our drivers expect, not "snps,dis-u2-susphy-quirk". unfortunately,

CVS commit: src/sys/arch/arm/dts

2019-05-20 Thread matthew green
Module Name:src Committed By: mrg Date: Tue May 21 03:42:52 UTC 2019 Modified Files: src/sys/arch/arm/dts: rk3328-rock64.dts Log Message: it's called "snps,dis_u2_susphy_quirk" in both upstream and what our drivers expect, not "snps,dis-u2-susphy-quirk". unfortunately,

CVS commit: src/share/man/man9

2019-05-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon May 20 20:25:09 UTC 2019 Modified Files: src/share/man/man9: kprintf.9 Log Message: document vasprintf To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/share/man/man9/kprintf.9 Please note that diffs are

CVS commit: src/lib/libcurses

2019-05-20 Thread Brett Lymn
Module Name:src Committed By: blymn Date: Mon May 20 22:17:41 UTC 2019 Modified Files: src/lib/libcurses: add_wch.c add_wchstr.c addbytes.c addch.c addchnstr.c addnstr.c addwstr.c copywin.c cr_put.c curses_private.h delch.c erase.c fileio.h

CVS commit: src/sys/arch/arm/altera

2019-05-20 Thread Aymeric Vincent
Module Name:src Committed By: aymeric Date: Mon May 20 20:14:08 UTC 2019 Modified Files: src/sys/arch/arm/altera: cycv_dwcmmc.c Log Message: use NULL instead of cycv_dwcmmc_card_detect() for sc_card_detect. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/arch/arm/altera

2019-05-20 Thread Aymeric Vincent
Module Name:src Committed By: aymeric Date: Mon May 20 20:14:08 UTC 2019 Modified Files: src/sys/arch/arm/altera: cycv_dwcmmc.c Log Message: use NULL instead of cycv_dwcmmc_card_detect() for sc_card_detect. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/tests/kernel

2019-05-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue May 21 03:46:45 UTC 2019 Modified Files: src/tests/kernel: gen_t_subr_prf Log Message: Make the t_subr_prf test build after changes to sys/kern/subr_prf.c and while here add a simple test for the new kernel vasprintf(). To

CVS commit: src/tests/kernel

2019-05-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue May 21 03:46:45 UTC 2019 Modified Files: src/tests/kernel: gen_t_subr_prf Log Message: Make the t_subr_prf test build after changes to sys/kern/subr_prf.c and while here add a simple test for the new kernel vasprintf(). To

CVS commit: src/sys/kern

2019-05-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue May 21 00:57:54 UTC 2019 Modified Files: src/sys/kern: subr_prf.c Log Message: Need for kmem_alloc() To generate a diff of this commit: cvs rdiff -u -r1.177 -r1.178 src/sys/kern/subr_prf.c Please note that diffs are not

CVS commit: src/sys

2019-05-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon May 20 20:35:45 UTC 2019 Modified Files: src/sys/kern: subr_prf.c src/sys/sys: systm.h Log Message: Add a simple vasprintf() implementation that uses 2 passes, one to compute the length and a second to place the

CVS commit: src/sys

2019-05-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon May 20 20:35:45 UTC 2019 Modified Files: src/sys/kern: subr_prf.c src/sys/sys: systm.h Log Message: Add a simple vasprintf() implementation that uses 2 passes, one to compute the length and a second to place the

CVS commit: src/sys/arch/arm/altera

2019-05-20 Thread Aymeric Vincent
Module Name:src Committed By: aymeric Date: Mon May 20 20:17:25 UTC 2019 Modified Files: src/sys/arch/arm/altera: cycv_platform.c Log Message: make CPU 1 bootstrapping work even if the kernel is not loaded close to PA 0. More precisely, we used "B cpu_mpstart", which

CVS commit: src/sys/arch/arm/altera

2019-05-20 Thread Aymeric Vincent
Module Name:src Committed By: aymeric Date: Mon May 20 20:17:25 UTC 2019 Modified Files: src/sys/arch/arm/altera: cycv_platform.c Log Message: make CPU 1 bootstrapping work even if the kernel is not loaded close to PA 0. More precisely, we used "B cpu_mpstart", which

Re: CVS commit: src/distrib/sets/lists/comp

2019-05-20 Thread Maxime Villard
Can we revert the whole thing now please? RDMSR/WRMSR are privileged instructions, and cannot work in cpuctl. I don't understand how adding RDMWR/WRMSR in cpuctl could have possibly worked on any AMD configuration. There is PR/54220, now. Le 11/05/2019 à 15:32, Christos Zoulas a écrit :

Re: CVS commit: src/distrib/sets/lists/comp

2019-05-20 Thread Christos Zoulas
I was not the one who added it... I reverted my part. christos > On May 20, 2019, at 12:37 AM, Maxime Villard wrote: > > Can we revert the whole thing now please? > > RDMSR/WRMSR are privileged instructions, and cannot work in cpuctl. I > don't understand how adding RDMWR/WRMSR in cpuctl