CVS commit: src/sys/compat

2018-03-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Mar 18 04:10:39 UTC 2018

Modified Files:
src/sys/compat/common: kern_cpu_60.c
src/sys/compat/sys: cpuio.h

Log Message:
include compat/sys/cpuio.h and multiple include protection.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/compat/common/kern_cpu_60.c
cvs rdiff -u -r1.7 -r1.8 src/sys/compat/sys/cpuio.h

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-03-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Mar 18 02:16:21 UTC 2018

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

Log Message:
Turn KASSERTS that check alignment which are user triggerable into errors.
>From alnsn


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

2018-03-17 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Mar 18 02:05:21 UTC 2018

Modified Files:
src/distrib/sets/lists/modules [pgoyette-compat]: mi
src/sys/compat/common [pgoyette-compat]: Makefile compat_60_mod.c
compat_mod.c compat_mod.h files.common kern_time_60.c
src/sys/modules [pgoyette-compat]: Makefile
src/sys/modules/compat_60 [pgoyette-compat]: Makefile

Log Message:
Move closer to a complete compat_60 module.  All that remains is some
tty stuff and some ccd ioctl()s.


To generate a diff of this commit:
cvs rdiff -u -r1.114.2.3 -r1.114.2.4 src/distrib/sets/lists/modules/mi
cvs rdiff -u -r1.63 -r1.63.2.1 src/sys/compat/common/Makefile
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/compat/common/compat_60_mod.c
cvs rdiff -u -r1.24.14.14 -r1.24.14.15 src/sys/compat/common/compat_mod.c
cvs rdiff -u -r1.1.42.3 -r1.1.42.4 src/sys/compat/common/compat_mod.h
cvs rdiff -u -r1.1.2.11 -r1.1.2.12 src/sys/compat/common/files.common
cvs rdiff -u -r1.1 -r1.1.38.1 src/sys/compat/common/kern_time_60.c
cvs rdiff -u -r1.202.2.7 -r1.202.2.8 src/sys/modules/Makefile
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/modules/compat_60/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

2018-03-17 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Mar 18 01:17:29 UTC 2018

Modified Files:
src/sys/compat/common [pgoyette-compat]: kern_cpu_60.c
src/sys/compat/sys [pgoyette-compat]: cpuio.h
src/sys/kern [pgoyette-compat]: kern_cpu.c
src/sys/modules/compat [pgoyette-compat]: Makefile

Log Message:
Import from -current the MD glue code for compat cpu_ucode


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/compat/common/kern_cpu_60.c
cvs rdiff -u -r1.5.16.2 -r1.5.16.3 src/sys/compat/sys/cpuio.h
cvs rdiff -u -r1.71.16.7 -r1.71.16.8 src/sys/kern/kern_cpu.c
cvs rdiff -u -r1.14.14.3 -r1.14.14.4 src/sys/modules/compat/Makefile

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



CVS commit: src/sys

2018-03-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Mar 18 00:51:46 UTC 2018

Modified Files:
src/sys/compat/common: kern_cpu_60.c
src/sys/compat/sys: cpuio.h
src/sys/kern: kern_cpu.c
src/sys/modules/compat: Makefile

Log Message:
finish MD glue for compat ucode module.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/compat/common/kern_cpu_60.c
cvs rdiff -u -r1.6 -r1.7 src/sys/compat/sys/cpuio.h
cvs rdiff -u -r1.72 -r1.73 src/sys/kern/kern_cpu.c
cvs rdiff -u -r1.14 -r1.15 src/sys/modules/compat/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

2018-03-17 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Mar 18 00:35:26 UTC 2018

Modified Files:
src/sys/arch/x86/conf [pgoyette-compat]: files.x86
src/sys/arch/x86/x86 [pgoyette-compat]: cpu_ucode.c
src/sys/arch/xen/conf [pgoyette-compat]: files.xen
Added Files:
src/sys/arch/x86/x86 [pgoyette-compat]: compat_60_cpu_ucode.c

Log Message:
Import more christos@ changes from -current


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.97.2.1 src/sys/arch/x86/conf/files.x86
cvs rdiff -u -r0 -r1.1.2.2 src/sys/arch/x86/x86/compat_60_cpu_ucode.c
cvs rdiff -u -r1.5.16.3 -r1.5.16.4 src/sys/arch/x86/x86/cpu_ucode.c
cvs rdiff -u -r1.165.2.1 -r1.165.2.2 src/sys/arch/xen/conf/files.xen

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



