CVS commit: src/sys/arch/evbarm/fdt
Module Name:src Committed By: skrll Date: Wed Apr 24 06:37:31 UTC 2019 Modified Files: src/sys/arch/evbarm/fdt: fdt_machdep.c Log Message: In fdt_add_boot_physmem make sure the memory range has pages available before adding it to the fdt_physmem array. Fixes a problem that jmcneill@ pointed out to me. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/sys/arch/evbarm/fdt/fdt_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/fdt
Module Name:src Committed By: thorpej Date: Wed Apr 24 06:03:02 UTC 2019 Modified Files: src/sys/dev/fdt: fdt_i2c.c Log Message: Fix leak of iba.iba_child_devices in fdtbus_attach_i2cbus(). Patch provided by yarl-baudig %%at%% mailoo.org To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/fdt/fdt_i2c.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net/agr
Module Name:src Committed By: msaitoh Date: Wed Apr 24 05:31:24 UTC 2019 Modified Files: src/sys/net/agr: if_agrmonitor.c Log Message: KNF. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/net/agr/if_agrmonitor.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: msaitoh Date: Wed Apr 24 05:07:20 UTC 2019 Modified Files: src/sys/net: if_media.h Log Message: No functional change: - IFM_AVALID and IFM_ACTIVE are NOT for the media word. Fix comment. - RFU stands for Reserved for Future Use. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/sys/net/if_media.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.sbin/veriexecgen
Module Name:src Committed By: sevan Date: Tue Apr 23 22:35:42 UTC 2019 Modified Files: src/usr.sbin/veriexecgen: veriexecgen.c Log Message: Omit files not marked executable from the signature database by default. Closes PR kern/41669 Reviewed by To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/usr.sbin/veriexecgen/veriexecgen.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/gcc/lib/libstdc++-v3/arch/powerpc64
Module Name:src Committed By: mrg Date: Tue Apr 23 22:22:22 UTC 2019 Added Files: src/external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64: symver-config.h Log Message: add missing symver-config.h To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 \ src/external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/symver-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/gpl3/gcc
Module Name:src Committed By: christos Date: Tue Apr 23 20:55:53 UTC 2019 Modified Files: src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11: compatibility-atomic-c++0x.cc compatibility-thread-c++0x.cc src/external/gpl3/gcc/dist/libstdc++-v3/src/c++98: compatibility.cc istream.cc src/external/gpl3/gcc/lib/libstdc++-v3: Makefile Log Message: Add an ifdef _GLIBCXX_COMPAT_ that removes the versioned symbol nodes from libstdc++ and enable it for now only for the random archives but not for the shared object (although it does not break anything that I've tested to enable it for the shared object too). Fixes static linking, which does not handle multiple versioned symbols properly. To generate a diff of this commit: cvs rdiff -u -r1.1.1.4 -r1.2 \ src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/compatibility-atomic-c++0x.cc \ src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/compatibility-thread-c++0x.cc cvs rdiff -u -r1.3 -r1.4 \ src/external/gpl3/gcc/dist/libstdc++-v3/src/c++98/compatibility.cc cvs rdiff -u -r1.1.1.4 -r1.2 \ src/external/gpl3/gcc/dist/libstdc++-v3/src/c++98/istream.cc cvs rdiff -u -r1.46 -r1.47 src/external/gpl3/gcc/lib/libstdc++-v3/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/doc
Module Name:src Committed By: martin Date: Tue Apr 23 18:27:39 UTC 2019 Modified Files: src/doc [netbsd-8]: CHANGES-8.1 Log Message: Tickets #1245 and #1246 To generate a diff of this commit: cvs rdiff -u -r1.1.2.134 -r1.1.2.135 src/doc/CHANGES-8.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/arch/arm/arm32
Module Name:src Committed By: martin Date: Tue Apr 23 18:26:22 UTC 2019 Modified Files: src/sys/arch/arm/arm32 [netbsd-8]: pmap.c Log Message: Pull up following revision(s) (requested by bouyer in ticket #1246): sys/arch/arm/arm32/pmap.c: revision 1.373 (via patch) Fix a deadlock between the pool and pmap codes: - cpu0 grabs the kernel lock (e.g. from a non-MPSAFE interrupt) and calls pool_get(). - cpu1 does a pool_get() on the same pool from MPSAFE code, which needs a pool_page_alloc(), which ends up in pmap_extract_coherency(). So cpu0 holds the kernel_lock and wants the pool lock. cpu1 holds the pool lock and wants the kernel_lock in pmap_extract_coherency(). The pmap code should not rely on kernel_lock. Intead make the pmap_kernel()->pm_obj_lock a IPL_VM lock and use it as pmap lock (thus dropping the pmap test pmap_{acquire,release}_pmap_lock()). This needs to be a IPL_VM because unlike user pmaps, this can be locked from interrupt context. Add a IPL_NONE lock for pmap_growkernel(). We can't use pmap_kernel()->pm_obj_lock here because pmap_grow_map() may sleep. Make pmap_lock (which may be locked with pm_obj_lock held) a IPL_VM lock in all case. reorder a few things to not call pool_get()/pool_put() (which may sleep) with pm_obj_lock held. Patch initially posted to port-arm@ on April 19, improved patch (per suggestions from Nick Hudson and Jason Thorpe) on April 21. To generate a diff of this commit: cvs rdiff -u -r1.349.2.2 -r1.349.2.3 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: [netbsd-8] src/sys/arch/arm/arm32
Module Name:src Committed By: martin Date: Tue Apr 23 18:22:37 UTC 2019 Modified Files: src/sys/arch/arm/arm32 [netbsd-8]: pmap.c Log Message: Pull up following revision(s) (requested by bouyer in ticket #1245): sys/arch/arm/arm32/pmap.c: revision 1.372 Don't try to aquire/release the pmap lock when in ddb. Avoids a deadlock when entering ddb, or on "mach cpu n" ddb command (the pmap lock may already be held by another CPU, which is halted when entering ddb). Posted to port-arm@ on April 19. To generate a diff of this commit: cvs rdiff -u -r1.349.2.1 -r1.349.2.2 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/usr.bin/uniq
Module Name:src Committed By: christos Date: Tue Apr 23 17:35:11 UTC 2019 Modified Files: src/usr.bin/uniq: uniq.c Log Message: remove unused label To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/usr.bin/uniq/uniq.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
Module Name:src Committed By: skrll Date: Tue Apr 23 16:14:32 UTC 2019 Modified Files: src/sys/arch/arm/arm32: arm32_kvminit.c Log Message: Revert the part of the previous Whitespace commit which clearly was functional. This will probably come back with other changes and a proper commit message. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/sys/arch/arm/arm32/arm32_kvminit.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/uniq
Module Name:src Committed By: uwe Date: Tue Apr 23 14:40:12 UTC 2019 Modified Files: src/usr.bin/uniq: uniq.c Log Message: Don't pass '-' to getopt(3). My guess is that *very* old getopt didn't handle "--" terminator, so this code was working around it and not quite correctly at that. Fixes weird output from $ uniq --long-option uniq: uniq: No such file or directory (for more fun, run that command from /usr/bin as root). Pointed out by Andreas Krey. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/usr.bin/uniq/uniq.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [isaki-audio2] src/sys/arch/arm/xscale
Module Name:src Committed By: isaki Date: Tue Apr 23 13:38:48 UTC 2019 Modified Files: src/sys/arch/arm/xscale [isaki-audio2]: pxa2x0_ac97.c Log Message: Adapt to audio2. - XXX Need an accurate list of supported frequencies. To generate a diff of this commit: cvs rdiff -u -r1.15.2.1 -r1.15.2.2 src/sys/arch/arm/xscale/pxa2x0_ac97.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/conf
Module Name:src Committed By: christos Date: Tue Apr 23 13:36:42 UTC 2019 Modified Files: src/sys/conf: dts.mk Log Message: Add -h to the link command so that we replace the target file each time; this should fix: *** Failed target: .BEGIN *** Failed command: ln -sf /usr/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts dts/arm *** Error code 1 (ignored) ln: dts/arm/dts: Permission denied To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/conf/dts.mk 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
Module Name:src Committed By: bouyer Date: Tue Apr 23 11:21:21 UTC 2019 Modified Files: src/sys/arch/arm/arm32: pmap.c Log Message: Fix a deadlock between the pool and pmap codes: - cpu0 grabs the kernel lock (e.g. from a non-MPSAFE interrupt) and calls pool_get(). - cpu1 does a pool_get() on the same pool from MPSAFE code, which needs a pool_page_alloc(), which ends up in pmap_extract_coherency(). So cpu0 holds the kernel_lock and wants the pool lock. cpu1 holds the pool lock and wants the kernel_lock in pmap_extract_coherency(). The pmap code should not rely on kernel_lock. Intead make the pmap_kernel()->pm_obj_lock a IPL_VM lock and use it as pmap lock (thus dropping the pmap test pmap_{acquire,release}_pmap_lock()). This needs to be a IPL_VM because unlike user pmaps, this can be locked from interrupt context. Add a IPL_NONE lock for pmap_growkernel(). We can't use pmap_kernel()->pm_obj_lock here because pmap_grow_map() may sleep. Make pmap_lock (which may be locked with pm_obj_lock held) a IPL_VM lock in all case. reorder a few things to not call pool_get()/pool_put() (which may sleep) with pm_obj_lock held. Patch initially posted to port-arm@ on April 19, improved patch (per suggestions from Nick Hudson and Jason Thorpe) on April 21. To generate a diff of this commit: cvs rdiff -u -r1.372 -r1.373 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
Module Name:src Committed By: bouyer Date: Tue Apr 23 11:05:15 UTC 2019 Modified Files: src/sys/arch/arm/arm32: pmap.c Log Message: Don't try to aquire/release the pmap lock when in ddb. Avoids a deadlock when entering ddb, or on "mach cpu n" ddb command (the pmap lock may already be held by another CPU, which is halted when entering ddb). Posted to port-arm@ on April 19. To generate a diff of this commit: cvs rdiff -u -r1.371 -r1.372 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: [netbsd-8] src/doc
Module Name:src Committed By: martin Date: Tue Apr 23 10:40:16 UTC 2019 Modified Files: src/doc [netbsd-8]: CHANGES-8.1 Log Message: Tickets #1242 - #1244 To generate a diff of this commit: cvs rdiff -u -r1.1.2.133 -r1.1.2.134 src/doc/CHANGES-8.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/etc/mtree
Module Name:src Committed By: martin Date: Tue Apr 23 10:38:49 UTC 2019 Modified Files: src/etc/mtree [netbsd-8]: Makefile NetBSD.dist.base Added Files: src/etc/mtree [netbsd-8]: NetBSD.dist.iscsi Log Message: Pull up following revision(s) via patch (requested by mrg in ticket #1244): etc/mtree/NetBSD.dist.base: revision 1.190 etc/mtree/NetBSD.dist.base: revision 1.191 etc/mtree/NetBSD.dist.base: revision 1.192 etc/mtree/NetBSD.dist.base: revision 1.193 etc/mtree/NetBSD.dist.iscsi: revision 1.1 etc/mtree/NetBSD.dist.base: revision 1.186 etc/mtree/NetBSD.dist.base: revision 1.187 etc/mtree/NetBSD.dist.base: revision 1.188 etc/mtree/NetBSD.dist.base: revision 1.189 etc/mtree/Makefile: revision 1.38 - add new entries of gcc=7 and libgomp, libasan, liblsan, libstdc++, libubsan - add missing header files fpr gcc=7 - add some missing gcc=5 obsolete entries - create ./usr/include/dev/bluetooth in mtree not make, and move it into the base set where all other directories are. create include/dev/dm here instead of elsewhere, where it may fail add missing ./usr/include/dev/hdaudio (base). (perhaps we should stop 'make includes' from creating the target directory for normal builds as this leads to mtree inconsistencies.) add missing ./usr/include/dev/hdmicec add missing ./usr/include/dev/iscsi. add two more missing subdirs: ./usr/include/dev/pud ./usr/include/dev/putter add final missing directory from /usr/include: ./usr/include/netmpls move ./usr/include/dev/iscsi into NetBSD.dist.iscsi that is only included if MKISCSI != no. To generate a diff of this commit: cvs rdiff -u -r1.36.6.1 -r1.36.6.2 src/etc/mtree/Makefile cvs rdiff -u -r1.160.2.3 -r1.160.2.4 src/etc/mtree/NetBSD.dist.base cvs rdiff -u -r0 -r1.1.2.2 src/etc/mtree/NetBSD.dist.iscsi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/external/mit/xorg/server/xorg-server/hw/xfree86/doc
Module Name:src Committed By: martin Date: Tue Apr 23 10:28:29 UTC 2019 Modified Files: src/external/mit/xorg/server/xorg-server/hw/xfree86/doc [netbsd-8]: Makefile Log Message: Pull up following revision(s) via patch (requested by mrg in ticket #1243): external/mit/xorg/bin/xinit/Makefile: revision 1.7 external/mit/xorg/lib/libXaw/Makefile: revision 1.12 external/mit/xorg/lib/xkeyboard-config/Makefile: revision 1.13 external/mit/xorg/server/xorg-server.old/hw/xfree86/doc/Makefile: revision 1.2 share/mk/bsd.x11.mk: revision 1.130 external/mit/xorg/bin/sessreg/Makefile: revision 1.7 external/mit/xorg/bin/proxymngr/Makefile: revision 1.4 fix a bunch of man page transforms. XXX X11MANCPP=yes has only one use left, maybe it can go away! To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.7.6.1 \ src/external/mit/xorg/server/xorg-server/hw/xfree86/doc/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src
Module Name:src Committed By: martin Date: Tue Apr 23 10:24:54 UTC 2019 Modified Files: src/external/mit/xorg/bin/proxymngr [netbsd-8]: Makefile src/external/mit/xorg/bin/sessreg [netbsd-8]: Makefile src/external/mit/xorg/bin/xinit [netbsd-8]: Makefile src/external/mit/xorg/lib/libXaw [netbsd-8]: Makefile src/external/mit/xorg/lib/xkeyboard-config [netbsd-8]: Makefile src/external/mit/xorg/server/xorg-server.old/hw/xfree86/doc [netbsd-8]: Makefile src/share/mk [netbsd-8]: bsd.x11.mk Log Message: Pull up following revision(s) via patch (requested by mrg in ticket #1243): external/mit/xorg/bin/xinit/Makefile: revision 1.7 external/mit/xorg/lib/libXaw/Makefile: revision 1.12 external/mit/xorg/lib/xkeyboard-config/Makefile: revision 1.13 external/mit/xorg/server/xorg-server.old/hw/xfree86/doc/Makefile: revision 1.2 share/mk/bsd.x11.mk: revision 1.130 external/mit/xorg/bin/sessreg/Makefile: revision 1.7 external/mit/xorg/bin/proxymngr/Makefile: revision 1.4 fix a bunch of man page transforms. XXX X11MANCPP=yes has only one use left, maybe it can go away! To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.2.54.1 src/external/mit/xorg/bin/proxymngr/Makefile cvs rdiff -u -r1.6 -r1.6.8.1 src/external/mit/xorg/bin/sessreg/Makefile cvs rdiff -u -r1.6 -r1.6.34.1 src/external/mit/xorg/bin/xinit/Makefile cvs rdiff -u -r1.11 -r1.11.8.1 src/external/mit/xorg/lib/libXaw/Makefile cvs rdiff -u -r1.12 -r1.12.6.1 \ src/external/mit/xorg/lib/xkeyboard-config/Makefile cvs rdiff -u -r1.1.1.1 -r1.1.1.1.8.1 \ src/external/mit/xorg/server/xorg-server.old/hw/xfree86/doc/Makefile cvs rdiff -u -r1.124 -r1.124.6.1 src/share/mk/bsd.x11.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/external/bsd
Module Name:src Committed By: martin Date: Tue Apr 23 10:16:52 UTC 2019 Modified Files: src/sys/external/bsd/common/include/linux [netbsd-8]: err.h errno.h src/sys/external/bsd/drm2/dist/drm/nouveau [netbsd-8]: nouveau_drm.c nouveau_fence.c src/sys/external/bsd/drm2/drm [netbsd-8]: drm_drv.c src/sys/external/bsd/drm2/include/drm [netbsd-8]: drm_wait_netbsd.h src/sys/external/bsd/drm2/linux [netbsd-8]: linux_ww_mutex.c Log Message: Pull up following revision(s) via patch (requested by mrg in ticket #1242): sys/external/bsd/common/include/linux/err.h: revision 1.3 sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h: revision 1.15 sys/external/bsd/common/include/linux/errno.h: revision 1.4 sys/external/bsd/drm2/dist/drm/nouveau/nouveau_drm.c: revision 1.17 sys/external/bsd/drm2/linux/linux_ww_mutex.c: revision 1.6 sys/external/bsd/drm2/dist/drm/nouveau/nouveau_fence.c: revision 1.14 fix various problems i've seen where cv_*wait*() return ERESTART, which is -3 in netbsd, which we have mapped linux ERESTARTSYS to. this has a problem because linux code often returns errors and pointers in the same value, and pointer values between -4095 and - -1 are considered as error returns, but -3 ends up as 3 and thus is not considered an error, and mayhem ensues. with this in place my kabylake system seems actually stable, i have not triggered any of my prior issues in almost 4 weeks now. Taylor asked me to write up a description and then wrote most of the text below for me :-) In Linux code, we always work with ERESTARTSYS so the code meaning start over is a positive NetBSD errno safe for PTR_ERR/ERR_PTR. To achieve this: 1. adapt all cv_waits that return to Linux so they map ERESTART to ERESTARTSYS, and 2. adapt all returns to userland so they convert ERESTARTSYS to ERESTART. Leave EINTR and all other error codes alone. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.1.16.1 src/sys/external/bsd/common/include/linux/err.h cvs rdiff -u -r1.3 -r1.3.24.1 \ src/sys/external/bsd/common/include/linux/errno.h cvs rdiff -u -r1.8 -r1.8.10.1 \ src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_drm.c cvs rdiff -u -r1.4.10.1 -r1.4.10.2 \ src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_fence.c cvs rdiff -u -r1.17.10.1 -r1.17.10.2 src/sys/external/bsd/drm2/drm/drm_drv.c cvs rdiff -u -r1.14 -r1.14.10.1 \ src/sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h cvs rdiff -u -r1.2.10.2 -r1.2.10.3 \ src/sys/external/bsd/drm2/linux/linux_ww_mutex.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/compat
Module Name:src Committed By: msaitoh Date: Tue Apr 23 07:45:07 UTC 2019 Modified Files: src/sys/compat/common: uipc_syscalls_40.c src/sys/compat/netbsd32: netbsd32_ioctl.c src/sys/compat/sunos: sunos_ioctl.c src/sys/compat/sunos32: sunos32_ioctl.c src/sys/compat/ultrix: ultrix_ioctl.c Log Message: KNF. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/compat/common/uipc_syscalls_40.c cvs rdiff -u -r1.101 -r1.102 src/sys/compat/netbsd32/netbsd32_ioctl.c cvs rdiff -u -r1.68 -r1.69 src/sys/compat/sunos/sunos_ioctl.c cvs rdiff -u -r1.34 -r1.35 src/sys/compat/sunos32/sunos32_ioctl.c cvs rdiff -u -r1.37 -r1.38 src/sys/compat/ultrix/ultrix_ioctl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: msaitoh Date: Tue Apr 23 07:29:04 UTC 2019 Modified Files: src/sys/net: if_media.c Log Message: KNF. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sys/net/if_media.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.