svn commit: r331989 - head/sys/dev/extres/regulator

2018-04-04 Thread Emmanuel Vadot
Author: manu Date: Wed Apr 4 06:44:24 2018 New Revision: 331989 URL: https://svnweb.freebsd.org/changeset/base/331989 Log: regulator: Disable unused regulator bootloaders such as u-boot might enable regulators, or simply regulators could be enabled by default by the PMIC, even if we don'

svn commit: r331995 - in head/sys/arm: conf mv mv/armada38x mv/armadaxp

2018-04-04 Thread Marcin Wojtas
Author: mw Date: Wed Apr 4 08:40:49 2018 New Revision: 331995 URL: https://svnweb.freebsd.org/changeset/base/331995 Log: Use PLATFORM for initializing Marvell ArmadaXP and Armada38X Spliting armv5 and armv7 machdep is necessary for adding Armada38X and ArmadaXP to GENERIC config. PLATF

svn commit: r332002 - in head/sys/arm/mv: . armada

2018-04-04 Thread Marcin Wojtas
Author: mw Date: Wed Apr 4 10:14:43 2018 New Revision: 332002 URL: https://svnweb.freebsd.org/changeset/base/332002 Log: Make Marvell Armada reset registers usage generic Define reset registers for both Armada38X and ArmadaXP and choose proper one during runtime based on information from

svn commit: r332003 - head/sys/dev/mlx5/mlx5_en

2018-04-04 Thread Hans Petter Selasky
Author: hselasky Date: Wed Apr 4 10:45:06 2018 New Revision: 332003 URL: https://svnweb.freebsd.org/changeset/base/332003 Log: Bump driver version number in mlx5en(4). MFC after:1 week Sponsored by: Mellanox Technologies Modified: head/sys/dev/mlx5/mlx5_en/mlx5_en_main.c Modified

svn commit: r332011 - in head/sys/arm/mv: . armada

2018-04-04 Thread Marcin Wojtas
Author: mw Date: Wed Apr 4 12:30:52 2018 New Revision: 332011 URL: https://svnweb.freebsd.org/changeset/base/332011 Log: Make Marvell armv7 timer and wdt registers definitions common Define timers registers for both SoCs and choose proper one during runtime based on information from FDT.

svn commit: r332014 - head/sys/arm/mv

2018-04-04 Thread Marcin Wojtas
Author: mw Date: Wed Apr 4 12:36:55 2018 New Revision: 332014 URL: https://svnweb.freebsd.org/changeset/base/332014 Log: Add support of PCI_RES_BUS to Marvell PCI driver GENERIC ARM config use NEW_PCIB driver (https://wiki.freebsd.org/NEW_PCIB). To satisfy it, allocation and deallocation

svn commit: r332015 - in head/sys: arm/mv dts/arm

2018-04-04 Thread Marcin Wojtas
Author: mw Date: Wed Apr 4 12:41:42 2018 New Revision: 332015 URL: https://svnweb.freebsd.org/changeset/base/332015 Log: Match Marvell Armada38X PCI compatible with Linux In Linux FDT pcie does not have compatible string. Configuration of windows in mv_common was based on fdt compatible.

svn commit: r332016 - head/sys/dev/ofw

2018-04-04 Thread Marcin Wojtas
Author: mw Date: Wed Apr 4 12:47:41 2018 New Revision: 332016 URL: https://svnweb.freebsd.org/changeset/base/332016 Log: Add api for creating resource list based on 'assigned-addresses' According to device tree binding 'assigned-addresses' can refer to PCIE MMIO register space. New funct

svn commit: r332018 - in head/contrib/opencsd: . decoder decoder/include decoder/source

2018-04-04 Thread Ruslan Bukin
Author: br Date: Wed Apr 4 12:55:31 2018 New Revision: 332018 URL: https://svnweb.freebsd.org/changeset/base/332018 Log: Import OpenCSD -- an ARM CoreSight(tm) Trace Decode Library. Sponsored by: DARPA, AFRL Added: head/contrib/opencsd/ head/contrib/opencsd/decoder/ head/contrib/ope