CVS commit: src/sys/arch

2018-03-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Mar 18 00:17:18 UTC 2018

Modified Files:
src/sys/arch/x86/conf: files.x86
src/sys/arch/x86/x86: cpu_ucode.c
src/sys/arch/xen/conf: files.xen
Added Files:
src/sys/arch/x86/x86: compat_60_cpu_ucode.c

Log Message:
Separate the compat code in its own file to facilitate module building.


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 src/sys/arch/x86/conf/files.x86
cvs rdiff -u -r0 -r1.1 src/sys/arch/x86/x86/compat_60_cpu_ucode.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/x86/x86/cpu_ucode.c
cvs rdiff -u -r1.167 -r1.168 src/sys/arch/xen/conf/files.xen

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/compat/sys

2018-03-17 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Mar 17 23:54:33 UTC 2018

Modified Files:
src/sys/compat/sys [pgoyette-compat]: cpuio.h

Log Message:
Add copyright, protect against double-inclusion


To generate a diff of this commit:
cvs rdiff -u -r1.5.16.1 -r1.5.16.2 src/sys/compat/sys/cpuio.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/sysinst/arch/sgimips

2018-03-17 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Mar 17 22:27:04 UTC 2018

Modified Files:
src/usr.sbin/sysinst/arch/sgimips: md.c

Log Message:
Official builds now append a timestamp to the kernel config name, so we
can no longer rely on matching an exact name like "(INSTALL32_IP3x)".

Strip the trailing ) from the version strings checked so sysinst will
install the correct bootloader and kernel again.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/arch/sgimips/md.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

2018-03-17 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Mar 17 21:37:53 UTC 2018

Modified Files:
src/sys/arch/x86/include [pgoyette-compat]: cpu_ucode.h
src/sys/arch/x86/x86 [pgoyette-compat]: cpu_ucode.c cpu_ucode_amd.c
cpu_ucode_intel.c
src/sys/arch/xen/conf [pgoyette-compat]: files.xen
src/sys/compat/common [pgoyette-compat]: Makefile.sysio compat_mod.c
src/sys/compat/sys [pgoyette-compat]: cpuio.h
src/sys/kern [pgoyette-compat]: kern_cpu.c
Added Files:
src/sys/compat/common [pgoyette-compat]: kern_cpu_60.c
Removed Files:
src/sys/arch/xen/xen [pgoyette-compat]: xen_ucode.c

Log Message:
Import christos's changes for the compat_60 cpu_ucode stuff


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.3.36.1 src/sys/arch/x86/include/cpu_ucode.h
cvs rdiff -u -r1.5.16.2 -r1.5.16.3 src/sys/arch/x86/x86/cpu_ucode.c
cvs rdiff -u -r1.7 -r1.7.28.1 src/sys/arch/x86/x86/cpu_ucode_amd.c
cvs rdiff -u -r1.12 -r1.12.8.1 src/sys/arch/x86/x86/cpu_ucode_intel.c
cvs rdiff -u -r1.165 -r1.165.2.1 src/sys/arch/xen/conf/files.xen
cvs rdiff -u -r1.5 -r0 src/sys/arch/xen/xen/xen_ucode.c
cvs rdiff -u -r1.7.18.3 -r1.7.18.4 src/sys/compat/common/Makefile.sysio
cvs rdiff -u -r1.24.14.13 -r1.24.14.14 src/sys/compat/common/compat_mod.c
cvs rdiff -u -r0 -r1.1.2.2 src/sys/compat/common/kern_cpu_60.c
cvs rdiff -u -r1.5 -r1.5.16.1 src/sys/compat/sys/cpuio.h
cvs rdiff -u -r1.71.16.6 -r1.71.16.7 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.



CVS commit: src/sys/arch/xen

2018-03-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Mar 17 20:03:01 UTC 2018

Modified Files:
src/sys/arch/xen/conf: files.xen
Removed Files:
src/sys/arch/xen/xen: xen_ucode.c

Log Message:
dedup microcode handling.


To generate a diff of this commit:
cvs rdiff -u -r1.166 -r1.167 src/sys/arch/xen/conf/files.xen
cvs rdiff -u -r1.6 -r0 src/sys/arch/xen/xen/xen_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/x86/x86

