CVS commit: src/sys/arch/macppc/dev
Module Name:src Committed By: macallan Date: Thu Mar 29 06:56:54 UTC 2018 Modified Files: src/sys/arch/macppc/dev: snapper.c Log Message: deal with PowerMac7,* mac-io/i2s/sound reg properties now we map the right registers on G5 and get DMA interrupts. Still no sound but - well - progress To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/arch/macppc/dev/snapper.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/macppc/dev
Module Name:src Committed By: macallan Date: Thu Mar 29 06:28:12 UTC 2018 Modified Files: src/sys/arch/macppc/dev: obio.c Log Message: don't map more PCI space than needed, avoid overlap with snapper so this has a chance of working on G5 To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/arch/macppc/dev/obio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/sets/lists/xetc
Module Name:src Committed By: snj Date: Thu Mar 29 04:43:55 UTC 2018 Modified Files: src/distrib/sets/lists/xetc: md.x68k mi Log Message: remove lingering x11 (xfree86) entries. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/distrib/sets/lists/xetc/md.x68k cvs rdiff -u -r1.29 -r1.30 src/distrib/sets/lists/xetc/mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: xsrc/external/mit/rstart/dist
Module Name:xsrc Committed By: snj Date: Thu Mar 29 04:25:43 UTC 2018 Removed Files: xsrc/external/mit/rstart/dist: COPYING ChangeLog INSTALL Makefile.am Makefile.in README aclocal.m4 auth.c config.guess config.h.in config.sub configure configure.ac depcomp install-sh missing server.c server.h server.os2 xsrc/external/mit/rstart/dist/commands: @List ListContexts ListGenericCommands Makefile.am Makefile.in xsrc/external/mit/rstart/dist/commands/x11r6: @List LoadMonitor Terminal xsrc/external/mit/rstart/dist/contexts: @Aliases @List Makefile.am Makefile.in default x11r6.in xsrc/external/mit/rstart/dist/man: Makefile.am Makefile.in rstart.man rstartd.man xsrc/external/mit/rstart/dist/samples: Makefile.am Makefile.in xsrc/external/mit/rstart/dist/samples/commands: @List ListContexts ListGenericCommands xsrc/external/mit/rstart/dist/samples/commands/odt1: @List LoadMonitor Terminal xsrc/external/mit/rstart/dist/samples/commands/openwindows2: @List LoadMonitor Terminal xsrc/external/mit/rstart/dist/samples/commands/openwindows3: @List LoadMonitor Terminal xsrc/external/mit/rstart/dist/samples/commands/x11r5: @List LoadMonitor Terminal xsrc/external/mit/rstart/dist/samples/contexts.odt1: @Aliases @List default odt1 openwindows2 openwindows3 x11r5 x11r6 xsrc/external/mit/rstart/dist/scripts: Makefile.am Makefile.in config.in rstart.in rstartd.in xsrc/external/mit/rstart/dist/specs: Makefile.am Makefile.in fix.awk fix.nawk fix.sed rstart.ms rstartd.txt tmac.rfc Log Message: remove rstart, which hasn't been used since the xfree86 days. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r0 xsrc/external/mit/rstart/dist/COPYING \ xsrc/external/mit/rstart/dist/ChangeLog \ xsrc/external/mit/rstart/dist/INSTALL \ xsrc/external/mit/rstart/dist/Makefile.am \ xsrc/external/mit/rstart/dist/Makefile.in \ xsrc/external/mit/rstart/dist/README \ xsrc/external/mit/rstart/dist/aclocal.m4 \ xsrc/external/mit/rstart/dist/auth.c \ xsrc/external/mit/rstart/dist/config.guess \ xsrc/external/mit/rstart/dist/config.h.in \ xsrc/external/mit/rstart/dist/config.sub \ xsrc/external/mit/rstart/dist/configure \ xsrc/external/mit/rstart/dist/configure.ac \ xsrc/external/mit/rstart/dist/depcomp \ xsrc/external/mit/rstart/dist/install-sh \ xsrc/external/mit/rstart/dist/missing \ xsrc/external/mit/rstart/dist/server.c \ xsrc/external/mit/rstart/dist/server.h \ xsrc/external/mit/rstart/dist/server.os2 cvs rdiff -u -r1.1.1.1 -r0 xsrc/external/mit/rstart/dist/commands/@List \ xsrc/external/mit/rstart/dist/commands/ListContexts \ xsrc/external/mit/rstart/dist/commands/ListGenericCommands \ xsrc/external/mit/rstart/dist/commands/Makefile.am \ xsrc/external/mit/rstart/dist/commands/Makefile.in cvs rdiff -u -r1.1.1.1 -r0 xsrc/external/mit/rstart/dist/commands/x11r6/@List \ xsrc/external/mit/rstart/dist/commands/x11r6/LoadMonitor \ xsrc/external/mit/rstart/dist/commands/x11r6/Terminal cvs rdiff -u -r1.1.1.1 -r0 xsrc/external/mit/rstart/dist/contexts/@Aliases \ xsrc/external/mit/rstart/dist/contexts/@List \ xsrc/external/mit/rstart/dist/contexts/Makefile.am \ xsrc/external/mit/rstart/dist/contexts/Makefile.in \ xsrc/external/mit/rstart/dist/contexts/default \ xsrc/external/mit/rstart/dist/contexts/x11r6.in cvs rdiff -u -r1.1.1.1 -r0 xsrc/external/mit/rstart/dist/man/Makefile.am \ xsrc/external/mit/rstart/dist/man/Makefile.in \ xsrc/external/mit/rstart/dist/man/rstart.man \ xsrc/external/mit/rstart/dist/man/rstartd.man cvs rdiff -u -r1.1.1.1 -r0 xsrc/external/mit/rstart/dist/samples/Makefile.am \ xsrc/external/mit/rstart/dist/samples/Makefile.in cvs rdiff -u -r1.1.1.1 -r0 \ xsrc/external/mit/rstart/dist/samples/commands/@List \ xsrc/external/mit/rstart/dist/samples/commands/ListContexts \ xsrc/external/mit/rstart/dist/samples/commands/ListGenericCommands cvs rdiff -u -r1.1.1.1 -r0 \ xsrc/external/mit/rstart/dist/samples/commands/odt1/@List \ xsrc/external/mit/rstart/dist/samples/commands/odt1/LoadMonitor \ xsrc/external/mit/rstart/dist/samples/commands/odt1/Terminal cvs rdiff -u -r1.1.1.1 -r0 \ xsrc/external/mit/rstart/dist/samples/commands/openwindows2/@List \ xsrc/external/mit/rstart/dist/samples/commands/openwindows2/LoadMonitor \ xsrc/external/mit/rstart/dist/samples/commands/openwindows2/Terminal cvs rdiff -u -r1.1.1.1 -r0 \ xsrc/external/mit/rstart/dist/samples/commands/openwindows3/@List \ xsrc/external/mit/rstart/dist/samples/commands/openwindows3/LoadMonitor \ xsrc/external/mit/rstart/dist/samples/commands/openwindows3/Terminal cvs rdiff -u -r1.1.1.1 -r0 \
CVS commit: src
Module Name:src Committed By: snj Date: Thu Mar 29 04:19:55 UTC 2018 Modified Files: src/distrib/sets/lists/base: mi src/etc/mtree: NetBSD.dist.base Removed Files: src/external/mit/xorg/bin/rstart: Makefile Makefile.rstart src/external/mit/xorg/bin/rstart/commands: Makefile src/external/mit/xorg/bin/rstart/commands/x11r6: Makefile src/external/mit/xorg/bin/rstart/contexts: Makefile Log Message: remove rstart, which hasn't been used since the xfree86 days. To generate a diff of this commit: cvs rdiff -u -r1.1172 -r1.1173 src/distrib/sets/lists/base/mi cvs rdiff -u -r1.169 -r1.170 src/etc/mtree/NetBSD.dist.base cvs rdiff -u -r1.1 -r0 src/external/mit/xorg/bin/rstart/Makefile \ src/external/mit/xorg/bin/rstart/Makefile.rstart cvs rdiff -u -r1.1 -r0 src/external/mit/xorg/bin/rstart/commands/Makefile cvs rdiff -u -r1.1 -r0 \ src/external/mit/xorg/bin/rstart/commands/x11r6/Makefile cvs rdiff -u -r1.1 -r0 src/external/mit/xorg/bin/rstart/contexts/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/amd64/uefi-installimage
Module Name:src Committed By: joerg Date: Wed Mar 28 22:38:48 UTC 2018 Modified Files: src/distrib/amd64/uefi-installimage: Makefile Log Message: Bump image to 1550MB to unbreak the LLVM build. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/distrib/amd64/uefi-installimage/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [pgoyette-compat] src/sys/arch/x86/x86
Module Name:src Committed By: pgoyette Date: Wed Mar 28 22:10:16 UTC 2018 Modified Files: src/sys/arch/x86/x86 [pgoyette-compat]: cpu_ucode.c Log Message: Track changes from HEAD To generate a diff of this commit: cvs rdiff -u -r1.5.16.5 -r1.5.16.6 src/sys/arch/x86/x86/cpu_ucode.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/amd64/amd64
Module Name:src Committed By: maxv Date: Wed Mar 28 19:56:40 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message: The call to svs_lwp_switch can clobber %rdi/%rsi, so restore them before calling speculation_barrier. To generate a diff of this commit: cvs rdiff -u -r1.160 -r1.161 src/sys/arch/amd64/amd64/locore.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/x86/x86
Module Name:src Committed By: maxv Date: Wed Mar 28 19:50:57 UTC 2018 Modified Files: src/sys/arch/x86/x86: spectre.c Log Message: oldlwp can be NULL, so ensure it isn't. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x86/x86/spectre.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/x86/x86
Module Name:src Committed By: maxv Date: Wed Mar 28 19:47:54 UTC 2018 Modified Files: src/sys/arch/x86/x86: cpu_ucode.c Log Message: Add 'break', otherwise we're not gonna go very far. While here use a less error-prone syntax. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/x86/x86/cpu_ucode.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tools/gcc
Module Name:src Committed By: mrg Date: Wed Mar 28 19:30:41 UTC 2018 Modified Files: src/tools/gcc: gcc-version.mk Log Message: bump the NetBSD GCC version. both GCC 5 and 6 got x86 spectre mitigation code, and both are now "nb2 20180327". To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/tools/gcc/gcc-version.mk 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.old/dist/gcc
Module Name:src Committed By: mrg Date: Wed Mar 28 19:24:52 UTC 2018 Modified Files: src/external/gpl3/gcc.old/dist/gcc/config/i386: constraints.md i386-opts.h i386-protos.h i386.c i386.h i386.md i386.opt predicates.md src/external/gpl3/gcc.old/dist/gcc/doc: extend.texi invoke.texi Log Message: add the spectre mitigation options for x86: -mindirect-branch= -mfunction-return= -mindirect-branch-register the values for 'choice' are "keep" (default, existing behaviour), "thunk", "thunk-inline", and "thunk-extern". as taken from the Ubuntu port of these changes in their ubuntu:gcc-5_5.5.0-8ubuntu1.diff. i've also included the doc updates that are missing from ubuntu from gcc itself. i've tested both i386 and amd64 fairly heavily with these options enabled in both kernels and userland, atf runs and hundreds of package builds. XXX: pullup-8 to gcc/ not gcc.old/ To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 \ src/external/gpl3/gcc.old/dist/gcc/config/i386/constraints.md \ src/external/gpl3/gcc.old/dist/gcc/config/i386/i386-protos.h \ src/external/gpl3/gcc.old/dist/gcc/config/i386/predicates.md cvs rdiff -u -r1.3 -r1.4 \ src/external/gpl3/gcc.old/dist/gcc/config/i386/i386-opts.h cvs rdiff -u -r1.9 -r1.10 \ src/external/gpl3/gcc.old/dist/gcc/config/i386/i386.c cvs rdiff -u -r1.6 -r1.7 \ src/external/gpl3/gcc.old/dist/gcc/config/i386/i386.h \ src/external/gpl3/gcc.old/dist/gcc/config/i386/i386.md \ src/external/gpl3/gcc.old/dist/gcc/config/i386/i386.opt cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc.old/dist/gcc/doc/extend.texi \ src/external/gpl3/gcc.old/dist/gcc/doc/invoke.texi 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/dist/gcc
Module Name:src Committed By: mrg Date: Wed Mar 28 19:22:32 UTC 2018 Modified Files: src/external/gpl3/gcc/dist/gcc/config/i386: constraints.md i386-opts.h i386-protos.h i386.c i386.h i386.md i386.opt predicates.md src/external/gpl3/gcc/dist/gcc/doc: extend.texi invoke.texi Log Message: add the spectre mitigation options for x86: -mindirect-branch= -mfunction-return= -mindirect-branch-register the values for 'choice' are "keep" (default, existing behaviour), "thunk", "thunk-inline", and "thunk-extern". as taken from the Debian port of these changes in their debian:gcc-6_6.3.0-18+deb9u1.diff. i've also included the doc updates that are missing from debian from gcc itself. i've tested both i386 and amd64 fairly heavily with these options enabled in both kernels and userland, atf runs and hundreds of package builds. To generate a diff of this commit: cvs rdiff -u -r1.1.1.6 -r1.2 \ src/external/gpl3/gcc/dist/gcc/config/i386/constraints.md cvs rdiff -u -r1.1.1.3 -r1.2 \ src/external/gpl3/gcc/dist/gcc/config/i386/i386-opts.h cvs rdiff -u -r1.1.1.5 -r1.2 \ src/external/gpl3/gcc/dist/gcc/config/i386/i386-protos.h \ src/external/gpl3/gcc/dist/gcc/config/i386/i386.opt \ src/external/gpl3/gcc/dist/gcc/config/i386/predicates.md cvs rdiff -u -r1.16 -r1.17 src/external/gpl3/gcc/dist/gcc/config/i386/i386.c cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/dist/gcc/config/i386/i386.h cvs rdiff -u -r1.1.1.10 -r1.2 \ src/external/gpl3/gcc/dist/gcc/config/i386/i386.md cvs rdiff -u -r1.1.1.9 -r1.2 src/external/gpl3/gcc/dist/gcc/doc/extend.texi cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/dist/gcc/doc/invoke.texi 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
Module Name:src Committed By: maya Date: Wed Mar 28 17:56:52 UTC 2018 Modified Files: src/sys/arch/mips/mips: locore.S Log Message: Leave TS and RE alone for the benefit of emips, which failed to boot even earlier after locore.S:1.211. Do this unconditionally to avoid introducing more ifdefs. Also tested on ci20 and erlite. To generate a diff of this commit: cvs rdiff -u -r1.217 -r1.218 src/sys/arch/mips/mips/locore.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
Module Name:src Committed By: maxv Date: Wed Mar 28 16:02:49 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: amd64_trap.S locore.S src/sys/arch/amd64/include: frameasm.h src/sys/arch/x86/x86: spectre.c Log Message: Add the IBRS mitigation for SpectreV2 on amd64. Different operations are performed during context transitions: user->kernel: IBRS <- 1 kernel->user: IBRS <- 0 And during context switches: user->user: IBPB <- 0 kernel->user: IBPB <- 0 [user->kernel:IBPB <- 0 this one may not be needed] We use two macros, IBRS_ENTER and IBRS_LEAVE, to set the IBRS bit. The thing is hotpatched for better performance, like SVS. The idea is that IBRS is a "privileged" bit, which is set to 1 in kernel mode and 0 in user mode. To protect the branch predictor between user processes (which are of the same privilege), we use the IBPB barrier. The Intel manual also talks about (MWAIT/HLT)+HyperThreading, and says that when using either of the two instructions IBRS must be disabled for better performance on the core. I'm not totally sure about this part, so I'm not adding it now. IBRS is available only when the Intel microcode update is applied. The mitigation must be enabled manually with machdep.spectreV2.mitigated. Tested by msaitoh a week ago (but I adapted a few things since). Probably more changes to come. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/arch/amd64/amd64/amd64_trap.S cvs rdiff -u -r1.159 -r1.160 src/sys/arch/amd64/amd64/locore.S cvs rdiff -u -r1.37 -r1.38 src/sys/arch/amd64/include/frameasm.h cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x86/x86/spectre.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/macppc/dev
Module Name:src Committed By: macallan Date: Wed Mar 28 15:34:29 UTC 2018 Modified Files: src/sys/arch/macppc/dev: pmu.c Log Message: be less spammy on i2c errors To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/sys/arch/macppc/dev/pmu.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/sbus
Module Name:src Committed By: macallan Date: Wed Mar 28 15:33:44 UTC 2018 Modified Files: src/sys/dev/sbus: mgx.c Log Message: set WSSCREEN_RESIZE To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/dev/sbus/mgx.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/x86
Module Name:src Committed By: maxv Date: Wed Mar 28 14:56:59 UTC 2018 Modified Files: src/sys/arch/x86/conf: files.x86 src/sys/arch/x86/x86: cpu.c Added Files: src/sys/arch/x86/x86: spectre.c Log Message: Move the SpectreV2 mitigation code into a dedicated spectre.c file. The content of the file is taken from the end of cpu.c, and is copied as-is. To generate a diff of this commit: cvs rdiff -u -r1.98 -r1.99 src/sys/arch/x86/conf/files.x86 cvs rdiff -u -r1.152 -r1.153 src/sys/arch/x86/x86/cpu.c cvs rdiff -u -r0 -r1.1 src/sys/arch/x86/x86/spectre.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netinet
Module Name:src Committed By: maxv Date: Wed Mar 28 14:43:55 UTC 2018 Modified Files: src/sys/netinet: tcp_input.c Log Message: Several changes in syn_cache_respond: * Replace idiotic diagnostic check by KASSERT. max_linkhdr+tlen<=MCLBYTES is a widespread assumption. * Improve initialization of 'tp'. * Put panics in dead branches. * Merge two switches. To generate a diff of this commit: cvs rdiff -u -r1.392 -r1.393 src/sys/netinet/tcp_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netinet
Module Name:src Committed By: maxv Date: Wed Mar 28 14:30:42 UTC 2018 Modified Files: src/sys/netinet: tcp_input.c Log Message: Remove unused variable. To generate a diff of this commit: cvs rdiff -u -r1.391 -r1.392 src/sys/netinet/tcp_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netinet
Module Name:src Committed By: maxv Date: Wed Mar 28 14:22:16 UTC 2018 Modified Files: src/sys/netinet: tcp_input.c tcp_var.h Log Message: Remove two unused args from syn_cache_get(). To generate a diff of this commit: cvs rdiff -u -r1.390 -r1.391 src/sys/netinet/tcp_input.c cvs rdiff -u -r1.184 -r1.185 src/sys/netinet/tcp_var.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netinet
Module Name:src Committed By: maxv Date: Wed Mar 28 14:16:59 UTC 2018 Modified Files: src/sys/netinet: tcp_input.c Log Message: Dedup: introduce tcp_urp_drop() and use it. To generate a diff of this commit: cvs rdiff -u -r1.389 -r1.390 src/sys/netinet/tcp_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netinet
Module Name:src Committed By: maxv Date: Wed Mar 28 13:50:14 UTC 2018 Modified Files: src/sys/netinet: tcp_input.c Log Message: Minor changes: style, improve comments (and put them at the correct place), use NULL for pointers, and add {}s to prevent confusion. To generate a diff of this commit: cvs rdiff -u -r1.388 -r1.389 src/sys/netinet/tcp_input.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [pgoyette-compat] src/sys
Module Name:src Committed By: pgoyette Date: Wed Mar 28 07:51:09 UTC 2018 Modified Files: src/sys/compat/common [pgoyette-compat]: Makefile.sysio compat_30_mod.c compat_mod.h files.common src/sys/dev [pgoyette-compat]: vnd.c src/sys/kern [pgoyette-compat]: compat_stub.c src/sys/modules/compat_30 [pgoyette-compat]: Makefile src/sys/sys [pgoyette-compat]: compat_stub.h Added Files: src/sys/compat/common [pgoyette-compat]: vnd_30.c Log Message: Split vnd compat_30 code out of the main driver and into the compat_30 module To generate a diff of this commit: cvs rdiff -u -r1.7.18.17 -r1.7.18.18 src/sys/compat/common/Makefile.sysio cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/compat/common/compat_30_mod.c cvs rdiff -u -r1.1.42.10 -r1.1.42.11 src/sys/compat/common/compat_mod.h cvs rdiff -u -r1.1.2.20 -r1.1.2.21 src/sys/compat/common/files.common cvs rdiff -u -r0 -r1.1.2.1 src/sys/compat/common/vnd_30.c cvs rdiff -u -r1.263 -r1.263.2.1 src/sys/dev/vnd.c cvs rdiff -u -r1.1.2.9 -r1.1.2.10 src/sys/kern/compat_stub.c cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/modules/compat_30/Makefile cvs rdiff -u -r1.1.2.9 -r1.1.2.10 src/sys/sys/compat_stub.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.