svn commit: r332017 - in head/sys: arm/mv dts/arm

2018-04-04 Thread Marcin Wojtas
Author: mw Date: Wed Apr 4 12:54:18 2018 New Revision: 332017 URL: https://svnweb.freebsd.org/changeset/base/332017 Log: Change reg in Marvell Armada38X pcie FDT Ranges in pcie-controller are unused, so could be changed to match Linux device tree represntation. Same with interrupt-cells

svn commit: r332019 - in head/sys: arm/mv dts/arm

2018-04-04 Thread Marcin Wojtas
Author: mw Date: Wed Apr 4 13:01:14 2018 New Revision: 332019 URL: https://svnweb.freebsd.org/changeset/base/332019 Log: Match Marvell Armada38X PCIE ranges in dts with Linux If driver cannot determine ranges based on fdt, it will calculate them based on number and type of current port.

svn commit: r332020 - head/sys/arm/mv

2018-04-04 Thread Marcin Wojtas
Author: mw Date: Wed Apr 4 13:08:51 2018 New Revision: 332020 URL: https://svnweb.freebsd.org/changeset/base/332020 Log: Introduce port debouncing mechanism in mv_gpio driver This patch introduces gpio debouncing mechanism with fixed memory allocation in critical section. When you p

svn commit: r332021 - head/sys/arm/mv

2018-04-04 Thread Marcin Wojtas
Author: mw Date: Wed Apr 4 13:12:49 2018 New Revision: 332021 URL: https://svnweb.freebsd.org/changeset/base/332021 Log: Improve interrupt and resource allocation in Marvell GPIO driver This patch adds support for more than one interrupts in GPIO controller. It reads necessary informatio

svn commit: r332024 - head/sys/arm/mv

2018-04-04 Thread Marcin Wojtas
Author: mw Date: Wed Apr 4 13:20:29 2018 New Revision: 332024 URL: https://svnweb.freebsd.org/changeset/base/332024 Log: Enable Marvell gpio driver to work with many controllers This patch moves all global data structures into mv_gpio_softc, and puts device_t parameter to functions calls

svn commit: r332026 - in head/sys: arm/mv dev/fdt

2018-04-04 Thread Andrew Turner
Author: andrew Date: Wed Apr 4 13:37:59 2018 New Revision: 332026 URL: https://svnweb.freebsd.org/changeset/base/332026 Log: Remove fdt_pm_is_enabled as it's Marvell specific. Replace the only call to it with a call to the helper function fdt_pm_is_enabled would call. Sponsored by: DARPA

svn commit: r332033 - in head: etc/mtree lib lib/libopencsd share/mk

2018-04-04 Thread Ruslan Bukin
Author: br Date: Wed Apr 4 14:31:56 2018 New Revision: 332033 URL: https://svnweb.freebsd.org/changeset/base/332033 Log: Add new shared library -- libopencsd. OpenCSD is an ARM CoreSight(tm) trace packets decoder. - Connect libopencsd to the arm64 build. - Install opencsd headers to

svn commit: r332034 - head/sys/compat/linux

2018-04-04 Thread Ed Maste
Author: emaste Date: Wed Apr 4 14:41:48 2018 New Revision: 332034 URL: https://svnweb.freebsd.org/changeset/base/332034 Log: linux_ioctl_hdio: fix kernel memory disclosure Stack-allocated struct linux_hd_big_geometry has undeclared padding copied to userland. admbugs: 765 Rep

svn commit: r332035 - head/include

2018-04-04 Thread Pedro F. Giffuni
Author: pfg Date: Wed Apr 4 15:16:04 2018 New Revision: 332035 URL: https://svnweb.freebsd.org/changeset/base/332035 Log: pthread.h: minor indentation cleanups. No functional change. X-MFC with: r331969 Modified: head/include/pthread.h Modified: head/include/pthread.h ==

svn commit: r332042 - head/sys/compat/linux