2018-03-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Mar 17 20:02:32 UTC 2018

Modified Files:
src/sys/arch/x86/x86: cpu_ucode.c

Log Message:
dedup and handle XEN here.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 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/dev/usb

2018-03-17 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat Mar 17 19:37:49 UTC 2018

Modified Files:
src/sys/dev/usb: usbdevs.h usbdevs_data.h

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.737 -r1.738 src/sys/dev/usb/usbdevs.h
cvs rdiff -u -r1.738 -r1.739 src/sys/dev/usb/usbdevs_data.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/usb

2018-03-17 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat Mar 17 19:37:11 UTC 2018

Modified Files:
src/sys/dev/usb: usbdevs

Log Message:
add LAN78xx family (Raspberry Pi 3B+) entries - PR kern/53105


To generate a diff of this commit:
cvs rdiff -u -r1.745 -r1.746 src/sys/dev/usb/usbdevs

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-03-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Mar 17 19:03:25 UTC 2018

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

Log Message:
move the compat code in compat.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 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.



CVS commit: src/sys/compat

2018-03-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Mar 17 19:00:23 UTC 2018

Modified Files:
src/sys/compat/common: Makefile.sysio compat_mod.c
src/sys/compat/sys: cpuio.h
Added Files:
src/sys/compat/common: kern_cpu_60.c

Log Message:
redo the cpu ucode compat code.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/compat/common/Makefile.sysio
cvs rdiff -u -r1.25 -r1.26 src/sys/compat/common/compat_mod.c
cvs rdiff -u -r0 -r1.1 src/sys/compat/common/kern_cpu_60.c
cvs rdiff -u -r1.5 -r1.6 src/sys/compat/sys/cpuio.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

2018-03-17 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Sat Mar 17 18:34:09 UTC 2018

Modified Files:
src/sys/arch/arm/broadcom: bcm283x_platform.c files.bcm2835
src/sys/arch/arm/imx: files.imx51 files.imx6 files.imx7 imx51_axi.c
imx51_ipuv3.c imx51_usb.c imx51var.h imx6_axi.c imx6_usb.c
imx6var.h imx7_axi.c imx7_usb.c imx7var.h
src/sys/arch/arm/nvidia: files.tegra tegra_platform.c
src/sys/arch/arm/samsung: exynos_platform.c files.exynos
src/sys/arch/arm/sunxi: files.sunxi sunxi_platform.c
src/sys/arch/arm/ti: files.ti ti_platform.c
src/sys/arch/arm/vexpress: files.vexpress vexpress_platform.c
Added Files:
src/sys/arch/arm/arm: arm_generic_dma.c
Removed Files:
src/sys/arch/arm/arm32: armv7_generic_dma.c

Log Message:
move from sys/arch/arm/arm32/armv7_generic_dma.c to 
sys/arch/arm/arm/arm_generic_dma.c,
and change variable name from armv7_generic_dma_tag to arm_generic_dma_tag

no functional change. (preliminary changes for merging aarch64)


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/arm/arm_generic_dma.c
cvs rdiff -u -r1.1 -r0 src/sys/arch/arm/arm32/armv7_generic_dma.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/broadcom/bcm283x_platform.c
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/arm/broadcom/files.bcm2835
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/arm/imx/files.imx51
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/arm/imx/files.imx6
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/imx/files.imx7 \
src/sys/arch/arm/imx/imx51var.h
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/imx/imx51_axi.c \
src/sys/arch/arm/imx/imx51_ipuv3.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/imx/imx51_usb.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/imx/imx6_axi.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/imx/imx6_usb.c \
src/sys/arch/arm/imx/imx7_axi.c src/sys/arch/arm/imx/imx7_usb.c \
src/sys/arch/arm/imx/imx7var.h
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/imx/imx6var.h
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/arm/nvidia/files.tegra
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/arm/nvidia/tegra_platform.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/samsung/exynos_platform.c
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/arm/samsung/files.exynos
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/arm/sunxi/files.sunxi
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/arm/sunxi/sunxi_platform.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/ti/files.ti \
src/sys/arch/arm/ti/ti_platform.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/vexpress/files.vexpress
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/vexpress/vexpress_platform.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/xen/xen

