CVS commit: src/sys/arch/x86/x86
Module Name:src Committed By: maxv Date: Fri Jan 12 06:24:43 UTC 2018 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: Remove unused. To generate a diff of this commit: cvs rdiff -u -r1.117 -r1.118 src/sys/arch/x86/x86/intr.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/sparc/sparc
Module Name:src Committed By: mrg Date: Fri Jan 12 06:01:34 UTC 2018 Modified Files: src/sys/arch/sparc/sparc: timer.c timer_sun4m.c timerreg.h Log Message: fix time goes backwards problems on sparc. there are a few things here: - there's a race between reading the limit register (which clears the interrupt and the limit bit) and increasing the latest offset. this can happen easily if an interrupt comes between the read and the call to tickle_tc() that increases the offset (i obverved this actually happening.) - in early boot, sometimes the counter can cycle twice before the tickle happens. to handle these issues, add two workarounds: - if the limit bit isn't set, but the counter value is less than the previous value, and the offset hasn't changed, use the same fixup as if the limit bit was set. this handles the first case above. - add a hard-workaround for never allowing returning a smaller value (except during 32 bit overflow): if the result is less than the last result, add fixups until it does (or until it would overflow.) the first workaround fixes general run-time issues, and the second fixes issues only seen during boot. also expand some comments in timer_sun4m.c and re-enable the sun4m sub-microsecond tmr_ustolim4m() support (but it's always called with at least 'tick' microseconds, so the end result is the same.) To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/arch/sparc/sparc/timer.c cvs rdiff -u -r1.30 -r1.31 src/sys/arch/sparc/sparc/timer_sun4m.c cvs rdiff -u -r1.9 -r1.10 src/sys/arch/sparc/sparc/timerreg.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/sbus
Module Name:src Committed By: mrg Date: Fri Jan 12 05:59:20 UTC 2018 Modified Files: src/sys/dev/sbus: dbri.c Log Message: fix several KASSERT()s and locking in a few places. fixes DIAGNOSTIC kernels and still plays. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sys/dev/sbus/dbri.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
Module Name:src Committed By: nat Date: Fri Jan 12 04:10:10 UTC 2018 Modified Files: src/sys/dev: audio.c Log Message: Allow open of audioctl devices whilst audio is open with the mixer disabled. XXX pullup -8 To generate a diff of this commit: cvs rdiff -u -r1.449 -r1.450 src/sys/dev/audio.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/autofs
Module Name:src Committed By: christos Date: Thu Jan 11 13:44:26 UTC 2018 Modified Files: src/usr.sbin/autofs: automountd.c Log Message: sprinkle __dead, use EXIT_{SUCCESS,FAILURE} To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/autofs/automountd.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
Module Name:src Committed By: maxv Date: Thu Jan 11 13:35:15 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/x86/x86: cpu.c Log Message: Introduce a new svs_page_add function, which can be used to map in the user space a VA from the kernel space. Use it to replace the PDIR_SLOT_PCPU slot: at boot time each CPU creates its own slot which maps only its own pcpu_entry plus the common area (IDT+ LDT). This way, the pcpu areas of the remote CPUs are not mapped in userland. To generate a diff of this commit: cvs rdiff -u -r1.288 -r1.289 src/sys/arch/amd64/amd64/machdep.c cvs rdiff -u -r1.145 -r1.146 src/sys/arch/x86/x86/cpu.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: Thu Jan 11 11:15:35 UTC 2018 Modified Files: src/sys/arch/x86/x86: vm_machdep.c Log Message: The uarea must always be page-aligned. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/sys/arch/x86/x86/vm_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/arch
Module Name:src Committed By: maxv Date: Thu Jan 11 10:38:13 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/x86/include: pmap.h Log Message: Add ist0 to pcpu_entry. To generate a diff of this commit: cvs rdiff -u -r1.287 -r1.288 src/sys/arch/amd64/amd64/machdep.c cvs rdiff -u -r1.73 -r1.74 src/sys/arch/x86/include/pmap.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
Module Name:src Committed By: maxv Date: Thu Jan 11 10:30:26 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/amd64/include: param.h src/sys/arch/x86/x86: intr.c Log Message: Initialize ist0 in cpu_init_tss. On amd64 this is the DDB stack, and it has nothing to do with ci_intrstack. While here, style, and don't forget to pass UVM_KMF_ZERO in uvm_km_alloc. To generate a diff of this commit: cvs rdiff -u -r1.286 -r1.287 src/sys/arch/amd64/amd64/machdep.c cvs rdiff -u -r1.22 -r1.23 src/sys/arch/amd64/include/param.h cvs rdiff -u -r1.116 -r1.117 src/sys/arch/x86/x86/intr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man7
Module Name:src Committed By: pgoyette Date: Thu Jan 11 09:53:55 UTC 2018 Modified Files: src/share/man/man7: sysctl.7 Log Message: kern.module.verbose is a boolean, not an integer. We had it right in the text following the table, but the table itself was wrong. Thanks to martin@ for pointing this out. To generate a diff of this commit: cvs rdiff -u -r1.120 -r1.121 src/share/man/man7/sysctl.7 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: msaitoh Date: Thu Jan 11 09:18:16 UTC 2018 Modified Files: src/sys/arch/x86/x86: cpu.c Log Message: Changing CR4 register may change cpuid values. For example, setting CR4_OSXSAVE sets CPUID2_OSXSAVE. The CPUID2_OSXSAVE is in ci_feat_val[1], so update it after changing CR4. To generate a diff of this commit: cvs rdiff -u -r1.144 -r1.145 src/sys/arch/x86/x86/cpu.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
Module Name:src Committed By: maxv Date: Thu Jan 11 09:00:04 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: locore.S machdep.c src/sys/arch/amd64/include: frameasm.h types.h Log Message: Declare new SVS_* variants: SVS_ENTER_NOSTACK and SVS_LEAVE_NOSTACK. Use SVS_ENTER_NOSTACK in the syscall entry point, and put it before the code that touches curlwp. (curlwp is located in the direct map.) Then, disable __HAVE_CPU_UAREA_ROUTINES (to be removed later). This moves the kernel stack into pmap_kernel(), and not the direct map. That's a change I've always wanted to make: because of the direct map we can't add a redzone on the stack, and basically, a stack overflow can go very far in memory without being detected (as far as erasing all of the system's memory). Finally, unmap the direct map from userland. To generate a diff of this commit: cvs rdiff -u -r1.145 -r1.146 src/sys/arch/amd64/amd64/locore.S cvs rdiff -u -r1.285 -r1.286 src/sys/arch/amd64/amd64/machdep.c cvs rdiff -u -r1.27 -r1.28 src/sys/arch/amd64/include/frameasm.h cvs rdiff -u -r1.53 -r1.54 src/sys/arch/amd64/include/types.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man4
Module Name:src Committed By: wiz Date: Thu Jan 11 08:59:27 UTC 2018 Modified Files: src/share/man/man4: ipsecif.4 Log Message: New sentence, new line. Remove empty macro. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/share/man/man4/ipsecif.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.