2018-04-04 Thread Ed Maste
Author: emaste Date: Wed Apr 4 19:58:25 2018 New Revision: 332042 URL: https://svnweb.freebsd.org/changeset/base/332042 Log: Fix kernel memory disclosure in linux_ioctl_socket strlcpy is used to copy a string into a buffer to be copied to userland, previously leaving uninitialized data a

svn commit: r332043 - head/share/man/man9

2018-04-04 Thread Mark Johnston
Author: markj Date: Wed Apr 4 20:15:41 2018 New Revision: 332043 URL: https://svnweb.freebsd.org/changeset/base/332043 Log: Typo. MFC after:3 days Modified: head/share/man/man9/timeout.9 Modified: head/share/man/man9/timeout.9 ===

svn commit: r332045 - head/sys/netinet

2018-04-04 Thread Ed Maste
Author: emaste Date: Wed Apr 4 21:12:35 2018 New Revision: 332045 URL: https://svnweb.freebsd.org/changeset/base/332045 Log: Fix kernel memory disclosure in tcp_ctloutput strcpy was used to copy a string into a buffer copied to userland, which left uninitialized data after the terminatin

svn commit: r332046 - head/sys/dev/spibus

2018-04-04 Thread Ian Lepore
Author: ian Date: Wed Apr 4 21:19:33 2018 New Revision: 332046 URL: https://svnweb.freebsd.org/changeset/base/332046 Log: Add a missing MODULE_DEPEND(). Modified: head/sys/dev/spibus/spigen.c Modified: head/sys/dev/spibus/spigen.c

svn commit: r332047 - in head/sys: dev/netmap net

2018-04-04 Thread Vincenzo Maffione
Author: vmaffione Date: Wed Apr 4 21:31:12 2018 New Revision: 332047 URL: https://svnweb.freebsd.org/changeset/base/332047 Log: netmap: align if_ptnet guest driver to the upstream code (commit 0e15788) The change upgrades the driver to use the split Communication Status Block (CSB) forma

svn commit: r332049 - head

2018-04-04 Thread Brooks Davis
getfsstat statfs -.for f in fstat fstatat fstatfs getdirentries getfsstat ptrace statfs +# 20180404 r332048 sigreturn +.for f in fstat fstatat fstatfs getdirentries getfsstat ptrace sigreturn statfs .if exists(${OBJTOP}/lib/libc/.depend.${f}.o) @if egrep -qw '${f}

svn commit: r332048 - in head/lib/libc: aarch64/sys amd64/sys arm/sys i386/sys riscv/sys

2018-04-04 Thread Brooks Davis
Author: brooks Date: Wed Apr 4 22:45:08 2018 New Revision: 332048 URL: https://svnweb.freebsd.org/changeset/base/332048 Log: Remove architecture specific sigreturn.S files. All of these files are identical (modulo license blocks and VCS IDs) to the files generated by lib/libc/sys/Makefil

svn commit: r332050 - head/sys/dev/cxgbe

2018-04-04 Thread Navdeep Parhar
Author: np Date: Wed Apr 4 22:52:24 2018 New Revision: 332050 URL: https://svnweb.freebsd.org/changeset/base/332050 Log: cxgbe(4): Always display an error message if SIOCSIFFLAGS will leave IFF_UP and IFF_DRV_RUNNING out of sync. ifhwioctl in the kernel pays no attention to the return code

svn commit: r332055 - head/sys/ufs/ffs

2018-04-04 Thread Kirk McKusick
Author: mckusick Date: Thu Apr 5 00:32:01 2018 New Revision: 332055 URL: https://svnweb.freebsd.org/changeset/base/332055 Log: Renumber soft-update types starting at 1 instead of 0 to avoid confusion of zero'ed memory appearing to have a valid soft-update type. Also correct some comments

svn commit: r332057 - head

2018-04-04 Thread Ed Maste
Syscalls -# 20160829 r305012 ptrace # 20170624 r320278 fstat fstatat fstatfs getdirentries getfsstat statfs # 20180404 r332048 sigreturn -.for f in fstat fstatat fstatfs getdirentries getfsstat ptrace sigreturn statfs +.for f in fstat fstatat fstatfs getdirentries getfsstat sigreturn statfs