2018-03-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Mar 17 18:22:23 UTC 2018

Modified Files:
src/sys/arch/xen/xen: xen_ucode.c

Log Message:
sync with x86; the version code could be merged.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/xen/xen/xen_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

2018-03-17 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Mar 17 17:12:39 UTC 2018

Modified Files:
src/sys/arch/amd64/amd64: machdep.c

Log Message:
Add missing opt_svs.h.


To generate a diff of this commit:
cvs rdiff -u -r1.301 -r1.302 src/sys/arch/amd64/amd64/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/x86

2018-03-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Mar 17 15:56:32 UTC 2018

Modified Files:
src/sys/arch/x86/include: cpu_ucode.h
src/sys/arch/x86/x86: cpu_ucode.c cpu_ucode_amd.c cpu_ucode_intel.c

Log Message:
tuck in all the compat microcode code in one place.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x86/include/cpu_ucode.h
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x86/x86/cpu_ucode.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/x86/x86/cpu_ucode_amd.c
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/x86/x86/cpu_ucode_intel.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/sgimips/dev

2018-03-17 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Mar 17 13:14:27 UTC 2018

Modified Files:
src/sys/arch/sgimips/dev: crmfb.c

Log Message:
Add support for overriding the video mode by setting an ARCS environment
variable.

If the "crmfb_mode" environment variable is set, treat it as a mode
string in the form WIDTHxHEIGHT[@REFRESH] and generate monitor timings
using the VESA GTF formula. If set, this overrides the EDID preferred
mode.


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/sgimips/dev/crmfb.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

2018-03-17 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Mar 17 11:32:15 UTC 2018

Modified Files:
src/doc [netbsd-8]: CHANGES-8.0

Log Message:
Ticket #636 - #638


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.145 -r1.1.2.146 src/doc/CHANGES-8.0

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

2018-03-17 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Mar 17 11:26:44 UTC 2018

Modified Files:
src/sys/net [netbsd-8]: if_tun.c

Log Message:
Pull up following revision(s) (requested by tih in ticket #638):
sys/net/if_tun.c: revision 1.143

Add packet filtering to tun(4) interfaces.

Calls to pfil_run_hooks() were missing in if_tun.c.  This meant that
filtering configuration could be added to e.g. /etc/npf.conf, but
would be ignored, because the filter never saw the packets.  This
change adds the required calls.

While here, correct the return value from tun_output(): it's been
returning 0 regardless of any error condition present, but will now
correctly propagate such information upward.

Thanks to maxv for guidance!
OK: christos, martin


To generate a diff of this commit:
cvs rdiff -u -r1.139.2.2 -r1.139.2.3 src/sys/net/if_tun.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

2018-03-17 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Mar 17 11:23:18 UTC 2018

Modified Files:
src/sys/arch/amd64/amd64 [netbsd-8]: process_machdep.c
src/sys/arch/amd64/include [netbsd-8]: cpu.h types.h
src/sys/arch/x86/x86 [netbsd-8]: vm_machdep.c

Log Message:
Pull up the following revisions, requested by maxv in ticket #637:

sys/arch/amd64/amd64/process_machdep.c  1.33,1.34,1.35 (patch)
sys/arch/amd64/include/types.h  1.55 (patch)
sys/arch/x86/x86/vm_machdep.c   1.33 (patch)

- Reduce the number of places where segment register faults can
  occur.
- Remove __HAVE_CPU_UAREA_ROUTINES.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.32.6.1 src/sys/arch/amd64/amd64/process_machdep.c
cvs rdiff -u -r1.60 -r1.60.40.1 src/sys/arch/amd64/include/cpu.h
cvs rdiff -u -r1.52.6.1 -r1.52.6.2 src/sys/arch/amd64/include/types.h
cvs rdiff -u -r1.28.6.1 -r1.28.6.2 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: [netbsd-8] src/sys/kern

2018-03-17 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Mar 17 11:19:27 UTC 2018

Modified Files:
src/sys/kern [netbsd-8]: kern_exec.c

Log Message:
Pull up the following revision, requested by maxv as part of ticket #637:

sys/kern/kern_exec.c1.456

Fix off-by-one, we don't want the entry point to equal the maximum
address.


To generate a diff of this commit:
cvs rdiff -u -r1.442.4.2 -r1.442.4.3 src/sys/kern/kern_exec.c

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



CVS commit: src/external/bsd/mdocml/include

2018-03-17 Thread Takeshi Nakayama
Module Name:src
Committed By:   nakayama
Date:   Sat Mar 17 11:06:48 UTC 2018

Modified Files:
src/external/bsd/mdocml/include: config.h

Log Message:
Disable wchar_t support since our C library does not treat wchar_t
as UCS-4 in the case of non-UTF-8 locales.

This feature was controlled by USE_WCHAR and disabled on NetBSD 7.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/mdocml/include/config.h

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



CVS commit: src/sbin/nvmectl

2018-03-17 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat Mar 17 11:07:26 UTC 2018

Modified Files:
src/sbin/nvmectl: devlist.c identify.c logpage.c nvmectl.c nvmectl.h
perftest.c power.c reset.c wdc.c

Log Message:
use setprogname()/getprogname(), do not hardcode the prognam name in fixed
strings


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sbin/nvmectl/devlist.c \
src/sbin/nvmectl/identify.c src/sbin/nvmectl/perftest.c \
src/sbin/nvmectl/power.c
cvs rdiff -u -r1.4 -r1.5 src/sbin/nvmectl/logpage.c \
src/sbin/nvmectl/nvmectl.c src/sbin/nvmectl/nvmectl.h
cvs rdiff -u -r1.1 -r1.2 src/sbin/nvmectl/reset.c src/sbin/nvmectl/wdc.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/npf

2018-03-17 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Mar 17 10:42:24 UTC 2018

Modified Files:
src/sys/net/npf: npf_sendpkt.c

Log Message:
Set the scopes before calling icmp6_error(). This fixes a bug similar to
the one I fixed in rev1.17: since the scopes were not set the packet was
never actually sent.

Tested with wireshark, now the ICMPv6 reply is correctly sent, as
expected.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/net/npf/npf_sendpkt.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/npf

2018-03-17 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Mar 17 10:21:09 UTC 2018

Modified Files:
src/sys/net/npf: npf_inet.c

Log Message:
Fix the IPv6 payload computation in npf_tcpsaw. It was incorrect, and this
caused the "return-rst" rules to send back an RST with the wrong ACK when
the received SYN had an IPv6 option.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/net/npf/npf_inet.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/ic

2018-03-17 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat Mar 17 09:45:44 UTC 2018

Modified Files:
src/sys/dev/ic: nvme.c

Log Message:
also remove now duplicate nvme_ccb_put() call from nvme_get_number_of_queues()


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/dev/ic/nvme.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/ic

2018-03-17 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat Mar 17 09:36:32 UTC 2018

Modified Files:
src/sys/dev/ic: nvme.c

Log Message:
fix passthrough command usage also in nvme_get_number_of_queues(), fixes
memory corruption and possible panic on boot

PR kern/53059


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/dev/ic/nvme.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/dev/ic

2018-03-17 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Mar 17 08:11:18 UTC 2018

Modified Files:
src/sys/dev/ic [netbsd-8]: nvme.c nvmevar.h

Log Message:
Pull up following revision(s) (requested by jdolecek in ticket #636):
sys/dev/ic/nvme.c: revision 1.33
sys/dev/ic/nvmevar.h: revision 1.14
stop using q_nccbs_avail for deciding whether there are available ccbs;
no need to maintain a counter _and_ q_ccb_list
this fixes deadlock when all ccbs happen to be taken before completion
interrupt - nvme_q_complete() increased q_nccbs_avail only after
processing all the completed commands, by then there was nothing
left to actually kick the disk queue again into action
this also fixes ccb leak on command errors e.g. with bus_dmamem_alloc()
or bus_dmamel_load() - q_nccbs_avail was never decreased on the error path
fixes PR kern/52769 by Martin Husemann, thanks to Paul Goyette
for testing


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.30.2.1 src/sys/dev/ic/nvme.c
cvs rdiff -u -r1.13 -r1.13.6.1 src/sys/dev/ic/nvmevar.h

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



CVS commit: src/doc

2018-03-17 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sat Mar 17 07:31:36 UTC 2018

Modified Files:
src/doc: 3RDPARTY

Log Message:
binutils-2.30 out


To generate a diff of this commit:
cvs rdiff -u -r1.1504 -r1.1505 src/doc/3RDPARTY

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